-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.78 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
{
"name": "@comapeo/geometry",
"version": "1.0.2",
"description": "GeoJSON Geometry encoding and decoding to protobuf",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"build": "npm-run-all build:clean build:proto build:json build:ts build:copy",
"build:clean": "rimraf dist intermediate generated",
"build:proto": "buf generate",
"build:json": "json2ts -i json/ -o dist/json",
"build:ts": "tsc",
"build:copy": "cpy 'intermediate/generated/**' 'intermediate/src/**' dist/",
"format:buf": "buf format --write ./proto",
"format:prettier": "prettier --write .",
"format": "npm-run-all --parallel format:*",
"lint:buf-lint": "buf lint ./proto",
"lint:eslint": "eslint",
"lint": "npm-run-all --parallel lint:*",
"prepack": "npm run build",
"pretest": "npm-run-all --parallel lint build",
"test": "c8 --100 --exclude 'dist/proto/*' node --test",
"posttest": "c8 report --reporter=text-lcov > ./coverage/lcov.info",
"prepare": "husky"
},
"keywords": [],
"author": "Gregor MacLennan",
"license": "MIT",
"devDependencies": {
"@bufbuild/buf": "^1.39.0",
"@eslint/js": "^9.9.1",
"c8": "^10.1.2",
"cpy-cli": "^5.0.0",
"eslint": "^9.9.1",
"globals": "^15.9.0",
"husky": "^9.1.5",
"json-schema-to-typescript": "^15.0.2",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-proto": "^1.181.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0"
},
"dependencies": {
"protobufjs": "^7.4.0"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,css,md}": "prettier --write"
},
"files": [
"dist",
"json"
]
}