telegram-tt/package.json

117 lines
4.3 KiB
JSON
Raw Normal View History

2021-04-09 12:29:59 +02:00
{
"name": "telegram-t",
2022-02-04 21:36:09 +01:00
"version": "1.32.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)\"",
2021-11-05 19:56:58 +01:00
"lint": "tsc && 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",
"gramjs:lint:fix": "eslint ./src/lib/gramjs --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": {
2022-01-25 04:24:22 +01:00
"node": "^16.13",
"npm": "^8.1"
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": {
"*.{ts,tsx,js}": "eslint --fix"
2021-04-09 12:29:59 +02:00
},
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
"license": "GPL-3.0-or-later",
"devDependencies": {
2022-02-02 22:48:08 +01:00
"@babel/core": "^7.16.12",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
2022-02-02 22:48:08 +01:00
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@peculiar/webcrypto": "^1.2.3",
"@testing-library/jest-dom": "^5.16.1",
"@types/croppie": "^2.6.1",
2022-02-02 22:48:08 +01:00
"@types/css-font-loading-module": "0.0.7",
"@types/dom-mediacapture-record": "^1.0.11",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/resize-observer-browser": "^0.1.6",
2022-02-02 22:48:08 +01:00
"@types/wicg-mediasession": "^1.1.3",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"@webpack-cli/serve": "^1.6.1",
"autoprefixer": "^10.4.2",
"babel-loader": "^8.2.3",
2021-04-09 12:29:59 +02:00
"browserlist": "^1.0.1",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
2022-02-02 22:48:08 +01:00
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"dotenv": "^14.3.2",
"eslint": "^8.7.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-react-app": "^7.0.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.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",
2022-02-02 22:48:08 +01:00
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
2021-04-09 12:29:59 +02:00
"eslint-plugin-teactn": "github:korenskoy/eslint-plugin-teactn#8fbd2b9",
"file-loader": "^6.2.0",
2022-02-02 22:48:08 +01:00
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
2021-10-22 12:49:27 +02:00
"jest-raw-loader": "^1.0.1",
2022-02-02 22:48:08 +01:00
"lint-staged": "^12.3.2",
"mini-css-extract-plugin": "^2.5.3",
"postcss-loader": "^6.2.1",
"postcss-modules": "^4.3.0",
"raw-loader": "^4.0.2",
"react": "^17.0.2",
2022-02-02 22:48:08 +01:00
"replace-in-file": "^6.3.2",
"sass": "^1.49.0",
"sass-loader": "^12.4.0",
"style-loader": "^3.3.1",
"terser": "^5.10.0",
"terser-webpack-plugin": "^5.3.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.5",
"url-loader": "^4.1.1",
2022-02-02 22:48:08 +01:00
"webpack": "^5.67.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.3",
"webpack-merge": "^5.8.0"
2021-04-09 12:29:59 +02:00
},
"dependencies": {
"@cryptography/aes": "^0.1.1",
2022-02-02 22:48:08 +01:00
"async-mutex": "^0.3.2",
"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",
2022-02-02 22:48:08 +01:00
"idb-keyval": "^6.1.0",
"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
}
}