Skip to content

Commit 27cfb07

Browse files
committed
chore: update package.json scripts
1 parent 336e51d commit 27cfb07

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
"clientinstall": "npm install --prefix client",
99
"server": "tsx index.ts",
1010
"start": "concurrently \"npm run server\" \"npm run client\"",
11-
"build": "vite build",
11+
"build": "npm run build-ui && npm run build-lib",
12+
"test": "NODE_ENV=test ts-mocha './test/**/*.test.js' --exit",
1213
"build-ts": "tsc",
13-
"test": "NODE_ENV=test ts-mocha './test/*.js' --exit",
14+
"build-ui": "vite build",
15+
"build-lib": "./scripts/build-for-publish.sh",
16+
"restore-lib": "./scripts/undo-build.sh",
17+
"check-types": "tsc",
1418
"test-coverage": "nyc npm run test",
1519
"test-coverage-ci": "nyc --reporter=lcovonly --reporter=text npm run test",
1620
"prepare": "node ./scripts/prepare.js",

0 commit comments

Comments
 (0)