diff --git a/packages/squiggle-lang/bin/squiggle.js b/packages/squiggle-lang/bin/squiggle.js new file mode 100755 index 0000000000..3b0c77af59 --- /dev/null +++ b/packages/squiggle-lang/bin/squiggle.js @@ -0,0 +1,2 @@ +#!/usr/bin/env node +import "../dist/cli/index.js"; diff --git a/packages/squiggle-lang/package.json b/packages/squiggle-lang/package.json index 7d116c2dac..a4ad892d18 100644 --- a/packages/squiggle-lang/package.json +++ b/packages/squiggle-lang/package.json @@ -71,6 +71,7 @@ }, "files": [ "dist", + "bin", "src", "!**/tsconfig*.tsbuildinfo", "!**/__tests__" @@ -84,6 +85,6 @@ "./runners/WebWorkerRunner": "./dist/runners/WebWorkerRunner.js" }, "bin": { - "squiggle": "./dist/cli/index.js" + "squiggle": "./bin/squiggle.js" } }