From 8cc6092d51191e19cb6cfaf61d01cb73662f5d23 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Fri, 11 Oct 2024 09:34:16 +0200 Subject: [PATCH] chore: make the build script work on Windows --- .gitignore | 2 ++ package.json5 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 773a89b..af4b6f4 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,5 @@ node_modules/ # TypeScript cache *.tsbuildinfo +# IDE +.idea diff --git a/package.json5 b/package.json5 index 61b3f24..ebb3ed2 100644 --- a/package.json5 +++ b/package.json5 @@ -3,7 +3,7 @@ version: '0.0.1', description: 'Another prototype for a math core', scripts: { - build: 'tsc && echo "{\\"type\\": \\"module\\"}" > build/package.json', + build: 'tsc && echo {"type": "module"} > build/package.json', go: 'pnpm build && pnpm start', prepare: 'ts-patch install -s', start: 'node --experimental-loader tsc-module-loader build',