-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
87 lines (87 loc) · 2.81 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
{
"name": "@viamrobotics/sdk",
"version": "0.33.0",
"description": "",
"main": "./dist/main.umd.js",
"module": "./dist/main.es.js",
"types": "./dist/main.d.ts",
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/main.d.ts",
"require": "./dist/main.umd.js",
"default": "./dist/main.es.js"
}
},
"scripts": {
"prebuild": "node ./scripts/write-versions.js",
"build": "npm run build:bundle && npm run build:types && npm run build:copy-dts",
"build:bundle": "vite build",
"build:types": "tsc --project tsconfig.build.json",
"build:copy-dts": "copyfiles -u 1 \"src/gen/**/*.d.ts\" dist",
"check": "ncu --errorLevel 2 --dep prod",
"doc": "typedoc",
"doc:watch": "typedoc --watch",
"format": "npm run _eslint -- --fix && npm run _prettier -- --write",
"lint": "concurrently -g npm:lint:*",
"lint:prettier": "npm run _prettier -- --check",
"lint:eslint": "npm run _eslint",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "concurrently -g npm:typecheck:*",
"typecheck:src": "tsc",
"typecheck:node": "tsc --project tsconfig.node.json",
"e2e:playwright": "playwright test",
"e2e:playwright-ui": "playwright test --ui",
"e2e:playwright-debug": "playwright test --debug",
"e2e:playwright-install": "playwright install",
"e2e:test-harness": "vite e2e",
"_eslint": "eslint '.*.cjs' '**/*.{ts,js,cjs}'",
"_prettier": "prettier '.*.cjs' '**/*.{ts,js,cjs}'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/viamrobotics/viam-typescript-sdk.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/viamrobotics/viam-typescript-sdk/issues"
},
"homepage": "https://github.com/viamrobotics/viam-typescript-sdk#readme",
"dependencies": {
"@bufbuild/protobuf": "^1.10.0",
"@connectrpc/connect": "^1.6.0",
"@connectrpc/connect-web": "^1.6.0",
"bsonfy": "^1.0.2",
"exponential-backoff": "^3.1.1"
},
"devDependencies": {
"@bufbuild/buf": "^1.15.0-1",
"@playwright/test": "1.45.3",
"@types/node": "^20.11.10",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@viamrobotics/eslint-config": "^0.4.0",
"@viamrobotics/prettier-config": "^0.3.4",
"@viamrobotics/typescript-config": "^0.1.0",
"concurrently": "^8.0.1",
"copyfiles": "^2.4.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-vitest": "^0.3.20",
"grpc-web": "^1.4.2",
"happy-dom": "^15.10.1",
"npm-check-updates": "^17.1.11",
"prettier": "^3.1.1",
"prettier-plugin-jsdoc": "^1.1.1",
"typedoc": "^0.25.4",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vitest": "^1.1.0",
"yaml": "^2.3.3"
}
}