telegram-tt/package.json

114 lines
4.1 KiB
JSON
Raw Normal View History

2021-04-09 12:29:59 +02:00
{
"name": "telegram-t",
2021-07-06 18:39:01 +02:00
"version": "1.4.0",
2021-04-09 12:29:59 +02:00
"description": "",
"main": "index.js",
"scripts": {
"dev": "cross-env APP_ENV=development webpack-dev-server -d",
"build": "webpack -p",
"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-04-09 12:29:59 +02:00
"perf:serve": "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-04-09 12:29:59 +02:00
"test": "APP_ENV=test jest --verbose --forceExit"
},
"engines": {
"node": "^12.13",
"npm": "^6.12"
},
"husky": {
"hooks": {
2021-07-07 17:38:35 +02:00
"pre-commit": "tsc && lint-staged -- --fix --ignore-path=src/lib/gramjs/.eslintignore"
2021-04-09 12:29:59 +02:00
}
},
"lint-staged": {
"*.{ts,tsx,js}": "eslint"
2021-04-09 12:29:59 +02:00
},
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"@babel/preset-typescript": "^7.10.1",
"@peculiar/webcrypto": "^1.1.4",
"@testing-library/jest-dom": "^5.11.6",
"@types/croppie": "^2.5.4",
"@types/css-font-loading-module": "0.0.2",
"@types/dom-mediacapture-record": "^1.0.3",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/resize-observer-browser": "^0.1.3",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"autoprefixer": "^9.8.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.1.0",
"browserlist": "^1.0.1",
"buffer": "^6.0.3",
"cross-env": "^7.0.2",
"css-loader": "^3.5.3",
"dotenv": "^8.2.0",
"eslint": "^7.2.0",
"eslint-config-airbnb-typescript": "^6.0.0",
"eslint-config-react-app": "^5.0.2",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-no-async-without-await": "^1.2.0",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^1.7.0",
"eslint-plugin-teactn": "github:korenskoy/eslint-plugin-teactn#8fbd2b9",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"husky": "^3.0.9",
"jest": "^26.6.3",
"lint-staged": "^9.4.2",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.14.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"postcss-modules": "^1.5.0",
"raw-loader": "^4.0.1",
"react": "^16.12.0",
"replace-in-file": "^6.2.0",
"sass": "^1.23.3",
"sass-loader": "^8.0.2",
"service-worker-loader": "^4.0.2",
"style-loader": "^1.2.1",
"terser": "^4.7.0",
"terser-webpack-plugin": "^3.0.3",
"ts-node": "^8.9.1",
"typescript": "^3.9.5",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2",
2021-04-24 12:36:03 +02:00
"worker-loader": "^2.0.0",
"@types/jest": "^26.0.15"
2021-04-09 12:29:59 +02:00
},
"dependencies": {
"@cryptography/aes": "^0.1.1",
"async-mutex": "^0.1.4",
"big-integer": "painor/BigInteger.js",
"croppie": "^2.6.4",
"emoji-data-ios": "github:korenskoy/emoji-data-ios#1a4532f",
2021-04-09 12:29:59 +02:00
"events": "^3.0.0",
"idb-keyval": "^5.0.5",
"opus-recorder": "github:Ajaxy/opus-recorder",
2021-04-09 12:29:59 +02:00
"pako": "^1.0.10",
"qr-creator": "^1.0.0",
"websocket": "^1.0.30"
}
}