react-theme-system
Version:
A comprehensive React theme management system that enforces consistency, supports dark/light mode, and eliminates hardcoded styles
91 lines (90 loc) • 2.51 kB
JSON
{
"name": "react-theme-system",
"version": "1.1.0",
"description": "A comprehensive React theme management system that enforces consistency, supports dark/light mode, and eliminates hardcoded styles",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"bin",
"theme.config.js",
"README.md",
"src/styles/theme-fallbacks.css"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"prepare": "npm run build",
"create-theme": "node bin/create-theme.js",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"prepublishOnly": "npm run test && npm run build",
"size": "npm run build && node -e \"console.log('Bundle size:', require('fs').statSync('dist').size, 'bytes')\"",
"type-check": "tsc --noEmit"
},
"keywords": [
"react",
"theme",
"design-system",
"typescript",
"styled-components",
"dark-mode",
"light-mode",
"design-tokens",
"css-in-js",
"ui-components",
"react-hooks",
"theme-provider",
"ssr",
"nextjs",
"gatsby"
],
"author": "Your Name <your.email@example.com>",
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.0",
"@types/jest": "^29.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.0.0",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"rimraf": "^5.0.10",
"ts-jest": "^29.1.0",
"typescript": "^5.0.0"
},
"bin": {
"create-theme": "bin/create-theme.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/salehammar/react-theme-system.git"
},
"bugs": {
"url": "https://github.com/salehammar/react-theme-system/issues"
},
"homepage": "https://github.com/salehammar/react-theme-system#readme",
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"publishConfig": {
"access": "public"
}
}