Files
zeekay c1b297d9b3 State a version once
A version written into a manifest is written into every manifest that wants it,
which is how eslint came to exist in a hundred and four forms across this estate
and how a package came to resolve twice at run time. The catalog moves the number
out of the manifest: a manifest names the package, the workspace names the
version.

Four are held below their latest because the newer release cannot be used, and
the reason is recorded rather than the version alone: @noble/hashes 2 renamed
every subpath the web3 stack imports, @splinetool/runtime 2 depends on a package
that was never published, @dynamic-labs 5.4.1 the same, and react-resizable-panels
3 points its types condition at the bundle.
2026-08-29 13:46:56 -07:00

87 lines
2.4 KiB
JSON

{
"name": "web-tree-sitter",
"version": "0.26.0",
"description": "Tree-sitter bindings for the web",
"repository": "https://github.com/tree-sitter/tree-sitter",
"homepage": "https://github.com/tree-sitter/tree-sitter/tree/master/lib/binding_web",
"license": "MIT",
"author": {
"name": "Max Brunsfeld",
"email": "[email protected]"
},
"maintainers": [
{
"name": "Amaan Qureshi",
"email": "[email protected]"
}
],
"type": "module",
"exports": {
".": {
"import": "./web-tree-sitter.js",
"require": "./web-tree-sitter.cjs",
"types": "./web-tree-sitter.d.ts"
},
"./debug": {
"import": "./debug/web-tree-sitter.js",
"require": "./debug/web-tree-sitter.cjs",
"types": "./web-tree-sitter.d.ts"
}
},
"types": "web-tree-sitter.d.ts",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"wasm"
],
"files": [
"README.md",
"web-tree-sitter.cjs",
"web-tree-sitter.cjs.map",
"web-tree-sitter.js",
"web-tree-sitter.js.map",
"web-tree-sitter.wasm",
"web-tree-sitter.wasm.map",
"debug/web-tree-sitter.cjs",
"debug/web-tree-sitter.cjs.map",
"debug/web-tree-sitter.js",
"debug/web-tree-sitter.js.map",
"debug/web-tree-sitter.wasm",
"debug/web-tree-sitter.wasm.map",
"web-tree-sitter.d.ts",
"web-tree-sitter.d.ts.map",
"src/**/*.ts",
"lib/*.c",
"lib/*.h"
],
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/emscripten": "^1.41.5",
"@types/node": "26.4.0",
"@vitest/coverage-v8": "^4.1.11",
"dts-buddy": "^0.8.3",
"esbuild": "^0.28.2",
"eslint": "^10.9.1",
"source-map": "^0.8.0",
"tsx": "^4.23.12",
"typescript": "7.0.2",
"typescript-eslint": "^8.68.0",
"vitest": "^4.1.11"
},
"scripts": {
"build:ts": "node script/build.js",
"build:wasm": "cd ../../ && cargo xtask build-wasm",
"build:wasm:debug": "cd ../../ && cargo xtask build-wasm --debug",
"build": "npm run build:wasm && npm run build:ts",
"build:debug": "npm run build:wasm:debug && npm run build:ts -- --debug",
"build:dts": "node script/generate-dts.js",
"lint": "eslint src/*.ts script/*.ts test/*.ts",
"lint:fix": "eslint src/*.ts script/*.ts test/*.ts --fix",
"test": "vitest run",
"test:watch": "vitest",
"prepack": "cp ../../LICENSE .",
"prepublishOnly": "tsx script/check-artifacts-fresh.ts"
}
}