/
package.json
62 lines (62 loc) · 2.14 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": "@aperturerobotics/util",
"description": "Utilities and experimental data structures.",
"version": "0.0.0",
"license": "MIT",
"author": {
"name": "Aperture Robotics LLC.",
"email": "support@aperture.us",
"url": "http://aperture.us"
},
"contributors": [
{
"name": "Christian Stewart",
"email": "christian@aperture.us",
"url": "http://github.com/paralin"
}
],
"repository": {
"url": "git+ssh://git@github.com/aperturerobotics/util.git"
},
"type": "module",
"scripts": {
"build": "tsc --project tsconfig.json --noEmit false --outDir ./dist/",
"check": "npm run typecheck",
"deps": "depcheck --ignore-patterns=.eslintrc.js,package.json --ignores depcheck,prettier,typescript,starpc,@aperturerobotics/ts-common,@go/github.com,rimraf,@aptre/common",
"typecheck": "tsc --noEmit",
"codegen": "npm run gen",
"ci": "npm run build && npm run lint:js && npm run lint:go",
"format": "npm run format:go && npm run format:js && npm run format:config",
"format:config": "prettier --write tsconfig.json package.json",
"format:go": "make format",
"format:js": "npm run format:js:changed",
"format:js:changed": "git diff --name-only --diff-filter=d HEAD | grep '\\(\\.ts\\|\\.tsx\\|\\.html\\|\\.css\\|\\.scss\\)$' | xargs -I {} prettier --write {}",
"format:js:all": "prettier --write './!(vendor|dist)/**/(*.ts|*.tsx|*.js|*.html|*.css)'",
"gen": "make genproto",
"test": "make test && npm run check && npm run test:js",
"test:js": "echo No JS tests.",
"lint": "npm run lint:go && npm run lint:js",
"lint:go": "make lint",
"lint:js": "ESLINT_USE_FLAT_CONFIG=false eslint -c .eslintrc.cjs ./",
"prepare": "go mod vendor && rimraf ./.tools",
"precommit": "npm run format"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"devDependencies": {
"@aptre/common": "^0.15.2",
"depcheck": "^1.4.7",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.1.6"
},
"dependencies": {
"@aptre/protobuf-es-lite": "^0.4.3",
"starpc": "^0.32.1"
},
"resolutions": {
"@aptre/protobuf-es-lite": "0.4.3"
}
}