forked from microsoft/typespec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.81 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
{
"name": "@typespec/compiler",
"version": "0.54.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/main.tsp",
"exports": {
".": {
"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/src/core/module-resolver.d.ts",
"default": "./dist/src/core/module-resolver.js"
},
"./emitter-framework": {
"types": "./dist/src/emitter-framework/index.d.ts",
"default": "./dist/src/emitter-framework/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": "node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm ./.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",
"dogfood": "node scripts/dogfood.js",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest -w",
"test-official": "vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism",
"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 . --ext .ts --max-warnings=0",
"lint:fix": "eslint . --fix --ext .ts"
},
"dependencies": {
"@babel/code-frame": "~7.23.5",
"ajv": "~8.12.0",
"change-case": "~5.4.2",
"globby": "~14.0.0",
"mustache": "~4.2.0",
"picocolors": "~1.0.0",
"prettier": "~3.2.5",
"prompts": "~2.4.2",
"semver": "^7.6.0",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-textdocument": "~1.0.11",
"yaml": "~2.3.4",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/babel__code-frame": "~7.0.6",
"@types/mustache": "~4.2.5",
"@types/node": "~18.11.19",
"@types/prompts": "~2.4.9",
"@types/semver": "^7.5.6",
"@types/sinon": "~17.0.3",
"@types/yargs": "~17.0.32",
"@typespec/eslint-config-typespec": "workspace:~",
"@typespec/internal-build-utils": "workspace:~",
"@vitest/coverage-v8": "^1.2.2",
"@vitest/ui": "^1.2.2",
"c8": "^9.1.0",
"eslint": "^8.56.0",
"grammarkdown": "~3.3.2",
"rimraf": "~5.0.5",
"sinon": "~17.0.1",
"source-map-support": "~0.5.21",
"tmlanguage-generator": "workspace:~",
"ts-node": "~10.9.2",
"typescript": "~5.3.3",
"vitest": "^1.2.2",
"vscode-oniguruma": "~2.0.1",
"vscode-textmate": "~9.0.0"
}
}