Skip to content

Commit

Permalink
chore: update manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Mar 6, 2023
1 parent 7c8d5f3 commit 7afc7ac
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 24 deletions.
7 changes: 6 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
src/ linguist-generated=true
/src/** linguist-vendored
/examples/* linguist-vendored

src/grammar.json -diff
src/node-types.json -diff
src/parser.c -diff
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.direnv
node_modules
build
go.work
Session.vim
Cargo.lock
package-lock.json
/build
/node_modules
/examples/*/
/target
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/test
/examples
/build
/script
/target
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
[package]
name = "tree-sitter-bass"
description = "Bass grammar for the tree-sitter parsing library"
description = "Bass grammar for tree-sitter"
version = "0.0.1"
authors = [
"Alex Suraci <suraci.alex@gmail.com>",
"Amaan Qureshi <amaanq12@gmail.com>",
]
license = "MIT"
readme = "bindings/rust/README.md"
keywords = ["incremental", "parsing", "bass"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/vito/tree-sitter-bass"
edition = "2018"
license = "MIT"
edition = "2021"
autoexamples = false

build = "bindings/rust/build.rs"
include = [
"bindings/rust/*",
"grammar.js",
"queries/*",
"src/*",
]
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]

[lib]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "~0.20"
tree-sitter = "~0.20.9"

[build-dependencies]
cc = "1.0"
41 changes: 33 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,49 @@
{
"name": "tree-sitter-bass",
"version": "0.10.0",
"description": "Bass grammar for Tree-sitter.",
"main": "grammar.js",
"repository": "https://github.com/vito/tree-sitter-bass",
"author": "Alex Suraci",
"version": "0.0.1",
"description": "Bass grammar for tree-sitter",
"main": "bindings/node",
"keywords": [
"parser",
"lexer",
"bass"
],
"author": "Alex Suraci <suraci.alex@gmail.com>",
"contributors": [
"Amaan Qureshi <amaanq12@gmail.com>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/vito/tree-sitter-bass/issues"
},
"homepage": "https://github.com/vito/tree-sitter-bass#readme",
"dependencies": {
"nan": "^2.16.0"
},
"devDependencies": {
"typescript": "^4.8.2"
"eslint": "^8.35.0",
"eslint-config-google": "^0.14.0",
"tree-sitter-cli": "^0.20.7"
},
"repository": "https://github.com/vito/tree-sitter-bass",
"scripts": {
"build": "tree-sitter generate && node-gyp build",
"lint": "eslint grammar.js",
"parse": "tree-sitter parse",
"test": "tree-sitter test && script/parse-examples",
"test-windows": "tree-sitter test"
},
"tree-sitter": [
{
"scope": "source.bass",
"file-types": ["bass"],
"first-line-regex": "#!.*\\bbass$"
"injection-regex": "bass",
"first-line-regex": "#!.*\\bbass$",
"file-types": [
"bass"
],
"highlights": [
"queries/highlights.scm"
]
}
]
}

0 comments on commit 7afc7ac

Please sign in to comment.