|
26 | 26 | "terser-bundle": "npm run terser -- dist/bundle.js -o dist/bundle.min.js --mangle --compress",
|
27 | 27 | "webpack-bundle": "npm run webpack -- -p --entry ./out-node/app.js --output ./dist/bundle.min.js --target node",
|
28 | 28 |
|
29 |
| - "prebuild-lib-dotnet": "git clean -fdx && npm run tsc -- -p ../../../fable-library --outDir ./out-lib", |
| 29 | + "build-lib-ts": "npm run tsc -- -p ../../../fable-library --outDir ./out-lib", |
30 | 30 | "build-lib-dotnet": "dotnet run -c Release ../../../fable-library/Fable.Library.fsproj out-lib --fableLib out-lib",
|
| 31 | + "build-lib-erased": "dotnet run -c Release ../../../fable-library/Fable.Library.fsproj out-lib --fableLib out-lib --eraseUnions", |
31 | 32 | "prebuild-lib-dotnet-ts": "git clean -fdx && mkdir out-lib && cp -R ../../../fable-library/*.ts out-lib",
|
32 | 33 | "build-lib-dotnet-ts": "dotnet run -c Release ../../../fable-library/Fable.Library.fsproj out-lib --typescript --fableLib out-lib",
|
33 | 34 | "tsc-lib-init": "npm run tsc -- --init --target es2020 --module es2020 --allowJs",
|
|
46 | 47 | "build-tests-dotnet-ts": "dotnet run -c Release ../../../../tests/Main/Fable.Tests.fsproj out-tests --typescript",
|
47 | 48 | "build-tests-dotnet-opt": "dotnet run -c Release ../../../../tests/Main/Fable.Tests.fsproj out-tests --optimize",
|
48 | 49 | "build-tests-node": "node out-node/app.js ../../../../tests/Main/Fable.Tests.fsproj out-tests",
|
| 50 | + "prebuild-tests-erased": "git clean -fdx && npm run build-lib-erased && npm run build-lib-ts", |
| 51 | + "build-tests-erased": "npm run build-tests-dotnet -- --fableLib out-lib --eraseUnions", |
49 | 52 | "tests": "npm run mocha -- out-tests -r esm --colors --reporter dot",
|
50 | 53 |
|
51 |
| - "prebuild-fable-library": "dotnet run -c Release ../../../fable-library/Fable.Library.fsproj out-lib --fableLib out-lib --eraseUnions", |
52 |
| - "build-fable-library": "npm run tsc -- -p ../../../fable-library --outDir ./out-lib", |
53 |
| - "prebuild-tests": "git clean -fdx && npm run build-fable-library", |
54 |
| - "build-tests": "npm run build-tests-dotnet -- --fableLib out-lib --eraseUnions", |
55 |
| - |
56 | 54 | "tsc": "node ../../../../node_modules/typescript/bin/tsc",
|
57 | 55 | "babel": "node ../../../../node_modules/@babel/cli/bin/babel",
|
58 | 56 | "mocha": "node ../../../../node_modules/mocha/bin/mocha",
|
|
0 commit comments