UNPKG

@dr.pogodin/react-themes

Version:
93 lines (92 loc) 3.22 kB
{ "name": "@dr.pogodin/react-themes", "version": "1.8.0", "description": "UI theme composition with CSS Modules and React", "main": "./build/common/index.js", "source": "src/index.ts", "types": "./build/types-code/index.d.ts", "exports": { "module": "./build/module/index.js", "node": "./build/common/index.js", "default": "./build/common/index.js" }, "scripts": { "build": "rimraf build && npm run build:types-code && npm run build:types-scss && npm run build:common && npm run build:module", "build:common": "rimraf build/common && babel src -x .ts,.tsx --out-dir build/common --source-maps", "build:module": "rimraf build/module && babel src -x .ts,.tsx --out-dir build/module --source-maps --config-file ./babel-module.config.js", "build:types-code": "rimraf build/types-code && tsc --project tsconfig.types.json", "build:types-scss": "rimraf build/types-scss && typed-scss-modules .", "jest": "npm run jest:types && npm run jest:logic", "jest:logic": "jest --config jest/config.json --no-cache", "jest:types": "tstyche", "lint": "eslint --ext .js,.jsx,.ts,.tsx .", "test": "npm run lint && npm run typecheck && npm run jest", "typecheck": "tsc --project __tests__/tsconfig.json" }, "repository": "github:birdofpreyru/react-themes", "keywords": [ "React", "ReactJS", "JS", "JavaSript", "UI", "theme", "CSS", "Modules", "Frontend", "TypeScript" ], "author": "Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)", "license": "MIT", "bugs": { "url": "https://github.com/birdofpreyru/react-themes/issues" }, "homepage": "https://dr.pogodin.studio/docs/react-themes/index.html", "funding": { "type": "github", "url": "https://github.com/sponsors/birdofpreyru" }, "devDependencies": { "@babel/cli": "^7.26.4", "@babel/core": "^7.26.0", "@babel/eslint-parser": "^7.25.9", "@babel/eslint-plugin": "^7.25.9", "@babel/plugin-transform-runtime": "^7.25.9", "@babel/preset-env": "^7.26.0", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "@dr.pogodin/babel-plugin-react-css-modules": "^6.13.3", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.1.0", "@tsconfig/recommended": "^1.0.8", "@types/jest": "^29.5.14", "@types/react": "^19.0.2", "babel-jest": "^29.7.0", "babel-plugin-module-resolver": "^5.0.2", "eslint": "^8.57.1", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.10.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.3", "eslint-plugin-react-hooks": "^4.6.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "postcss": "^8.4.49", "postcss-scss": "^4.0.9", "rimraf": "^6.0.1", "sass": "^1.83.0", "tstyche": "^3.2.0", "typed-scss-modules": "^8.0.1", "typescript": "^5.7.2", "typescript-eslint": "^8.18.2" }, "peerDependencies": { "react": "^19.0.0", "react-dom": "^19.0.0" }, "dependencies": { "@babel/runtime": "^7.26.0" } }