-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.1 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
{
"name": "zerotier-one-api-spec",
"repository": "https://github.com/zerotier/zerotier-one-api-spec",
"scripts": {
"start": "run-s build watch",
"test": "borp",
"build": "run-s pre-compile compile lint build:*",
"lint": "run-p lint:*",
"pre-compile": "run-p depcheck format-spec format-code variables",
"build:doc-html": "redocly build-docs tsp-output/@typespec/openapi3/openapi.yaml -o ./dist/index.html",
"pretest": "openapi-typescript tsp-output/@typespec/openapi3/openapi.yaml -o /tmp/schema.ts",
"clean": "rm -rf dist tsp-output",
"compile": "tsp compile ./main.tsp",
"depcheck": "depcheck --ignores=@typespec/json-schema,@typespec/openapi,@typespec/openapi3,@typespec/prettier-plugin-typespec,auto-changelog",
"format-spec": "tsp format **/*.tsp",
"format-code": "prettier --write **/*.ts",
"lint:openapi": "redocly lint tsp-output/@typespec/openapi3/openapi.yaml",
"lint:code": "eslint .",
"release": "release-it --ci",
"variables": "printf 'alias Version = \"%s\";\n' $npm_package_version > variables.tsp",
"watch": "run-p watch:*",
"watch:compile": "npm run compile -- --watch",
"watch:serve": "redocly preview-docs ./tsp-output/@typespec/openapi3/openapi.yaml --use-community-edition"
},
"version": "1.1.1",
"type": "module",
"dependencies": {
"@redocly/cli": "1.7",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typespec/compiler": "^0.51.0",
"@typespec/json-schema": "^0.51.0",
"@typespec/openapi": "^0.51.0",
"@typespec/openapi3": "^0.51.1",
"@typespec/prettier-plugin-typespec": "^0.51.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"auto-changelog": "^2.4.0",
"depcheck": "^1.4.7",
"eslint": "^8.56.0",
"npm-run-all2": "^6.1.1",
"openapi-fetch": "^0.8.2",
"openapi-typescript": "^7.0.0-next.7",
"openapi-typescript-helpers": "^0.0.6",
"prettier": "^3.2.5",
"release-it": "^17.2.0",
"typescript": "^5.3.3",
"borp": "^0.9.1",
"semver": "^7.6.0",
"testcontainers": "^10.8.2"
}
}