mirror of https://github.com/Wilfred/difftastic/
67 lines
1.4 KiB
JSON
67 lines
1.4 KiB
JSON
{
|
|
"name": "tree-sitter-dart",
|
|
"version": "1.0.0",
|
|
"description": "Dart grammar attempt for tree-sitter",
|
|
"main": "bindings/node",
|
|
"keywords": [
|
|
"tree-sitter",
|
|
"parser",
|
|
"dart"
|
|
],
|
|
"contributors": [
|
|
"Benjamin Sobel",
|
|
"Tim Whiting <tim.a.whiting@gmail.com>",
|
|
"Stephan Seitz <stephan.seitz@fau.de>",
|
|
"Martin Jambon <github@mjambon.com>",
|
|
"Kyosuke Takayama @ktakayama",
|
|
"Han Wang @hanwangio",
|
|
"@akinsho",
|
|
"@seb-bl"
|
|
],
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"nan": "^2.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"node-gyp": "^9.3.1",
|
|
"npm-watch": "^0.11.0",
|
|
"tree-sitter-cli": "^0.20.8"
|
|
},
|
|
"watch": {
|
|
"test": {
|
|
"patterns": [
|
|
"corpus"
|
|
],
|
|
"extensions": "dart",
|
|
"quiet": true
|
|
},
|
|
"build-test": {
|
|
"patterns": [
|
|
"./"
|
|
],
|
|
"extensions": [
|
|
"js",
|
|
"scm",
|
|
"txt"
|
|
],
|
|
"quiet": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build_init": "tree-sitter generate && node-gyp configure && node-gyp build",
|
|
"build": "tree-sitter generate && node-gyp build",
|
|
"test": "tree-sitter test",
|
|
"build-test": "tree-sitter generate && node-gyp build && tree-sitter test",
|
|
"watch-test": "npm-watch test",
|
|
"watch-grammar": "npm-watch build-test"
|
|
},
|
|
"tree-sitter": [
|
|
{
|
|
"scope": "source.dart",
|
|
"file-types": [
|
|
"dart"
|
|
],
|
|
"injection-regex": "dart"
|
|
}
|
|
]
|
|
} |