This commit completes the migration started in the previous commit, updating all remaining files: - Lexer: Changed token from Extends to Modifies - Parser: Updated lalrpop grammar rules and AST field names - AST: Renamed Schedule.extends field to modifies - Grammar: Updated tree-sitter grammar.js - Tree-sitter: Regenerated parser.c and node-types.json - Examples: Updated baker-family work schedules - Tests: Updated schedule composition tests and corpus - Docs: Updated all reference documentation and tutorials - Validation: Updated error messages and validation logic - Package: Bumped version to 0.3.1 in all package manifests All 554 tests pass.
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"name": "tree-sitter-storybook",
|
|
"version": "0.3.1",
|
|
"description": "Tree-sitter grammar for Storybook narrative DSL",
|
|
"main": "bindings/node",
|
|
"types": "bindings/node",
|
|
"keywords": [
|
|
"tree-sitter",
|
|
"parser",
|
|
"storybook"
|
|
],
|
|
"files": [
|
|
"grammar.js",
|
|
"binding.gyp",
|
|
"prebuilds/**",
|
|
"bindings/node/*",
|
|
"queries/*",
|
|
"src/**"
|
|
],
|
|
"dependencies": {
|
|
"node-addon-api": "^7.1.0",
|
|
"node-gyp-build": "^4.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"tree-sitter-cli": "^0.20.8",
|
|
"prebuildify": "^6.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"tree-sitter": "^0.20.4"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"tree_sitter": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"install": "node-gyp-build",
|
|
"prebuildify": "prebuildify --napi --strip",
|
|
"build": "tree-sitter generate && node-gyp-build",
|
|
"build-wasm": "tree-sitter build-wasm",
|
|
"test": "tree-sitter test"
|
|
},
|
|
"tree-sitter": [
|
|
{
|
|
"scope": "source.storybook",
|
|
"file-types": ["sb"],
|
|
"highlights": "queries/highlights.scm"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/yourusername/storybook"
|
|
},
|
|
"license": "MIT"
|
|
}
|