UNPKG

react-jsx-style

Version:

create dynamic injected styles with react component or hooks

47 lines (46 loc) 1.22 kB
{ "name": "react-jsx-style", "version": "0.1.0", "description": "create dynamic injected styles with react component or hooks", "module": "dist/esm/index.js", "main": "dist/cjs/index.js", "scripts": { "test": "jest", "test:update": "yarn test --updateSnapshot", "prepublishOnly": "rm -rf ./dist && yarn build", "build": "yarn build:cjs && yarn build:esm", "build:cjs": "tsc --target ES5 --module Commonjs --outDir dist/cjs", "build:esm": "tsc --target ESNext --module ES6 --outDir dist/esm" }, "repository": { "type": "git", "url": "git+https://github.com/huozhi/react-jsx-style.git" }, "keywords": [ "react", "style", "css", "dynamic-style" ], "files": [ "dist", "*.md" ], "author": "huozhi", "license": "MIT", "bugs": { "url": "https://github.com/huozhi/react-jsx-style/issues" }, "homepage": "https://github.com/huozhi/react-jsx-style#readme", "devDependencies": { "@types/jest": "25.2.1", "@types/react": "16.9.32", "babel-jest": "25.2.6", "jest": "25.2.7", "react": "16.13.1", "react-dom": "16.13.1", "react-test-renderer": "16.13.1", "ts-jest": "25.3.1", "typescript": "3.8.3" } }