forked from microsoft/typespec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 3.83 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@typespec/compiler",
"version": "0.62.0",
"description": "TypeSpec Compiler Preview",
"author": "Microsoft Corporation",
"license": "MIT",
"homepage": "https://typespec.io",
"readme": "https://github.com/microsoft/typespec/blob/main/README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/typespec.git"
},
"bugs": {
"url": "https://github.com/microsoft/typespec/issues"
},
"keywords": [
"typespec",
"cli"
],
"type": "module",
"main": "dist/src/index.js",
"tspMain": "lib/std/main.tsp",
"exports": {
".": {
"typespec": "./lib/std/main.tsp",
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
},
"./utils": {
"types": "./dist/src/utils/index.d.ts",
"default": "./dist/src/utils/index.js"
},
"./testing": {
"types": "./dist/src/testing/index.d.ts",
"default": "./dist/src/testing/index.js"
},
"./module-resolver": {
"types": "./dist/module-resolver/module-resolver.d.ts",
"default": "./dist/src/module-resolver/module-resolver.js"
},
"./emitter-framework": {
"types": "./dist/src/emitter-framework/index.d.ts",
"default": "./dist/src/emitter-framework/index.js"
},
"./experimental": {
"types": "./dist/src/experimental/index.d.ts",
"default": "./dist/src/experimental/index.js"
}
},
"browser": {
"./dist/src/core/node-host.js": "./dist/src/core/node-host.browser.js",
"./dist/src/core/logger/console-sink.js": "./dist/src/core/logger/console-sink.browser.js"
},
"engines": {
"node": ">=18.0.0"
},
"bin": {
"tsp": "cmd/tsp.js",
"tsp-server": "cmd/tsp-server.js"
},
"files": [
"lib/**/*.tsp",
"dist/**",
"templates/**",
"entrypoints",
"!dist/test/**"
],
"scripts": {
"clean": "rimraf ./dist ./temp",
"build:init-templates-index": "tsx ./.scripts/build-init-templates.ts",
"build": "npm run gen-manifest && npm run build:init-templates-index && npm run compile && npm run generate-tmlanguage",
"compile": "tsc -p .",
"watch": "tsc -p . --watch",
"watch-tmlanguage": "node scripts/watch-tmlanguage.js",
"generate-tmlanguage": "node scripts/generate-tmlanguage.js",
"gen-extern-signature": "tsx ./.scripts/gen-extern-signature.ts",
"dogfood": "node scripts/dogfood.js",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest -w",
"test:ci": "vitest run --coverage --reporter=junit --reporter=default",
"test:e2e": "vitest run --config ./vitest.config.e2e.ts",
"gen-manifest": "node scripts/generate-manifest.js",
"regen-nonascii": "node scripts/regen-nonascii.js",
"fuzz": "node dist/test/manual/fuzz.js run",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@babel/code-frame": "~7.25.7",
"ajv": "~8.17.1",
"change-case": "~5.4.4",
"globby": "~14.0.2",
"mustache": "~4.2.0",
"picocolors": "~1.1.1",
"prettier": "~3.3.3",
"prompts": "~2.4.2",
"semver": "^7.6.3",
"temporal-polyfill": "^0.2.5",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-textdocument": "~1.0.12",
"yaml": "~2.5.1",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/babel__code-frame": "~7.0.6",
"@types/mustache": "~4.2.5",
"@types/node": "~22.7.9",
"@types/prompts": "~2.4.9",
"@types/semver": "^7.5.8",
"@types/yargs": "~17.0.33",
"@typespec/internal-build-utils": "workspace:~",
"@vitest/coverage-v8": "^2.1.5",
"@vitest/ui": "^2.1.2",
"c8": "^10.1.2",
"grammarkdown": "~3.3.2",
"rimraf": "~6.0.1",
"source-map-support": "~0.5.21",
"tmlanguage-generator": "workspace:~",
"typescript": "~5.6.3",
"vitest": "^2.1.5",
"vscode-oniguruma": "~2.0.1",
"vscode-textmate": "~9.1.0"
}
}