forked from asgerf/dts-tree-sitter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 905 Bytes
/
package.json
File metadata and controls
29 lines (29 loc) · 905 Bytes
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
{
"name": "@asgerf/dts-tree-sitter",
"version": "0.21.0",
"description": "Generates TypeScript .d.ts files for using tree-sitter grammars.",
"dependencies": {
"tree-sitter": "^0.21.1"
},
"devDependencies": {
"@types/node": "^16.0.0",
"tree-sitter-javascript": "^0.23.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=16"
},
"scripts": {
"watch": "tsc -p .; tsc -p . -w",
"gen-example-now": "node build/src/index.js tree-sitter-javascript > examples/javascript/generated.d.ts",
"gen-example": "tsc -p . && npm run gen-example-now",
"run-example": "tsc -p examples/javascript && node build/examples/javascript",
"prepare": "tsc -p . && chmod +x build/src/index.js"
},
"bin": {
"dts-tree-sitter": "build/src/index.js"
},
"files": [
"build/src"
]
}