themeshift
Version:
A lightweight, customizable dark mode and theme toggler for React applications
80 lines (79 loc) • 2.07 kB
JSON
{
"name": "themeshift",
"version": "1.0.1",
"description": "A lightweight, customizable dark mode and theme toggler for React applications",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "rollup -c",
"test": "echo \"Skipping tests temporarily\" && exit 0",
"lint": "eslint src/**/*.{ts,tsx}",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"prepare": "npm run build",
"prepublishOnly": "npm run lint",
"preversion": "npm run lint",
"version": "git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ramasundaram-s/themeshift.git"
},
"keywords": [
"theme",
"dark-mode",
"react",
"typescript",
"theme-switcher",
"theme-toggle",
"dark-theme",
"light-theme",
"theme-manager",
"css-variables",
"css-themes"
],
"author": {
"name": "Rama Sundaram",
"url": "https://github.com/ramasundaram-s"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ramasundaram-s/themeshift/issues"
},
"homepage": "https://github.com/ramasundaram-s/themeshift#readme",
"peerDependencies": {
"react": ">=16.8.0",
"framer-motion": ">=10.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"rollup": "^3.0.0",
"typescript": "^4.9.0",
"framer-motion": "^10.0.0",
"ts-jest": "^29.0.0",
"react": "^18.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0"
},
"dependencies": {
"tslib": "^2.5.0"
}
}