mirror of
https://github.com/laosb/SvelteNova.git
synced 2025-04-30 12:41:09 +00:00
fix: Tree-sitter build scripts.
This commit is contained in:
parent
554463eb63
commit
c19f7a2abb
2 changed files with 4 additions and 1 deletions
|
@ -16,3 +16,4 @@ mv tree-sitter-svelte/build/lib/libtree-sitter-svelte.dylib SvelteNova.novaexten
|
||||||
# Clean up the submodule folder to avoid problems
|
# Clean up the submodule folder to avoid problems
|
||||||
rm -rf tree-sitter-svelte/build
|
rm -rf tree-sitter-svelte/build
|
||||||
rm tree-sitter-svelte/Makefile
|
rm tree-sitter-svelte/Makefile
|
||||||
|
rm tree-sitter-svelte/libtree-sitter-svelte.dylib
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": false,
|
"private": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c && cp README.md LICENSE CHANGELOG.md SvelteNova.novaextension && rm -rf SvelteNova.novaextension/node_modules"
|
"build:tree-sitter": "./build_scripts/build_parser.sh /Applications/Nova.app",
|
||||||
|
"build:js": "rollup -c && cp README.md LICENSE CHANGELOG.md SvelteNova.novaextension && rm -rf SvelteNova.novaextension/node_modules",
|
||||||
|
"build": "yarn build:tree-sitter && yarn build:js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-commonjs": "^17.1.0",
|
"@rollup/plugin-commonjs": "^17.1.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue