{ "name": "telegram-t", "version": "1.38.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 APP_VERSION=$(npm run print_version --silent) 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", "print_version": "node -p -e \"require('./package.json').version\"", "inc_version": "echo $((`cat .patch-version` + 1)) > .patch-version && echo \"$(node -p -e \"require('./package.json').version.match(/^\\d+\\.\\d+/)[0]\").$(cat .patch-version)\"", "check": "tsc && stylelint \"**/*.{css,scss}\" && eslint . --ext .ts,.tsx --ignore-pattern src/lib/gramjs", "check:fix": "npm run check -- --fix", "gramjs:tl": "node ./src/lib/gramjs/tl/generateModules.js", "gramjs:lint:fix": "eslint ./src/lib/gramjs --fix", "test": "cross-env APP_ENV=test jest --verbose --forceExit", "prepare": "husky install" }, "engines": { "node": "^16.13", "npm": "^8.1" }, "husky": { "hooks": { "pre-commit": "tsc && lint-staged" } }, "lint-staged": { "*.{ts,tsx,js}": "eslint --fix", "*.{css,scss}": "stylelint --fix" }, "author": "Alexander Zinchuk (alexander@zinchuk.com)", "license": "GPL-3.0-or-later", "devDependencies": { "@babel/core": "^7.17.5", "@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", "@babel/preset-env": "^7.16.11", "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.16.7", "@peculiar/webcrypto": "^1.3.2", "@testing-library/jest-dom": "^5.16.2", "@types/croppie": "^2.6.1", "@types/jest": "^27.4.1", "@types/react": "^17.0.40", "@types/react-dom": "^17.0.13", "@types/wicg-mediasession": "^1.1.3", "@typescript-eslint/eslint-plugin": "^5.14.0", "@typescript-eslint/parser": "^5.14.0", "@webpack-cli/serve": "^1.6.1", "autoprefixer": "^10.4.2", "babel-loader": "^8.2.3", "browserlist": "^1.0.1", "buffer": "^6.0.3", "cross-env": "^7.0.3", "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^3.4.1", "dotenv": "^16.0.0", "eslint": "^8.10.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^16.1.1", "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", "eslint-plugin-no-async-without-await": "^1.2.0", "eslint-plugin-no-null": "^1.0.2", "eslint-plugin-react": "^7.29.3", "eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-teactn": "git+https://github.com/korenskoy/eslint-plugin-teactn#c2c39dd005d58c07c24c4361de804dce1c6261b5", "git-revision-webpack-plugin": "^5.0.0", "html-webpack-plugin": "^5.5.0", "husky": "^7.0.4", "jest": "^27.5.1", "jest-raw-loader": "^1.0.1", "lint-staged": "^12.3.5", "mini-css-extract-plugin": "^2.6.0", "postcss-loader": "^6.2.1", "postcss-modules": "^4.3.1", "react": "^17.0.2", "replace-in-file": "^6.3.2", "sass": "^1.49.9", "sass-loader": "^12.6.0", "style-loader": "^3.3.1", "stylelint": "^14.5.3", "stylelint-config-recommended-scss": "^5.0.2", "stylelint-declaration-block-no-ignored-properties": "^2.5.0", "stylelint-group-selectors": "^1.0.8", "stylelint-high-performance-animation": "^1.6.0", "typescript": "^4.6.2", "webpack": "^5.70.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.9.2", "webpack-dev-server": "^4.7.4", "webpack-merge": "^5.8.0" }, "dependencies": { "@cryptography/aes": "^0.1.1", "async-mutex": "^0.3.2", "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": "^6.1.0", "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" } }