-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 3.04 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@aptre/protobuf-es-lite",
"description": "Lightweight Protobuf codegen for TypeScript and JavaScript.",
"version": "0.4.8",
"license": "Apache-2.0",
"repository": {
"url": "git+ssh://[email protected]/aperturerobotics/protobuf-es-lite.git"
},
"files": [
".ignore",
"LICENSE",
"README.md",
"bin/protoc-gen-es-lite",
"example/example.proto",
"example/example.pb.ts",
"tsconfig.base.json",
"tsconfig.json",
"dist"
],
"bin": {
"protoc-gen-es-lite": "bin/protoc-gen-es-lite"
},
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./protoplugin": {
"import": "./dist/protoplugin/index.js",
"require": "./dist/protoplugin/index.js",
"types": "./dist/protoplugin/index.d.ts"
},
"./protoplugin/ecmascript": {
"import": "./dist/protoplugin/ecmascript/index.js",
"require": "./dist/protoplugin/ecmascript/index.js",
"types": "./dist/protoplugin/ecmascript/index.d.ts"
},
"./google": {
"import": "./dist/google/index.js",
"require": "./dist/google/index.js",
"types": "./dist/google/index.d.ts"
}
},
"engines": {
"node": ">=14"
},
"scripts": {
"clean": "rimraf ./dist",
"build": "npm run clean && tsc --project tsconfig.json --outDir ./dist",
"typecheck": "tsc --noEmit --project tsconfig.json --outDir ./dist",
"gen": "npm run build && npm run gen:wkt && npm run gen:example",
"gen:wkt": "cd ./src && bash gen.bash",
"gen:example": "bash gen.bash ./example/example.proto",
"format": "prettier --write './src/**/(*.ts|*.tsx|*.html|*.css|*.scss)'",
"precommit": "lint-staged",
"test": "vitest run",
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint -c .eslintrc.cjs ./",
"release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
"release:version:minor": "npm version minor -m \"release: v%s\" --no-git-tag-version",
"release:commit": "git reset && git add package.json && git commit -s -m \"release: v$npm_package_version\" && git tag v$npm_package_version",
"release:publish": "git push && git push --tags && npm run build && npm publish",
"release": "npm run release:version && npm run release:commit",
"release:minor": "npm run release:version:minor && npm run release:commit",
"prepare": "husky"
},
"preferUnplugged": true,
"dependencies": {
"@typescript/vfs": "^1.5.0",
"lz-string": "^1.5.0"
},
"devDependencies": {
"@types/node": "^22.7.5",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-unused-imports": "^4.0.0",
"husky": "^9.1.7",
"lint-staged": ">=15.2.5",
"prettier": "^3.2.5",
"rimraf": "^6.0.0",
"typescript": "^5.4.5",
"vitest": "^2.0.0"
},
"lint-staged": {
"package.json": "prettier --write",
"./src/**/(*.ts|*.tsx|*.html|*.css|*.scss)": "prettier --write"
}
}