Organize new setup
This commit is contained in:
parent
3682a7a763
commit
16660823ea
11 changed files with 165 additions and 142 deletions
|
@ -32,9 +32,9 @@
|
|||
"clean": "rm -rf dist",
|
||||
"types": "dts-bundle-generator -o dist/muse.d.ts --project ./tsconfig.json ./src/exports.ts",
|
||||
"transpile": "bun build ./src/exports.ts --outfile ./dist/muse.js",
|
||||
"compile": "bun build ./src/cli.ts --outfile ./dist/muse --compile",
|
||||
"compile": "bun run clean && bun build ./src/cli/index.ts --outfile ./dist/muse --compile",
|
||||
"compile:install": "bun run compile && mv ./dist/muse ~/.local/bin/muse",
|
||||
"build": "bun run clean && bun run transpile && bun run types",
|
||||
"demo": "bun run ./src/cli.ts -- ./demo/main"
|
||||
"demo": "bun run ./src/cli/index.ts -- ./demo/main"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue