✨ Support test packaging process
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"scripts": {
|
||||
"start": "npm run dev",
|
||||
"dev": "npm run tauri dev",
|
||||
"build": "npm run tauri build --release",
|
||||
"build": "npm run tauri build --",
|
||||
"build:debug": "npm run tauri build -- --debug",
|
||||
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
|
||||
"build:config": "chmod +x script/app_config.mjs && node script/app_config.mjs",
|
||||
@@ -40,7 +40,7 @@
|
||||
"cli": "rollup -c rollup.config.js --watch",
|
||||
"cli:dev": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",
|
||||
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
|
||||
"test": "npm run cli:build && node tests/index.js",
|
||||
"test": "npm run cli:build && PAKE_CREATE_APP=1 node tests/index.js",
|
||||
"format": "npx prettier --write . --ignore-unknown && cd src-tauri && cargo fmt --verbose",
|
||||
"hooks:setup": "bash .githooks/setup.sh",
|
||||
"postinstall": "npm run hooks:setup",
|
||||
|
||||
Reference in New Issue
Block a user