chore: make the build script work on Windows

This commit is contained in:
Jos de Jong 2024-10-11 09:34:16 +02:00
parent a0324e5f2b
commit 8cc6092d51
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -25,3 +25,5 @@ node_modules/
# TypeScript cache
*.tsbuildinfo
# IDE
.idea

View File

@ -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',