UNPKG

react-color-theme

Version:

Simple hook-based color theming for React with TypeScript support

84 lines (83 loc) 2.15 kB
{ "name": "react-color-theme", "version": "1.0.3", "description": "Simple hook-based color theming for React with TypeScript support", "main": "build/reactColorTheme.js", "types": "types/", "scripts": { "prepare": "npm run build; husky install", "build": "npm run tsc && npm run webpack", "dev": "npm run webpack:watch", "test": "npm run lint && npm run format && npm run jest", "tsc": "rm -r types/; tsc", "webpack": "webpack --mode=production", "webpack:watch": "webpack --mode=development --watch", "lint": "eslint . --fix", "format": "prettier --write .", "jest": "jest --passWithNoTests" }, "repository": { "type": "git", "url": "git+https://github.com/goodleby/react-color-theme.git" }, "keywords": [ "react", "theme", "colors", "hook", "palette", "typescript", "typed" ], "author": "Alex Chebotarsky", "license": "MIT", "bugs": { "url": "https://github.com/goodleby/react-color-theme/issues" }, "homepage": "https://github.com/goodleby/react-color-theme#readme", "browserslist": "defaults", "eslintConfig": { "extends": [ "goodleby" ], "ignorePatterns": [ "webpack.config.js" ] }, "jest": { "collectCoverage": true, "coverageDirectory": "coverage", "coverageProvider": "v8", "errorOnDeprecated": true, "testEnvironment": "jsdom", "testPathIgnorePatterns": [ "types/" ] }, "prettier": { "singleQuote": true }, "devDependencies": { "@babel/core": "^7.18.2", "@babel/preset-env": "^7.18.2", "@babel/preset-typescript": "^7.17.12", "@types/jest": "^28.1.1", "@types/react": "^18.0.12", "babel-loader": "^8.2.5", "css-loader": "^6.7.1", "eslint-config-goodleby": "^1.0.1", "husky": "^8.0.1", "jest": "^28.1.1", "jest-environment-jsdom": "^28.1.1", "mini-css-extract-plugin": "^2.6.0", "prettier": "^2.6.2", "sass": "^1.52.3", "sass-loader": "^13.0.0", "typescript": "^4.7.3", "webpack": "^5.73.0", "webpack-cli": "^4.9.2" }, "peerDependencies": { "react": ">=16.8" } }