mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-01-26 03:34:03 +00:00
- Update GitHub Actions to latest versions (checkout v6, setup-node v6, cache v4.3) - Update package dependencies - Format workflow files - Update .gitignore and project configuration
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "@ivuorinen/tree-sitter-shellspec",
|
|
"version": "0.1.0",
|
|
"description": "ShellSpec grammar for tree-sitter (extends bash)",
|
|
"main": "grammar.js",
|
|
"author": "Ismo Vuorinen",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"generate": "tree-sitter generate",
|
|
"test": "tree-sitter test",
|
|
"parse": "tree-sitter parse",
|
|
"web": "tree-sitter web-ui",
|
|
"build": "npm run generate",
|
|
"dev": "npm run generate && npm run test",
|
|
"dev:watch": "nodemon --watch grammar.js --watch test/ --ext js,txt --exec 'npm run dev'",
|
|
"lint": "npx mega-linter-runner",
|
|
"lint:yaml": "yamllint .",
|
|
"lint:markdown": "markdownlint . --config .markdownlint.json --ignore node_modules --fix",
|
|
"precommit": "pre-commit run --all-files",
|
|
"clean": "rm -rf src/parser.c src/grammar.json src/node-types.json",
|
|
"rebuild": "npm run clean && npm run generate"
|
|
},
|
|
"tree-sitter": [
|
|
{
|
|
"scope": "source.shellspec",
|
|
"file-types": [
|
|
"shellspec"
|
|
],
|
|
"path": ".",
|
|
"grammar-path": "grammar.js",
|
|
"highlights": "queries/highlights.scm"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"tree-sitter-bash": "^0.25.0"
|
|
},
|
|
"devDependencies": {
|
|
"markdownlint-cli": "^0.46.0",
|
|
"nodemon": "^3.0.1",
|
|
"tree-sitter-cli": "^0.25.0"
|
|
}
|
|
}
|