-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 2.02 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": "protoscript-dev",
"version": "0.0.1",
"description": "A Protobuf runtime and code generation tool for JavaScript and TypeScript",
"license": "MIT",
"author": "Tate <tatethurston@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/tatethurston/protoscript"
},
"type": "module",
"exports": {
".": {
"import": "./src/index.ts"
}
},
"scripts": {
"build:wellknowntypes": "(cd ./packages/well-known-types && GENERATE_KNOWN_TYPES=1 pnpm protoscript && cp google/protobuf/* ../protoscript/src/runtime/well-known-types/)",
"e2e:build": "pnpm --filter './e2e/*' run build",
"e2e:protoscript": "pnpm --filter './e2e/*' exec protoscript",
"e2e:setup": "pnpm e2e:build && pnpm e2e:protoscript",
"examples:regen": "pnpm --filter './examples/*' exec protoscript",
"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 .",
"prepare": "husky install",
"regen": "pnpm build:wellknowntypes && pnpm examples:regen && pnpm e2e:protoscript",
"test": "jest",
"test:ci": "pnpm run e2e:setup && pnpm run test --coverage",
"typecheck": "pnpm --recursive run typecheck"
},
"dependencies": {
"google-protobuf": "^3.21.2"
},
"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",
"@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",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"prettier-package-json": "^2.8.0",
"typescript": "^5.2.2"
},
"packageManager": "pnpm@8.6.9"
}