chore: make the build script work on Windows
This commit is contained in:
parent
a0324e5f2b
commit
8cc6092d51
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,3 +25,5 @@ node_modules/
|
|||||||
# TypeScript cache
|
# TypeScript cache
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.idea
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
version: '0.0.1',
|
version: '0.0.1',
|
||||||
description: 'Another prototype for a math core',
|
description: 'Another prototype for a math core',
|
||||||
scripts: {
|
scripts: {
|
||||||
build: 'tsc && echo "{\\"type\\": \\"module\\"}" > build/package.json',
|
build: 'tsc && echo {"type": "module"} > build/package.json',
|
||||||
go: 'pnpm build && pnpm start',
|
go: 'pnpm build && pnpm start',
|
||||||
prepare: 'ts-patch install -s',
|
prepare: 'ts-patch install -s',
|
||||||
start: 'node --experimental-loader tsc-module-loader build',
|
start: 'node --experimental-loader tsc-module-loader build',
|
||||||
|
Loading…
Reference in New Issue
Block a user