-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.91 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
{
"name": "@ebusd/ebus-typespec",
"version": "0.19.0",
"author": "John Baier",
"description": "TypeSpec library for defining eBUS messages and emitting to ebusd CSV.",
"homepage": "https://github.com/john30/ebus-typespec",
"readme": "https://github.com/john30/ebus-typespec/blob/main/README.md",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/john30/ebus-typespec.git"
},
"bugs": {
"url": "https://github.com/john30/ebus-typespec/issues"
},
"keywords": [
"TypeSpec",
"eBUS"
],
"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"
}
},
"bin": {
"tsp2ebusd": "dist/src/tsp2ebusd.js"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"lib/*.tsp",
"dist/**",
"!dist/test/**",
"*.md"
],
"peerDependencies": {
"@typespec/compiler": "~0.63.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@typespec/compiler": "~0.63.0",
"@typespec/library-linter": "~0.63.0",
"@typespec/tspd": "latest",
"@types/node": "latest",
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "^4.4.1",
"typescript": "^5.7.3"
},
"dependencies": {
"js-yaml": "^4.1.0"
},
"scripts": {
"build": "tsc && npm run build:tsp",
"watch": "tsc --watch",
"build:tsp": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit && chmod a+x dist/src/tsp2ebusd.js",
"test": "node --test --test-force-exit ./dist/test/",
"docs": "sed -i -e 's# *hideInPageTOC: true,##' node_modules/@typespec/tspd/dist/src/ref-doc/api-docs.js; npx tspd doc --enable-experimental . && mv README.md docs.md && rm -rf docs && git checkout README.md"
}
}