You've already forked zerotier-one-api-spec
mirror of
https://github.com/zerotier/zerotier-one-api-spec.git
synced 2026-05-22 16:29:58 -07:00
54 lines
2.1 KiB
JSON
54 lines
2.1 KiB
JSON
{
|
|
"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.2.0",
|
|
"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"
|
|
}
|
|
}
|