Re-initialize app using vite.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "luminance",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc -b && vite build",
|
||||
"build:wasm": "wasm-pack build colorlib -t bundler -d pkg --release",
|
||||
"clean": "rm -rf dist colorlib/pkg*",
|
||||
"cypress:open": "1>/dev/null 2>/dev/null cypress open -d &",
|
||||
"dev": "vite",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview",
|
||||
"test:wasm": "cargo test --lib --manifest-path colorlib/Cargo.toml",
|
||||
"test:wasmdoc": "cargo test --doc --manifest-path colorlib/Cargo.toml"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.25.0",
|
||||
"@rollup/plugin-wasm": "^6.2.2",
|
||||
"@types/react": "^19.1.2",
|
||||
"@types/react-dom": "^19.1.2",
|
||||
"@vitejs/plugin-react": "^4.4.1",
|
||||
"clsx": "^2.1.1",
|
||||
"colorlib": "file:colorlib/pkg",
|
||||
"eslint": "^9.25.0",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.19",
|
||||
"globals": "^16.0.0",
|
||||
"prettier": "^3.5.3",
|
||||
"typescript": "~5.8.3",
|
||||
"typescript-eslint": "^8.30.1",
|
||||
"vite": "^6.3.5",
|
||||
"vite-plugin-top-level-await": "^1.5.0",
|
||||
"vite-plugin-wasm": "^3.4.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user