-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
31 lines (31 loc) · 1.27 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
{
"name": "openetg",
"type": "module",
"description": "openEtG",
"readme": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/serprex/openEtG"
},
"devDependencies": {
"@babel/plugin-syntax-import-attributes": "^7.25.6",
"@pencil.js/spritesheet": "^1.5.1",
"babel-loader": "^9.2.1",
"babel-preset-solid": "^1.8.22",
"copy-webpack-plugin": "^12.0.2",
"html-webpack-plugin": "^5.6.0",
"prettier": "^3.3.3",
"solid-js": "^1.8.22",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"test": "cargo test --manifest-path=./src/rs/Cargo.toml",
"dev": "webpack --mode=development --watch --config webpack.config.js",
"build": "npm run build-wasm && webpack --mode=production --config webpack.config.js",
"build-dev": "npm run build-wasm && webpack --mode=development --config webpack.config.js",
"build-atlas": "node scripts/sheet.js && cwebp -m 6 -q 100 assets/atlas.png -o assets/atlas.webp",
"build-wasm": "RUSTFLAGS='-C target-feature=+bulk-memory,+sign-ext' cargo build --release --manifest-path src/rs/Cargo.toml --target wasm32-unknown-unknown && wasm-bindgen --no-typescript --out-dir ./src/rs/pkg ./src/rs/target/wasm32-unknown-unknown/release/etg.wasm"
},
"license": "MIT"
}