telegram-tt/package.json

119 lines
4.5 KiB
JSON
Raw Normal View History

2021-04-09 12:29:59 +02:00
{
"name": "telegram-t",
2021-08-21 12:33:09 +02:00
"version": "1.11.0",
2021-04-09 12:29:59 +02:00
"description": "",
"main": "index.js",
"scripts": {
2021-08-03 18:02:56 +02:00
"dev": "cross-env APP_ENV=development webpack serve --env mode=dev --env isDevServer --mode development --config ./webpack.config.js",
"build": "webpack --mode production",
2021-04-09 12:29:59 +02:00
"build:staging": "rm -rf dist/ && APP_ENV=staging npm run build && ./deploy/copy_to_dist.sh",
2021-06-14 19:04:10 +02:00
"build:production": "npm i && rm -rf dist/ && APP_VERSION=$(npm run inc_version --silent) APP_ENV=production npm run build && ./deploy/copy_to_dist.sh",
2021-06-21 15:41:19 +02:00
"deploy:production": "npm run build:production && git add -A && git commit -a -m '[Build]' --no-verify && git push",
2021-06-14 18:45:39 +02:00
"inc_version": "echo $((`cat .patch-version` + 1)) > .patch-version && echo \"$(node -p -e \"require('./package.json').version.match(/^\\d+\\.\\d+/)[0]\").$(cat .patch-version)\"",
"perf:serve": "cross-env APP_ENV=perf parcel src/index-perf.html",
"lint": "eslint . --ext .ts,.tsx --ignore-pattern src/lib/gramjs",
2021-05-08 21:41:25 +02:00
"lint:fix": "npm run lint -- --fix",
2021-04-09 12:29:59 +02:00
"gramjs:tl": "node ./src/lib/gramjs/tl/generateModules.js",
2021-05-08 21:41:25 +02:00
"gramjs:lint:fix": "eslint ./src/lib/gramjs --ignore-path=src/lib/gramjs/.eslintignore --fix",
2021-08-17 00:54:14 +02:00
"test": "cross-env APP_ENV=test jest --verbose --forceExit",
"prepare": "husky install"
2021-04-09 12:29:59 +02:00
},
"engines": {
"node": "^12.13",
"npm": "^6.12"
2021-04-09 12:29:59 +02:00
},
"husky": {
"hooks": {
2021-07-15 20:50:22 +02:00
"pre-commit": "tsc && lint-staged"
2021-04-09 12:29:59 +02:00
}
},
"lint-staged": {
2021-07-15 20:50:22 +02:00
"*.{ts,tsx,js}": "eslint --fix --ignore-path=src/lib/gramjs/.eslintignore"
2021-04-09 12:29:59 +02:00
},
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@peculiar/webcrypto": "^1.1.7",
"@testing-library/jest-dom": "^5.14.1",
"@types/croppie": "^2.6.1",
"@types/css-font-loading-module": "0.0.6",
"@types/dom-mediacapture-record": "^1.0.10",
"@types/jest": "^27.0.1",
"@types/react": "^17.0.17",
"@types/react-dom": "^17.0.9",
"@types/resize-observer-browser": "^0.1.6",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"@webpack-cli/serve": "^1.5.1",
"autoprefixer": "^10.3.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
2021-04-09 12:29:59 +02:00
"browserlist": "^1.0.1",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"css-loader": "^6.2.0",
"css-minimizer-webpack-plugin": "^3.0.2",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-react-app": "^6.0.0",
"eslint-import-resolver-webpack": "^0.13.1",
"eslint-plugin-flowtype": "^5.9.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
2021-04-09 12:29:59 +02:00
"eslint-plugin-no-async-without-await": "^1.2.0",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
2021-04-09 12:29:59 +02:00
"eslint-plugin-teactn": "github:korenskoy/eslint-plugin-teactn#8fbd2b9",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.2",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^11.1.2",
"mini-css-extract-plugin": "^2.2.0",
"node-sass": "^6.0.1",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"postcss-loader": "^6.1.1",
"postcss-modules": "^4.2.2",
"raw-loader": "^4.0.2",
"react": "^17.0.2",
2021-04-09 12:29:59 +02:00
"replace-in-file": "^6.2.0",
"sass": "^1.37.5",
"sass-loader": "^12.1.0",
"style-loader": "^3.2.1",
"terser": "^5.7.1",
"terser-webpack-plugin": "^5.1.4",
"ts-node": "^10.2.0",
"typescript": "^4.3.5",
"url-loader": "^4.1.1",
"webpack": "^5.50.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.8.0"
2021-04-09 12:29:59 +02:00
},
"dependencies": {
"@cryptography/aes": "^0.1.1",
"async-mutex": "^0.3.1",
"big-integer": "github:painor/BigInteger.js",
"croppie": "^2.6.5",
2021-08-19 02:16:26 +02:00
"emoji-data-ios": "github:korenskoy/emoji-data-ios#162c821",
"events": "^3.3.0",
"idb-keyval": "^5.1.3",
"opus-recorder": "github:Ajaxy/opus-recorder",
"os-browserify": "^0.3.0",
"pako": "^2.0.4",
"path-browserify": "^1.0.1",
2021-04-09 12:29:59 +02:00
"qr-creator": "^1.0.0",
"websocket": "^1.0.34"
2021-04-09 12:29:59 +02:00
}
}