Skip to content

Commit d3c5520

Browse files
committed
Update git ignore and new package.json
1 parent bcf9c0a commit d3c5520

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

frameworks/keyed/blazor-wasm-aot/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist/
1+
bundeled-dist/
22
dotnet/
33
obj/
44
bin/

frameworks/keyed/blazor-wasm-aot/package.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
2-
"name": "js-framework-benchmark-blazor-wasm-aot",
2+
"name": "js-framework-benchmark-blazor-wasm",
33
"version": "1.0.0",
4-
"description": "Blazor WebAssembly AOT demo",
4+
"description": "Blazor WebAssembly demo",
55
"js-framework-benchmark": {
66
"frameworkVersion": "6.0.1",
7-
"customURL": "/dist/wwwroot/"
7+
"customURL": "/bundeled-dist/wwwroot/"
88
},
99
"scripts": {
10-
"postinstall": "run-script-os",
11-
"postinstall:win32": "dotnet-install.cmd",
12-
"postinstall:nix": "./dotnet-install.sh",
10+
"install": "echo This is a no-op. && echo Due to heavy dependencies, the generated javascript is already provided. && echo If you really want to clone reflex-dom\\'s benchmark and build system use: && echo npm run install-force",
11+
"build-prod": "echo This is a no-op. && echo Due to heavy dependencies, the generated javascript is already provided. && echo If you really want to rebuild from source use: && echo npm run build-prod-force",
12+
"install-force": "run-script-os",
13+
"install-force:win32": "dotnet-install.cmd",
14+
"install-force:nix": "./dotnet-install.sh",
1315
"build-dev": "run-script-os",
1416
"build-dev:win32": "cross-env DOTNET_CLI_TELEMETRY_OPTOUT=0 ./dotnet/dotnet.exe build ./src/ -c Debug",
1517
"build-dev:nix": "cross-env DOTNET_CLI_TELEMETRY_OPTOUT=0 ./dotnet/dotnet build ./src/ -c Debug",
16-
"build-prod": "run-script-os",
17-
"build-prod:win32": "cross-env DOTNET_CLI_TELEMETRY_OPTOUT=0 ./dotnet/dotnet.exe publish ./src/ -c Release -o ./dist",
18-
"build-prod:nix": "cross-env DOTNET_CLI_TELEMETRY_OPTOUT=0 ./dotnet/dotnet publish ./src/ -c Release -o ./dist"
18+
"build-prod-force": "rimraf bundeled-dist && run-script-os",
19+
"build-prod-force:win32": "cross-env DOTNET_CLI_TELEMETRY_OPTOUT=0 ./dotnet/dotnet.exe publish ./src/ -c Release -o ./bundeled-dist",
20+
"build-prod-force:nix": "cross-env DOTNET_CLI_TELEMETRY_OPTOUT=0 ./dotnet/dotnet publish ./src/ -c Release -o ./bundeled-dist"
1921
},
2022
"keywords": [
2123
"blazor",
@@ -29,8 +31,10 @@
2931
"type": "git",
3032
"url": "https://github.com/krausest/js-framework-benchmark.git"
3133
},
32-
"dependencies": {},
34+
"dependencies": {
35+
},
3336
"devDependencies": {
37+
"rimraf": "^3.0.2",
3438
"cross-env": "^7.0.2",
3539
"run-script-os": "1.1.1"
3640
}

frameworks/keyed/blazor-wasm/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist/
1+
bundeled-dist/
22
dotnet/
33
obj/
44
bin/

0 commit comments

Comments
 (0)