-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 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
23
24
25
26
27
{
"name": "rogue-boi",
"version": "0.1.0",
"private": true,
"workspaces": [
"rogue-boi-core/pkg",
"ui"
],
"scripts": {
"ui:dev": "npm run dev --workspace=ui",
"ui:build": "npm run build --workspace=ui",
"core:dev": "cd rogue-boi-core && cargo watch -i .gitignore -i 'rogue-boi-core/pkg/*' -s 'wasm-pack build --target web --dev'",
"core:build": "cd rogue-boi-core && wasm-pack build --target web",
"core:build-dev": "cd rogue-boi-core && wasm-pack build --target web --dev",
"build": "npm run core:build && npm run ui:build",
"build:dev": "npm run core:build-dev && npm run ui:build",
"dev": "cargo xtask copy-icons && npm run core:build-dev && concurrently --kill-others-on-fail 'npm run ui:dev' 'npm run core:dev'",
"lint": "npm run lint --workspace=ui",
"format": "npm run format --workspace=ui",
"bundle": "cargo xtask copy-icons && npm run build && cargo xtask bundle"
},
"devDependencies": {
"concurrently": "^6.3.0",
"cypress": "^13.3.0"
},
"type": "module"
}