UNPKG

use-styled-system

Version:

React hook to implement styled-system functionality within styled-jsx

79 lines (78 loc) 2.3 kB
{ "name": "use-styled-system", "version": "3.0.0", "description": "React hook to implement styled-system functionality within styled-jsx", "main": "dist/use-styled-system.js", "umd:main": "dist/use-styled-system.umd.js", "module": "dist/use-styled-system.m.js", "types": "dist/index.d.ts", "source": "src/index.tsx", "author": "Felix Tellmann", "repository": { "type": "git", "url": "https://github.com/FelixTellmann/use-styled-system" }, "license": "MIT", "scripts": { "prepublishOnly": "npm run build", "test": "jest --verbose --coverage --silent", "test:watch": "jest --watch --runInBand --silent", "prebuild": "rimraf dist", "build": "microbundle -o dist/ --jsx --sourcemap false --target web", "dev": "microbundle watch -o dist/ --jsx --sourcemap false --compress false", "lint": "eslint .", "lint:fix": "eslint . --fix" }, "peerDependencies": { "react": "^17.0.1", "styled-jsx": "^3.3.0" }, "dependencies": { "@babel/core": "^7.11.6", "@babel/preset-env": "^7.11.5", "@babel/preset-react": "^7.10.4", "@babel/preset-typescript": "^7.10.4", "autoprefixer": "^10.0.1", "babel-core": "^6.26.3", "babel-jest": "^26.3.0", "csstype": "2.6.12", "eslint": "^7.10.0", "eslint-config-amex": "^13.1.0", "eslint-plugin-react-hooks": "^4.1.2", "jest": "^26.4.2", "jest-dom": "^4.0.0", "microbundle": "^0.12.3", "postcss": "^8.1.2", "postcss-js": "^3.0.1", "react": "^17.0.1", "react-dom": "^17.0.1", "react-testing-library": "^8.0.1", "rimraf": "^3.0.2", "styled-jsx": "^3.3.0", "typescript": "^4.0.3" }, "keywords": [ "react-hooks", "hooks", "react", "utils", "lib", "styled system", "styled-jsx", "css-in-js", "css" ], "devDependencies": { "@types/node": "^14.11.5", "@types/react": "^16.9.53", "@typescript-eslint/eslint-plugin": "^4.4.0", "@typescript-eslint/parser": "^4.4.0", "eslint-config-airbnb": "^18.2.0", "eslint-config-airbnb-typescript": "^11.0.0", "eslint-config-prettier": "^6.12.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.3" } }