-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
54 lines (54 loc) · 2.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "twirpscript-development",
"description": "Protobuf RPC framework for JavaScript and TypeScript",
"license": "MIT",
"author": "Tate Thurston <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/tatethurston/twirpscript"
},
"type": "module",
"scripts": {
"//": "pnpm install again to link bin that is now available after package:build",
"build": "(pnpm package:copy:files && cd packages/twirpscript && pnpm package:build)",
"e2e:regen": "pnpm --filter './e2e/*' exec twirpscript",
"examples:buf:regen": "(cd examples/buf && buf generate)",
"examples:regen": "pnpm examples:buf:regen && for f in examples/*; do if [ $f != examples/buf ]; then (cd $f; pnpm twirpscript); fi; done",
"lint": "pnpm typecheck && prettier --check . && prettier-package-json --list-different '{,e2e/*,examples/*,packages/*,}package.json' && eslint .",
"lint:fix": "prettier --write . && prettier-package-json --write '{,e2e/*,examples/*,packages/*}package.json' && eslint --fix .",
"package:copy:files": "cp ./LICENSE ./README.md packages/twirpscript",
"prepare": "husky install",
"regen": "pnpm examples:regen && pnpm e2e:regen",
"test": "jest",
"test:ci": "pnpm install --frozen-lockfile && jest examples/* packages/* --coverage",
"test:integration": "pnpm run test-protos && pnpm run test-clientcompat",
"test-clientcompat": "(cd ./src/integration-tests/clientcompat && pnpm run build && npx twirpscript)",
"test-protos": "(cd src/integration-tests/protos && pnpm run build && pnpm run typecheck:protos)",
"typecheck": "pnpm --recursive run typecheck"
},
"sideEffects": false,
"devDependencies": {
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@types/google-protobuf": "^3.15.9",
"@types/jest": "^29.5.6",
"@types/node": "^20.8.8",
"@types/prettier": "^3.0.0",
"@types/react": "^18.2.31",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"babel-loader": "^9.1.3",
"codecov": "^3.8.3",
"esbuild": "^0.19.5",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"google-protobuf": "^3.21.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"prettier-package-json": "^2.8.0",
"protoscript": "0.0.20",
"typescript": "^5.2.2"
},
"packageManager": "[email protected]"
}