-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
30 lines (30 loc) · 1.13 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
{
"name": "chip8-rs",
"version": "1.0.0",
"author": "Faiz Ilham <faizilham.faizz@gmail.com>",
"license": "MIT",
"scripts": {
"start": "yarn run wasm && yarn run web",
"build": "yarn run build-wasm && yarn run build-web",
"build-wasm": "rimraf pkg && wasm-pack build --release && yarn run build-opt",
"build-opt": "wasm-opt -Os -o pkg/chip8_rs_bg.wasm pkg/chip8_rs_bg.wasm || echo continuing without wasm-opt",
"build-web": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.js",
"wasm": "wasm-pack build --dev",
"web": "cross-env NODE_ENV=development webpack-dev-server",
"test": "wasm-pack test --firefox --headless",
"test-chrome": "wasm-pack test --chrome --headless"
},
"devDependencies": {
"copy-webpack-plugin": "^5.0.5",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.8.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"rimraf": "^3.0.0",
"terser-webpack-plugin": "^2.2.1",
"webpack": "^4.29.3",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5"
}
}