-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
22 lines (22 loc) · 1.02 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
{
"author": "Mario Reder <[email protected]>",
"name": "smmdb",
"version": "auto",
"description": "A utility library for Super Mario Maker and Super Mario Maker 2 to read and manipulate game files.",
"repository": "https://github.com/Tarnadas/smmdb-lib",
"license": "MIT",
"scripts": {
"build": "yarn clean && yarn build:web && yarn build:node",
"build:web": "CARGO_PROFILE_RELEASE_OPT_LEVEL=z wasm-pack build --release --target=browser --out-name=smmdb",
"build:web-dev": "wasm-pack build --dev --target=browser --out-name=smmdb",
"build:node": "CARGO_PROFILE_RELEASE_OPT_LEVEL=z wasm-pack build --release --target=nodejs --out-name=smmdb-node",
"clean": "rimraf ./dist && rimraf ./pkg",
"test": "yarn test:node && yarn test:web",
"test:node": "wasm-pack test --node",
"test:web": "wasm-pack test --headless --chrome --firefox",
"watch": "cargo watch -w src -i src/proto -s 'wasm-pack build --dev --target=browser --out-name=smmdb'"
},
"devDependencies": {
"rimraf": "^5.0.5"
}
}