-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.07 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
{
"name": "nabla-game",
"version": "0.1.0",
"description": "Online version of Nabla Operator Game (https://nablagame.com/) - made with Rust/WASM",
"main": "index.js",
"author": "inferrinizzard",
"repository": {
"type": "git",
"url": "https://github.com/inferrinizzard/nabla-game.git"
},
"license": "MIT",
"scripts": {
"clean": "rimraf dist pkg",
"build": "yarn clean && rustup default stable && webpack --mode=production",
"build:cargo": "cargo build --lib --target wasm32-unknown-unknown",
"start": "yarn clean && webpack serve --mode=development --live-reload --watch-files=src --open --hot",
"watch": "yarn clean && webpack --watch",
"test:print": "cargo test -- --nocapture",
"test:cargo": "cargo test",
"test:wasm": "wasm-pack test --headless --chrome",
"test": "yarn test:cargo && yarn test:wasm"
},
"dependencies": {
"katex": "^0.15.2"
},
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "^1.6.0",
"copy-webpack-plugin": "^10.2.0",
"rimraf": "^3.0.0",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.1"
}
}