68 lines
2.2 KiB
JSON
68 lines
2.2 KiB
JSON
{
|
|
"name": "tweb",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"start": "vite --force",
|
|
"serve": "pnpm run build; node server.js",
|
|
"build": "pnpm run generate-changelog && vite build",
|
|
"test": "vitest",
|
|
"whybundled": "pnpm run profile && whybundled stats.json",
|
|
"generate-mtproto-types": "node ./src/scripts/generate_mtproto_types.js src/",
|
|
"generate-changelog": "node ./src/scripts/generate_changelog.js",
|
|
"generate-icons": "node ./src/scripts/icomoon/icomoon_generate.js",
|
|
"change-version": "node ./src/scripts/change_version.js",
|
|
"lint": "npx eslint \"src/**/**.ts\"",
|
|
"build:solid": "node ./src/scripts/build_solid.js",
|
|
"x-install": "npx pnpm install",
|
|
"x-start": "npx pnpm start",
|
|
"x-build": "npx pnpm run generate-changelog && npx vite build"
|
|
},
|
|
"author": "",
|
|
"license": "GPL-3.0-only",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.23.4",
|
|
"@babel/preset-env": "^7.23.7",
|
|
"@babel/preset-typescript": "^7.23.3",
|
|
"@cryptography/aes": "^0.1.1",
|
|
"@cryptography/sha1": "^0.2.0",
|
|
"@cryptography/sha256": "^0.2.0",
|
|
"@peculiar/webcrypto": "^1.4.3",
|
|
"@solid-primitives/refs": "^1.0.5",
|
|
"@solid-primitives/transition-group": "^1.0.3",
|
|
"@types/chrome": "0.0.183",
|
|
"@types/express": "^4.17.21",
|
|
"@types/prismjs": "^1.26.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"@vitejs/plugin-basic-ssl": "^1.1.0",
|
|
"autoprefixer": "^10.4.16",
|
|
"big-integer": "^1.6.52",
|
|
"browserslist": "^4.22.2",
|
|
"compression": "^1.7.4",
|
|
"csstype": "^3.1.3",
|
|
"eslint": "^8.56.0",
|
|
"express": "^4.18.2",
|
|
"fast-png": "^6.2.0",
|
|
"http-proxy": "^1.18.1",
|
|
"js-md5": "^0.8.3",
|
|
"jsdom": "^22.1.0",
|
|
"mime": "^3.0.0",
|
|
"node-ssh": "^13.1.0",
|
|
"pako": "^2.1.0",
|
|
"prismjs": "^1.29.0",
|
|
"qr-code-styling": "^1.5.0",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"sass": "^1.69.6",
|
|
"tinyld": "^1.3.4",
|
|
"typescript": "^4.9.5",
|
|
"vite": "^5.2.10",
|
|
"vite-plugin-checker": "^0.6.2",
|
|
"vite-plugin-handlebars": "^1.6.0",
|
|
"vite-plugin-solid": "^2.8.0",
|
|
"vitest": "^0.34.6"
|
|
}
|
|
}
|