UNPKG

babel-plugin-styled-components-px2rem

Version:
80 lines (79 loc) 2.01 kB
{ "name": "babel-plugin-styled-components-px2rem", "version": "1.5.5", "description": "Babel plugin for convert px to rem units of styled-components", "keywords": [ "px2rem", "styled-components", "babel" ], "homepage": "https://github.com/xuyuanxiang/babel-plugin-styled-components-px2rem", "repository": { "type": "git", "url": "git+https://github.com/xuyuanxiang/babel-plugin-styled-components-px2rem.git" }, "bugs": { "url": "https://github.com/xuyuanxiang/babel-plugin-styled-components-px2rem/issues" }, "author": "xuyuanxiang <hi@xuyuanxiang.cn>", "license": "MIT", "main": "lib/index.js", "types": "lib/index.d.ts", "typings": "lib/index.d.ts", "files": [ "lib", "src", "types" ], "directories": { "lib": "lib", "test": "src/__tests__", "example": "example/src" }, "peerDependencies": { "@babel/core": ">= 7.0.0 < 7.8.0 || >= 7.8.3", "postcss": "^7.0.0" }, "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "memoizerific": "^1.11.3", "postcss-plugin-px2rem": "^0.8.1", "postcss-scss": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.7.4", "@babel/preset-react": "^7.7.4", "@babel/template": "^7.7.4", "@babel/traverse": "^7.7.4", "@babel/types": "^7.7.4", "@types/jest": "^24.0.25", "@types/node": "^10.13.0", "husky": "^3.1.0", "jest": "^24.9.0", "lint-staged": "^9.5.0", "postcss": "^7.0.26", "prettier": "^1.19.1", "ts-jest": "^24.2.0", "tslint": "^5.20.1", "tslint-config-prettier": "^1.18.0", "tslint-plugin-prettier": "^2.1.0", "typescript": "^3.7.4" }, "scripts": { "test": "jest --no-cache --coverage", "lint": "tslint -c tslint.json -p tsconfig.json", "build": "tsc -p .", "watch": "tsc -w -p ." }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "**/*.ts": [ "tslint -c tslint.json --fix", "git add" ] } }