mirror of
https://github.com/github/codeql.git
synced 2026-08-01 16:02:57 +02:00
69 lines
1.6 KiB
JSON
69 lines
1.6 KiB
JSON
{
|
|
"name": "tree-sitter-swift",
|
|
"version": "0.7.2",
|
|
"description": "A tree-sitter grammar for the Swift programming language.",
|
|
"main": "bindings/node/index.js",
|
|
"types": "bindings/node",
|
|
"scripts": {
|
|
"install": "node-gyp-build",
|
|
"prestart": "tree-sitter build --wasm",
|
|
"start": "tree-sitter playground",
|
|
"test": "node --test bindings/node/*_test.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/alex-pinkus/tree-sitter-swift.git"
|
|
},
|
|
"tree-sitter": [
|
|
{
|
|
"scope": "source.swift",
|
|
"file-types": [
|
|
"swift"
|
|
],
|
|
"injection-regex": "swift",
|
|
"highlights": "queries/highlights.scm",
|
|
"locals": "queries/locals.scm",
|
|
"injections": "queries/injections.scm"
|
|
}
|
|
],
|
|
"keywords": [
|
|
"parser",
|
|
"swift"
|
|
],
|
|
"files": [
|
|
"grammar.js",
|
|
"tree-sitter.json",
|
|
"binding.gyp",
|
|
"prebuilds/**",
|
|
"bindings/node/*",
|
|
"queries/*",
|
|
"scripts/*",
|
|
"src/**"
|
|
],
|
|
"author": "Alex Pinkus <alex.pinkus@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/alex-pinkus/tree-sitter-swift/issues"
|
|
},
|
|
"homepage": "https://github.com/alex-pinkus/tree-sitter-swift#readme",
|
|
"dependencies": {
|
|
"node-addon-api": "^8.0.0",
|
|
"node-gyp-build": "^4.8.0",
|
|
"tree-sitter-cli": "^0.23",
|
|
"which": "2.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"tree-sitter": "^0.22.1"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"tree_sitter": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"node-gyp": "^10.0.1",
|
|
"prebuildify": "^6.0.0",
|
|
"prettier": "2.3.2"
|
|
}
|
|
}
|