UNPKG

@anmiles/theme-switcher

Version:
92 lines (91 loc) 2.75 kB
{ "name": "@anmiles/theme-switcher", "version": "2.0.0", "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": "^1.0.0", "@anmiles/logger": "^8.0.0", "express": "^5.1.0", "npm-run-all": "^4.1.5", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@anmiles/eslint-config": "^9.0.0", "@anmiles/tsconfig": "^4.0.0", "@eslint/compat": "^1.2.9", "@eslint/css": "^0.8.1", "@eslint/js": "^9.27.0", "@eslint/json": "^0.12.0", "@eslint/markdown": "^6.4.0", "@stylistic/eslint-plugin": "^4.2.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@types/jest": "^29.5.14", "@types/react": "^18.3.20", "@types/react-dom": "^18.3.6", "@typescript-eslint/eslint-plugin": "^8.32.1", "@typescript-eslint/parser": "^8.32.1", "@vitejs/plugin-react": "^4.4.1", "cspell": "^9.0.1", "css-loader": "^7.1.2", "eslint": "^9.27.0", "eslint-import-resolver-typescript": "^4.3.5", "eslint-plugin-align-assignments": "^1.1.2", "eslint-plugin-i18next": "^6.1.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-n": "^17.18.0", "eslint-plugin-promise": "^7.2.1", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-redux": "^4.2.2", "eslint-plugin-react-refresh": "^0.4.20", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jiti": "^2.4.2", "nyc": "^17.1.0", "react-refresh": "^0.17.0", "react-refresh-typescript": "^2.0.10", "rimraf": "^6.0.1", "style-loader": "^4.0.0", "ts-jest": "^29.3.4", "ts-loader": "^9.5.2", "typescript": "^5.8.3", "vite": "^6.3.5", "vite-plugin-lib-inject-css": "^2.2.2" } }