mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-01-26 03:34:03 +00:00
- Add full ShellSpec grammar extending tree-sitter-bash - Support all ShellSpec constructs: Describe, Context, It, hooks, utilities - Include Data block parsing with statements and argument styles - Add 61 comprehensive test cases covering real-world patterns - Implement optimized GitHub workflows with CI/CD automation - Configure complete development tooling (linting, formatting, pre-commit) - Add comprehensive documentation and contribution guidelines - Optimize grammar conflicts to zero warnings - Support editor integration for Neovim, VS Code, Emacs Breaking Changes: - Initial release, no previous API to break BREAKING CHANGE: Initial implementation of tree-sitter-shellspec grammar # Conflicts: # .github/workflows/codeql.yml # .github/workflows/pr-lint.yml # .pre-commit-config.yaml # Conflicts: # .github/workflows/pr-lint.yml # Conflicts: # .github/workflows/pr-lint.yml
32 lines
1.0 KiB
JSON
32 lines
1.0 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"
|
|
},
|
|
"dependencies": {
|
|
"tree-sitter-bash": "^0.25.0"
|
|
},
|
|
"devDependencies": {
|
|
"markdownlint-cli": "^0.42.0",
|
|
"nodemon": "^3.0.1",
|
|
"tree-sitter-cli": "^0.24.2"
|
|
}
|
|
}
|