mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-12 00:59:52 +01:00
119 lines
4.5 KiB
JSON
119 lines
4.5 KiB
JSON
{
|
|
"name": "telegram-t",
|
|
"version": "1.11.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "cross-env APP_ENV=development webpack serve --env mode=dev --env isDevServer --mode development --config ./webpack.config.js",
|
|
"build": "webpack --mode production",
|
|
"build:staging": "rm -rf dist/ && APP_ENV=staging npm run build && ./deploy/copy_to_dist.sh",
|
|
"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",
|
|
"deploy:production": "npm run build:production && git add -A && git commit -a -m '[Build]' --no-verify && git push",
|
|
"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",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"gramjs:tl": "node ./src/lib/gramjs/tl/generateModules.js",
|
|
"gramjs:lint:fix": "eslint ./src/lib/gramjs --ignore-path=src/lib/gramjs/.eslintignore --fix",
|
|
"test": "cross-env APP_ENV=test jest --verbose --forceExit",
|
|
"prepare": "husky install"
|
|
},
|
|
"engines": {
|
|
"node": "^12.13",
|
|
"npm": "^6.12"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "tsc && lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": "eslint --fix --ignore-path=src/lib/gramjs/.eslintignore"
|
|
},
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@cryptography/aes": "^0.1.1",
|
|
"async-mutex": "^0.3.1",
|
|
"big-integer": "github:painor/BigInteger.js",
|
|
"croppie": "^2.6.5",
|
|
"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",
|
|
"qr-creator": "^1.0.0",
|
|
"websocket": "^1.0.34"
|
|
}
|
|
}
|