-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 3.28 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
92
{
"name": "@aptre/common",
"description": "Common project configuration files and dependencies.",
"version": "0.20.3",
"license": "MIT",
"author": {
"name": "Aperture Robotics LLC.",
"email": "[email protected]",
"url": "http://aperture.us"
},
"contributors": [
{
"name": "Christian Stewart",
"email": "[email protected]",
"url": "http://github.com/paralin"
}
],
"repository": {
"url": "git+ssh://[email protected]/aperturerobotics/common.git"
},
"type": "module",
"exports": {
".": {
"import": "./dist/common.js",
"require": "./dist/common.js",
"types": "./dist/common.d.ts"
}
},
"files": [
"!**/*.tsbuildinfo",
".eslintrc.cjs",
".gitignore",
"Makefile",
"dist",
"go.mod",
"go.sum",
"go.mod.tools",
"go.sum.tools",
"deps.go.tools",
"tsconfig.json"
],
"scripts": {
"build": "npm run clean && tsc --project tsconfig.json --noEmit false --outDir ./dist/",
"clean": "rimraf ./dist",
"check": "npm run typecheck",
"typecheck": "tsc --noEmit",
"deps": "depcheck --ignores bufferutil,esbuild,starpc,rimraf",
"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": "rimraf ./.tools && go mod tidy && cd ./tools && go mod tidy && cd ../ && bash embed.bash && npm run format && make genproto",
"demo": "make demo",
"test": "npm run test:js && npm run test:go",
"test:js": "vitest run && npm run typecheck",
"test:go": "make test",
"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 && bash embed.bash",
"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"
},
"devDependencies": {
"depcheck": "^1.4.6",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "^5.7.2"
},
"dependencies": {
"@aptre/protobuf-es-lite": "^0.4.7",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-unused-imports": "^4.0.0",
"starpc": "^0.36.0",
"vitest": "^2.1.8"
},
"resolutions": {
"@aptre/protobuf-es-lite": "0.4.8"
}
}