mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 08:39:59 +01:00
114 lines
4.1 KiB
JSON
114 lines
4.1 KiB
JSON
{
|
|
"name": "telegram-t",
|
|
"version": "1.5.0",
|
|
"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",
|
|
"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": "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": "APP_ENV=test jest --verbose --forceExit"
|
|
},
|
|
"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.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",
|
|
"worker-loader": "^2.0.0",
|
|
"@types/jest": "^26.0.15"
|
|
},
|
|
"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",
|
|
"events": "^3.0.0",
|
|
"idb-keyval": "^5.0.5",
|
|
"opus-recorder": "github:Ajaxy/opus-recorder",
|
|
"pako": "^1.0.10",
|
|
"qr-creator": "^1.0.0",
|
|
"websocket": "^1.0.30"
|
|
}
|
|
}
|