2020-02-06 15:43:07 +00:00
|
|
|
{
|
|
|
|
"name": "tweb",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2020-09-28 00:23:00 +00:00
|
|
|
"start": "node --max-old-space-size=12048 node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack.dev.js",
|
2020-08-26 11:04:37 +00:00
|
|
|
"start:production": "webpack-dev-server --config webpack.prod.js",
|
2020-05-03 12:46:05 +00:00
|
|
|
"serve": "npm run build; node server.js",
|
2021-10-05 20:46:00 +00:00
|
|
|
"build": "npm run generate-changelog; webpack --config webpack.prod.js",
|
2020-08-26 11:04:37 +00:00
|
|
|
"build:dev": "webpack --config webpack.dev.js",
|
2020-02-06 15:43:07 +00:00
|
|
|
"test": "jest --config=jest.config.js",
|
2020-05-03 12:46:05 +00:00
|
|
|
"profile": "webpack --profile --json > stats.json --config webpack.prod.js",
|
2020-09-23 20:29:53 +00:00
|
|
|
"profile:dev": "webpack --profile --json > stats.json --config webpack.dev.js",
|
2020-09-28 00:23:00 +00:00
|
|
|
"whybundled": "npm run profile && whybundled stats.json",
|
2021-10-05 20:40:07 +00:00
|
|
|
"generate-mtproto-types": "node ./src/scripts/generate_mtproto_types.js src/",
|
2021-10-07 13:14:09 +00:00
|
|
|
"generate-changelog": "node ./src/scripts/generate_changelog.js",
|
2022-04-09 17:24:12 +00:00
|
|
|
"generate-icons": "node ./src/scripts/icomoon/icomoon_generate.js",
|
2022-08-04 06:49:54 +00:00
|
|
|
"change-version": "node ./src/scripts/change_version.js",
|
|
|
|
"lint": "npx eslint \"src/**/**.ts\""
|
2020-02-06 15:43:07 +00:00
|
|
|
},
|
|
|
|
"author": "",
|
2021-04-08 15:51:49 +00:00
|
|
|
"license": "GPL-3.0-only",
|
2020-02-06 15:43:07 +00:00
|
|
|
"dependencies": {
|
2022-03-27 18:33:42 +00:00
|
|
|
"mime": "^3.0.0",
|
2022-06-17 16:01:43 +00:00
|
|
|
"webpack-dev-server": "^4.8.1"
|
2020-02-06 15:43:07 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-17 16:01:43 +00:00
|
|
|
"@babel/cli": "^7.17.10",
|
|
|
|
"@babel/core": "^7.17.10",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
|
|
"@babel/plugin-transform-typescript": "^7.16.8",
|
2020-12-29 08:08:50 +00:00
|
|
|
"@babel/polyfill": "^7.12.1",
|
2022-06-17 16:01:43 +00:00
|
|
|
"@babel/preset-env": "^7.17.10",
|
2020-12-29 08:08:50 +00:00
|
|
|
"@babel/preset-es2015": "^7.0.0-beta.53",
|
2022-06-17 16:01:43 +00:00
|
|
|
"@babel/preset-typescript": "^7.16.7",
|
2020-04-18 21:55:20 +00:00
|
|
|
"@cryptography/aes": "^0.1.1",
|
2021-05-12 22:32:04 +00:00
|
|
|
"@cryptography/sha1": "^0.2.0",
|
2020-04-14 15:46:31 +00:00
|
|
|
"@cryptography/sha256": "^0.2.0",
|
2022-06-17 16:01:43 +00:00
|
|
|
"@peculiar/webcrypto": "^1.3.3",
|
|
|
|
"@principalstudio/html-webpack-inject-preload": "^1.2.7",
|
2022-03-23 15:15:07 +00:00
|
|
|
"@types/big-integer": "^0.0.31",
|
2022-06-17 16:01:43 +00:00
|
|
|
"@types/chrome": "0.0.183",
|
|
|
|
"@types/jest": "^28.1.0",
|
2022-08-04 06:49:54 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
|
|
|
"@typescript-eslint/parser": "^5.32.0",
|
2022-06-17 16:01:43 +00:00
|
|
|
"babel-loader": "^8.2.5",
|
2020-12-29 08:08:50 +00:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
2022-03-23 15:15:07 +00:00
|
|
|
"big-integer": "^1.6.51",
|
2020-04-14 15:46:31 +00:00
|
|
|
"compression": "^1.7.4",
|
2022-06-17 16:01:43 +00:00
|
|
|
"css-loader": "^6.7.1",
|
|
|
|
"dotenv-webpack": "^7.1.0",
|
2022-08-04 06:49:54 +00:00
|
|
|
"eslint": "^8.21.0",
|
2022-06-17 16:01:43 +00:00
|
|
|
"express": "^4.18.1",
|
|
|
|
"fast-png": "^6.1.0",
|
2021-05-12 22:32:04 +00:00
|
|
|
"handlebars": "^4.7.7",
|
2020-06-05 16:01:06 +00:00
|
|
|
"handlebars-loader": "^1.7.1",
|
2022-06-17 16:01:43 +00:00
|
|
|
"html-webpack-plugin": "^5.5.0",
|
|
|
|
"ifdef-loader": "^2.3.2",
|
|
|
|
"jest-environment-jsdom": "^28.1.0",
|
|
|
|
"media-query-plugin": "^1.5.0",
|
|
|
|
"mini-css-extract-plugin": "^2.6.0",
|
|
|
|
"npm": "^8.8.0",
|
2022-03-25 15:07:29 +00:00
|
|
|
"on-build-webpack": "^0.1.0",
|
2022-06-17 16:01:43 +00:00
|
|
|
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
|
|
|
"pako": "^2.0.4",
|
|
|
|
"postcss": "^8.4.13",
|
|
|
|
"postcss-import": "^14.1.0",
|
|
|
|
"postcss-loader": "^6.2.1",
|
|
|
|
"postcss-preset-env": "^7.5.0",
|
|
|
|
"qr-code-styling": "^1.5.0",
|
|
|
|
"sass": "^1.51.0",
|
|
|
|
"sass-loader": "^12.6.0",
|
2022-03-25 15:07:29 +00:00
|
|
|
"serviceworker-webpack-plugin": "^1.0.1",
|
2022-06-17 16:01:43 +00:00
|
|
|
"style-loader": "^3.3.1",
|
2021-04-29 19:36:35 +00:00
|
|
|
"text-encoding": "^0.7.0",
|
2022-06-17 16:01:43 +00:00
|
|
|
"ts-jest": "^28.0.4",
|
|
|
|
"ts-loader": "^9.3.0",
|
2022-08-22 10:57:54 +00:00
|
|
|
"typescript": "^4.7.4",
|
2022-06-17 16:01:43 +00:00
|
|
|
"webpack": "^5.72.0",
|
2022-03-25 10:42:39 +00:00
|
|
|
"webpack-bundle-analyzer": "^4.5.0",
|
2022-06-17 16:01:43 +00:00
|
|
|
"webpack-cli": "^4.9.2",
|
|
|
|
"webpack-merge": "^5.8.0",
|
|
|
|
"webpack-retry-chunk-load-plugin": "^3.0.0"
|
2020-02-06 15:43:07 +00:00
|
|
|
}
|
|
|
|
}
|