diff --git a/cli/eslint/package.json b/cli/eslint/package.json index d53bf3a4..a3ba26c9 100644 --- a/cli/eslint/package.json +++ b/cli/eslint/package.json @@ -4,7 +4,8 @@ "description": "Eslint configuration for Tree-sitter grammar files", "repository": { "type": "git", - "url": "git+https://github.com/tree-sitter/tree-sitter.git" + "url": "git+https://github.com/tree-sitter/tree-sitter.git", + "directory": "crates/cli/eslint" }, "license": "MIT", "author": "Amaan Qureshi ", diff --git a/cli/npm/package.json b/cli/npm/package.json index dddff0a9..34ef9901 100644 --- a/cli/npm/package.json +++ b/cli/npm/package.json @@ -14,14 +14,14 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/tree-sitter/tree-sitter.git" + "url": "git+https://github.com/tree-sitter/tree-sitter.git", + "directory": "crates/cli/npm" }, "description": "CLI for generating fast incremental parsers", "keywords": [ "parser", "lexer" ], - "main": "lib/api/index.js", "engines": { "node": ">=12.0.0" }, diff --git a/lib/binding_web/package.json b/lib/binding_web/package.json index 72ca73ca..9945c51d 100644 --- a/lib/binding_web/package.json +++ b/lib/binding_web/package.json @@ -2,8 +2,11 @@ "name": "web-tree-sitter", "version": "0.25.8", "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", + "repository": { + "type": "git", + "url": "git+https://github.com/tree-sitter/tree-sitter.git", + "directory": "lib/binding_web" + }, "license": "MIT", "author": { "name": "Max Brunsfeld",