File tree Expand file tree Collapse file tree 4 files changed +8
-26
lines changed Expand file tree Collapse file tree 4 files changed +8
-26
lines changed Original file line number Diff line number Diff line change 44 "description" : " {{project-description}}" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- {%- if package-manager == "npm" -% }
8- "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && npx webpack --mode=production && npx mkdirp dist && npx j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
9- {%- else -% }
10- "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && yarn exec webpack -- --mode=production && yarn exec mkdirp -- dist && yarn exec j2w -- -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
11- {%- endif -% }
12- "test" : " echo \" Error: no test specified\" && exit 1"
7+ "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && webpack --mode=production && mkdirp dist && j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
8+ "test" : " echo \" Error: no test specified\" && exit 1"
139 },
1410 "keywords" : [],
1511 "author" : " " ,
2420 "@fermyon/spin-sdk" : " ^3.0.0" ,
2521 "itty-router" : " ^5.0.18"
2622 }
27- }
23+ }
Original file line number Diff line number Diff line change 44 "description" : " {{project-description}}" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- {%- if package-manager == "npm" -% }
8- "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && npx webpack --mode=production && npx mkdirp dist && npx j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{ project-name | kebab_case }}.wasm" ,
9- {%- else -% }
10- "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && webpack --mode=production && mkdirp -- dist && j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{ project-name | kebab_case }}.wasm" ,
11- {%- endif -% }
7+ "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && webpack --mode=production && mkdirp dist && j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{ project-name | kebab_case }}.wasm" ,
128 "test" : " echo \" Error: no test specified\" && exit 1"
139 },
1410 "keywords" : [],
Original file line number Diff line number Diff line change 44 "description" : " {{project-description}}" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- {%- if package-manager == "npm" -% }
8- "build" : " npx webpack --mode=production && npx mkdirp dist && npx j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
9- {%- else -% }
10- "build" : " yarn exec webpack -- --mode=production && yarn exec mkdirp -- dist && yarn exec j2w -- -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
11- {%- endif -% }
12- "test" : " echo \" Error: no test specified\" && exit 1" ,
13- "postinstall" : " knitwit --out-dir build/wit/knitwit --out-world combined"
7+ "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && webpack --mode=production && mkdirp dist && j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
8+ "test" : " echo \" Error: no test specified\" && exit 1"
149 },
1510 "keywords" : [],
1611 "author" : " " ,
Original file line number Diff line number Diff line change 44 "description" : " {{project-description}}" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- {%- if package-manager == "npm" -% }
8- "build" : " npx webpack --mode=production && npx mkdirp dist && npx j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
9- {%- else -% }
10- "build" : " yarn exec webpack -- --mode=production && yarn exec mkdirp -- dist && yarn exec j2w -- -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
11- {%- endif -% }
12- "test" : " echo \" Error: no test specified\" && exit 1" ,
13- "postinstall" : " knitwit --out-dir build/wit/knitwit --out-world combined"
7+ "build" : " knitwit --out-dir build/wit/knitwit --out-world combined && webpack --mode=production && mkdirp dist && j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/{{project-name | kebab_case}}.wasm" ,
8+ "test" : " echo \" Error: no test specified\" && exit 1"
149 },
1510 "keywords" : [],
1611 "author" : " " ,
You can’t perform that action at this time.
0 commit comments