Updated npm scripts

This commit is contained in:
Jay
2025-09-04 08:49:37 -04:00
parent f624b36d52
commit 5fa9d08017
+5 -3
View File
@@ -7,15 +7,17 @@
"build:wasm": "wasm-pack build colorlib -t bundler -d pkg --release", "build:wasm": "wasm-pack build colorlib -t bundler -d pkg --release",
"check": "tsc --noEmit -p tsconfig.app.json", "check": "tsc --noEmit -p tsconfig.app.json",
"clean": "rm -rf dist colorlib/pkg*", "clean": "rm -rf dist colorlib/pkg*",
"cypress:open": "1>/dev/null 2>/dev/null cypress open -d &", "cypress": "1>/dev/null 2>/dev/null cypress open -d &",
"dev": "vite", "dev": "vite",
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview", "preview": "vite preview",
"test:wasm": "cargo test --lib --manifest-path colorlib/Cargo.toml", "test:wasm": "cargo test --lib --manifest-path colorlib/Cargo.toml",
"test:wasmdoc": "cargo test --doc --manifest-path colorlib/Cargo.toml", "test:wasmdoc": "cargo test --doc --manifest-path colorlib/Cargo.toml",
"test": "vitest", "test": "vitest",
"test:component:chrome": "cypress run --component -b chromium", "test:component": "cypress run --component -b chromium",
"test:component:fire": "cypress run --component -b firefox" "test:component:fire": "cypress run --component -b firefox",
"test:e2e": "cypress run --e2e -b chromium",
"test:e2e:firefox": "cypress run --e2e -b firefox"
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^7.0.0", "@fortawesome/fontawesome-svg-core": "^7.0.0",