feat: begin autogenerating web-tree-sitter.d.ts
This commit is contained in:
parent
be7716dfa7
commit
10e6ecf162
14 changed files with 1082 additions and 343 deletions
|
|
@ -17,7 +17,7 @@
|
|||
],
|
||||
"main": "tree-sitter.js",
|
||||
"type": "module",
|
||||
"types": "tree-sitter-web.d.ts",
|
||||
"types": "web-tree-sitter.d.ts",
|
||||
"keywords": [
|
||||
"incremental",
|
||||
"parsing",
|
||||
|
|
@ -41,6 +41,7 @@
|
|||
"@types/emscripten": "^1.39.13",
|
||||
"@types/node": "^22.10.7",
|
||||
"@vitest/coverage-v8": "^3.0.2",
|
||||
"dts-buddy": "^0.5.4",
|
||||
"esbuild": "^0.24.2",
|
||||
"eslint": "^9.18.0",
|
||||
"source-map": "^0.7.4",
|
||||
|
|
@ -57,6 +58,7 @@
|
|||
"build:debug": "npm run build:wasm:debug && npm run build:ts && cp debug/* .",
|
||||
"lint": "eslint src/*.ts script/*.ts",
|
||||
"lint:fix": "eslint src/*.ts script/*.ts --fix",
|
||||
"build:dts": "node script/generate-dts.js",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"prepack": "cp ../../LICENSE .",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue