61 lines
2.2 KiB
JSON
61 lines
2.2 KiB
JSON
{
|
|
"name": "mtcute",
|
|
"private": true,
|
|
"version": "0.1.1",
|
|
"description": "Type-safe library for MTProto (Telegram API) for browser and NodeJS",
|
|
"license": "MIT",
|
|
"author": "Alina Sireneva <alina@tei.su>",
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"postinstall": "node scripts/validate-deps-versions.mjs",
|
|
"test": "vitest run && pnpm run -r test",
|
|
"test:dev": "vitest watch",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:ci": "vitest run --coverage.enabled --coverage.reporter=json",
|
|
"lint": "eslint .",
|
|
"lint:ci": "NODE_OPTIONS=\"--max_old_space_size=8192\" eslint --config .eslintrc.ci.js .",
|
|
"lint:tsc": "pnpm -r --parallel exec tsc --build",
|
|
"lint:tsc:ci": "pnpm -r exec tsc --build",
|
|
"lint:dpdm": "dpdm -T --no-warning --no-tree --exit-code circular:1 packages/*",
|
|
"lint:fix": "eslint --fix .",
|
|
"format": "prettier --write \"packages/**/*.ts\"",
|
|
"publish-all": "node scripts/publish.js all",
|
|
"docs": "typedoc",
|
|
"build-package": "node scripts/build-package.js"
|
|
},
|
|
"dependencies": {
|
|
"node-gyp": "9.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "17.6.5",
|
|
"@commitlint/config-conventional": "17.6.5",
|
|
"@types/node-forge": "1.3.2",
|
|
"@types/ws": "8.5.4",
|
|
"@typescript-eslint/eslint-plugin": "6.4.0",
|
|
"@typescript-eslint/parser": "6.4.0",
|
|
"@vitest/coverage-v8": "0.34.6",
|
|
"@vitest/ui": "0.34.6",
|
|
"dotenv-flow": "3.2.0",
|
|
"dpdm": "3.14.0",
|
|
"eslint": "8.47.0",
|
|
"eslint-config-prettier": "8.8.0",
|
|
"eslint-import-resolver-typescript": "3.6.0",
|
|
"eslint-plugin-ascii": "1.0.0",
|
|
"eslint-plugin-import": "2.28.0",
|
|
"eslint-plugin-simple-import-sort": "10.0.0",
|
|
"glob": "10.2.6",
|
|
"husky": "8.0.3",
|
|
"lint-staged": "13.2.2",
|
|
"node-forge": "1.3.1",
|
|
"prettier": "3.0.3",
|
|
"rimraf": "5.0.1",
|
|
"semver": "7.5.1",
|
|
"ts-node": "10.9.1",
|
|
"tsconfig-paths": "4.2.0",
|
|
"typedoc": "0.25.3",
|
|
"typescript": "5.0.4",
|
|
"vite": "4.5.0",
|
|
"vitest": "0.34.6"
|
|
}
|
|
}
|