UNPKG

styled-components-modifiers

Version:

A library that enables BEM flavored modifiers to styled components

127 lines (126 loc) 3.28 kB
{ "name": "styled-components-modifiers", "version": "1.2.5", "description": "A library that enables BEM flavored modifiers to styled components", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/*" ], "repository": { "type": "git", "url": "https://github.com/Decisiv/styled-components-modifiers.git" }, "keywords": [ "styled-components", "bem", "blocks", "elements", "modifiers", "responsive", "css", "react" ], "contributors": [ "UI Platform Development Team at Decisiv, Inc." ], "license": "MIT", "scripts": { "build": "yarn build:types && yarn build:js", "build:js": "babel -d lib src --extensions \".js,.ts\" --ignore \"**/__tests__\"", "build:types": "tsc --build --force", "build:watch": "concurrently \" yarn build:types -w\" \"yarn build:js -w\"", "build:clean": "rimraf ./lib", "lint": "eslint src/**/*.{js*,ts*}", "prebuild": "yarn build:clean && yarn lint && yarn test", "prepublish": "yarn build", "prettier": "prettier --write '**/*.{js*,ts*,md}'", "review": "yarn lint && yarn test", "test": "jest", "test:coverage:report": "open-cli coverage/lcov-report/index.html", "lint:ci": "eslint --format junit -o reports/junit/js-lint-results.xml src/**", "test:ci": "jest --ci" }, "peerDependencies": { "prop-types": "^15.4.0", "styled-components": "^2 || ^3 || ^4" }, "dependencies": { "@types/prop-types": "^15.7.1", "@types/styled-components": "^4.1.15", "lodash": "^4.17.15" }, "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.4.4", "@babel/preset-env": "^7.4.4", "@babel/preset-typescript": "^7.3.3", "@types/lodash": "^4.14.144", "@typescript-eslint/eslint-plugin": "^1.9.0", "@typescript-eslint/parser": "^1.9.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.7.1", "concurrently": "^4.1.0", "eslint": "^5.16.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-config-prettier": "^4.2.0", "eslint-import-resolver-typescript": "^1.1.1", "eslint-plugin-import": "^2.17.2", "eslint-plugin-jest": "^22.5.1", "eslint-plugin-prettier": "^3.1.0", "husky": "^3.0.0", "jest": "^24.8.0", "jest-junit": "^6.4.0", "lint-staged": "^9.2.0", "opn-cli": "^5.0.0", "prettier": "^1.17.1", "prop-types": "^15.6.0", "react": "^16.8.6", "react-dom": "^16.8.6", "rimraf": "^2.6.2", "styled-components": "^4.2.0", "typescript": "^3.4.5" }, "sideEffects": false, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ "!lib/**", "!src/index.ts", "!src/types.ts", "src/**" ], "coverageThreshold": { "global": { "branches": 90, "functions": 90, "lines": 90, "statements": 90 } }, "reporters": [ "default", [ "jest-junit", { "output": "reports/junit/js-test-results.xml" } ] ] }, "lint-staged": { "*.{js*,ts*}": [ "yarn run lint", "git add" ], "*.{js*,ts*,md}": [ "yarn run prettier", "git add" ] } }