UNPKG

@dr.pogodin/react-themes

Version:
81 lines (80 loc) 2.74 kB
{ "name": "@dr.pogodin/react-themes", "version": "1.9.1", "description": "UI theme composition with CSS Modules and React", "main": "./build/module/index.js", "types": "./build/types-code/index.d.ts", "exports": { "require": "./build/common/index.js", "default": "./build/module/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", "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" }, "dependencies": { "@babel/runtime": "^7.27.3" }, "devDependencies": { "@babel/cli": "^7.27.2", "@babel/core": "^7.27.3", "@babel/plugin-transform-runtime": "^7.27.3", "@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.6", "@dr.pogodin/eslint-configs": "^0.0.7", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.0", "@tsconfig/recommended": "^1.0.8", "@types/jest": "^29.5.14", "@types/react": "^19.1.6", "babel-jest": "^29.7.0", "babel-plugin-module-resolver": "^5.0.2", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "postcss": "^8.5.3", "postcss-scss": "^4.0.9", "rimraf": "^6.0.1", "sass": "^1.89.0", "tstyche": "^3.5.0", "typed-scss-modules": "^8.1.1", "typescript": "^5.8.3" }, "peerDependencies": { "react": "^19.1.0", "react-dom": "^19.1.0" } }