@anmiles/theme-switcher
Version:
Theme switcher for websites
92 lines (91 loc) • 2.75 kB
JSON
{
"name": "@anmiles/theme-switcher",
"version": "2.0.7",
"description": "Theme switcher for websites",
"keywords": [
"theme",
"switcher",
"websites"
],
"author": "Anatoliy Oblaukhov",
"homepage": "https://github.com/anmiles/theme-switcher",
"repository": "github:anmiles/theme-switcher",
"license": "MIT",
"engines": {
"node": ">=20.19.0"
},
"main": "src/index.tsx",
"scripts": {
"spellcheck": "cspell .",
"prebuild": "rimraf dist && tsc --noEmit",
"build": "npm-run-all build:*",
"build:development": "vite build --mode development",
"build:production": "vite build --mode production",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "jest --verbose",
"test:coverage": "npm test -- --coverage",
"test:ci": "npm test -- --ci --coverage",
"test:watch": "npm test -- --watch",
"test:watch:coverage": "npm test -- --watch --coverage",
"test:report:coverage": "nyc report",
"dev": "vite --mode development",
"start": "node ./server.mjs",
"start:dev": "npm start development",
"start:prod": "npm start production"
},
"dependencies": {
"@anmiles/express-tools": "^2.0.5",
"@anmiles/logger": "^8.0.3",
"express": "^5.2.1",
"npm-run-all": "^4.1.5",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@anmiles/eslint-config": "^10.0.3",
"@anmiles/tsconfig": "^4.0.1",
"@eslint/compat": "^2.0.2",
"@eslint/css": "^0.14.1",
"@eslint/js": "^9.39.2",
"@eslint/json": "^1.0.0",
"@eslint/markdown": "^7.5.1",
"@stylistic/eslint-plugin": "^5.7.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitejs/plugin-react": "^5.1.2",
"cspell": "^9.6.2",
"css-loader": "^7.1.3",
"eslint": "^9.39.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-align-assignments": "^1.1.2",
"eslint-plugin-i18next": "^6.1.3",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.12.1",
"eslint-plugin-n": "^17.23.2",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-redux": "^4.2.2",
"eslint-plugin-react-refresh": "^0.4.20",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jiti": "^2.6.1",
"nyc": "^17.1.0",
"react-refresh": "^0.18.0",
"react-refresh-typescript": "^2.0.11",
"rimraf": "^6.1.2",
"style-loader": "^4.0.0",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vite-plugin-lib-inject-css": "^2.2.2"
}
}