Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.51 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.51 KB
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
{
"name": "@octocloud/typespec",
"version": "0.1.37",
"type": "module",
"main": "dist/src/index.js",
"tspMain": "lib/main.tsp",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
},
"./testing": {
"types": "./dist/src/testing/index.d.ts",
"default": "./dist/src/testing/index.js"
}
},
"dependencies": {
"@typespec/compiler": "1.7.1",
"@typespec/http": "1.7.0",
"@typespec/openapi": "1.7.0",
"@typespec/openapi3": "1.7.0"
},
"devDependencies": {
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "8.51.0",
"@typescript-eslint/parser": "8.51.0",
"@typespec/library-linter": "0.77.0",
"eslint": "9.39.2",
"prettier": "3.7.4",
"typescript": "latest"
},
"scripts": {
"build": "tsc -p . && npm run build:tsp",
"watch": "tsc -p . --watch",
"build:tsp": "tsp compile . --warn-as-error --import @typespec/library-linter",
"test": "node --test ./dist/test/",
"lint": "eslint src/ test/ --report-unused-disable-directives --max-warnings=0",
"lint:fix": "eslint . --report-unused-disable-directives --fix",
"format": "prettier . --write",
"format:check": "prettier --check .",
"compile": "npm run compile:openapi && npm run format",
"compile:openapi": "tsp compile lib/main.tsp",
"compile:watch": "tsp compile . --watch",
"generate-typespec": "tsp-openapi3 ./openapi.yml --output-dir ./tsp-output"
},
"publishConfig": {
"access": "public"
}
}