diff options
Diffstat (limited to 'js/baba-yaga/package.json')
-rw-r--r-- | js/baba-yaga/package.json | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/js/baba-yaga/package.json b/js/baba-yaga/package.json index f193d1a..cc244e2 100644 --- a/js/baba-yaga/package.json +++ b/js/baba-yaga/package.json @@ -1,21 +1,30 @@ { - "name": "scripts", + "name": "baba-yaga", + "version": "2.0.0", + "description": "A functional programming language with high-performance engine", + "main": "index.js", "module": "index.js", "type": "module", "scripts": { "run": "bun run index.js example.baba", "bun:run": "bun run index.js example.baba", "node:run": "node index.js example.baba", - "parity": "node experimental/parity.js example.baba", - "compile": "node experimental/compiler.js --in example.baba -o out.js --format esm --mode closure", + "debug": "bun run index.js example.baba --debug", + "profile": "bun run index.js example.baba --profile", + "legacy": "bun run index.js example.baba --legacy", "repl": "node repl.js", "bun:repl": "bun run repl.js", - "fmt": "node fmt.js", - "bun:fmt": "bun run fmt.js", - "node:fmt": "node fmt.js", - "web:dev": "bunx http-server .", - "web:build": "bun build web/app.js --outdir=public --target=browser --minify --sourcemap", - "web:serve": "bunx http-server public" + "benchmark": "bun run src/benchmarks/simple-benchmark.js", + "benchmark:full": "bun run src/benchmarks/benchmark-suite.js", + "build": "bun run build.js", + "build:all": "bun run build.js --all", + "build:linux": "bun run build.js --target=linux-x64", + "build:windows": "bun run build.js --target=windows-x64", + "build:macos-intel": "bun run build.js --target=macos-x64", + "build:macos-arm": "bun run build.js --target=macos-arm64", + "build:clean": "rm -rf build/", + "build:help": "bun run build.js --help", + "install:binaries": "cp build/baba-yaga* /usr/local/bin/ 2>/dev/null || echo 'Run with sudo to install globally'" }, "devDependencies": { "@types/bun": "latest" |