-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
37 lines (37 loc) · 1.08 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
28
29
30
31
32
33
34
35
36
37
{
"name": "hahoe",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/ytw0728/hahoe.git",
"author": "ytw0728 <[email protected]>",
"license": "ISC",
"scripts": {
"dev": "yarn exec run-p -- -nl \"serve:web\" \"watch:wasm\"",
"serve:web": "yarn exec wait-on dist-wasm && webpack serve --mode=development",
"watch:wasm": "cargo watch -- yarn build:wasm",
"build:web": "yarn build:wasm && webpack --mode=production --node-env=production",
"build:wasm": "wasm-pack build core --out-dir ../dist-wasm",
"watch": "webpack --watch"
},
"devDependencies": {
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.6.0",
"prettier": "^2.6.2",
"style-loader": "^3.3.1",
"ts-loader": "^9.3.0",
"typescript": "^4.7.3",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.1"
},
"dependencies": {
"@wasm-tool/wasm-pack-plugin": "^1.6.0",
"npm-run-all": "^4.1.5",
"wait-on": "^6.0.1"
},
"volta": {
"node": "16.15.1",
"yarn": "1.22.18"
}
}