-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 1.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "wasmtest",
"version": "1.0.0",
"description": "test webpack + emscripten",
"main": "index.mjs",
"dependencies": {},
"devDependencies": {
"copy-webpack-plugin": "^11.0.0",
"esbuild": "^0.17.14",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.1"
},
"scripts": {
"test": "node ./main.mjs",
"start": "webpack serve -c webpack.config.es6.js",
"build:es6": "webpack -c webpack.config.es6.js",
"build:cjs": "webpack -c webpack.config.cjs.js",
"serve:es6": "webpack serve -c webpack.config.es6.js",
"serve:cjs": "webpack serve -c webpack.config.cjs.js",
"build:esbuild": "esbuild index.mjs --bundle --outdir=dist-esbuild --format=esm --external:module --loader:.wasm=file --splitting",
"serve:esbuild": "esbuild index.mjs --bundle --outdir=public --servedir=public --format=esm --external:module --loader:.wasm=file --splitting"
},
"author": "David Huggins-Daines <[email protected]>",
"repository": "https://github.com/dhdaines/webpack-wasm-test",
"license": "MIT"
}