-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.38 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 2.38 KB
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
55
56
57
{
"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": "(pnpm package:copy:files && cd packages/protoscript && pnpm package:build)",
"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 .",
"package:copy:files": "cp ./LICENSE ./README.md packages/protoscript",
"prepare": "husky install",
"regen": "pnpm examples:regen && pnpm e2e:protoscript && pnpm build:wellknowntypes",
"test": "jest",
"test:ci": "pnpm install --frozen-lockfile && pnpm run e2e:setup && pnpm run test --coverage",
"typecheck": "pnpm --recursive run typecheck"
},
"dependencies": {
"google-protobuf": "^3.21.4"
},
"devDependencies": {
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.26.0",
"@eslint/js": "^9.21.0",
"@types/google-protobuf": "^3.15.12",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.5",
"@typescript-eslint/eslint-plugin": "^8.24.1",
"@typescript-eslint/parser": "^8.24.1",
"babel-loader": "^9.2.1",
"codecov": "^3.8.3",
"esbuild": "^0.25.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"prettier": "^3.5.2",
"prettier-package-json": "^2.8.0",
"typescript": "^5.7.3"
},
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af"
}