gilbarbara/styled-minimal

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "styled-minimal",
  "version": "0.9.0",
  "description": "Minimal UI theme with styled-components",
  "author": "Gil Barbara <gilbarbara@gmail.com>",
  "repository": {
    "type": "git",
    "url": "git://github.com/gilbarbara/styled-minimal.git"
  },
  "bugs": {
    "url": "https://github.com/gilbarbara/styled-minimal/issues"
  },
  "homepage": "https://github.com/gilbarbara/styled-minimal#readme",
  "main": "index.js",
  "module": "index.es.js",
  "files": [
    "*.js",
    "utils",
    "!/*.config.js"
  ],
  "keywords": [
    "react",
    "react-component",
    "styled-components",
    "ui"
  ],
  "license": "MIT",
  "peerDependencies": {
    "react": "^15.0.0 || ^16.0.0",
    "prop-types": "^15.0.0",
    "styled-components": "^4.0.0"
  },
  "dependencies": {
    "deepmerge": "^3.0.0",
    "polished": "^2.3.1",
    "styled-system": "^3.1.11"
  },
  "devDependencies": {
    "@babel/cli": "^7.2.3",
    "@babel/core": "^7.2.2",
    "@babel/plugin-external-helpers": "^7.2.0",
    "@babel/plugin-proposal-class-properties": "^7.2.3",
    "@babel/plugin-proposal-decorators": "^7.2.3",
    "@babel/plugin-proposal-do-expressions": "^7.2.0",
    "@babel/plugin-proposal-export-default-from": "^7.2.0",
    "@babel/plugin-proposal-export-namespace-from": "^7.2.0",
    "@babel/plugin-proposal-function-bind": "^7.2.0",
    "@babel/plugin-proposal-function-sent": "^7.2.0",
    "@babel/plugin-proposal-json-strings": "^7.2.0",
    "@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.2.0",
    "@babel/plugin-proposal-numeric-separator": "^7.2.0",
    "@babel/plugin-proposal-optional-chaining": "^7.2.0",
    "@babel/plugin-proposal-pipeline-operator": "^7.2.0",
    "@babel/plugin-proposal-throw-expressions": "^7.2.0",
    "@babel/plugin-syntax-dynamic-import": "^7.2.0",
    "@babel/plugin-syntax-import-meta": "^7.2.0",
    "@babel/plugin-transform-flow-strip-types": "^7.2.3",
    "@babel/plugin-transform-object-assign": "^7.2.0",
    "@babel/preset-env": "^7.2.3",
    "@babel/preset-flow": "^7.0.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/register": "^7.0.0",
    "@storybook/addon-actions": "^4.1.6",
    "@storybook/addon-backgrounds": "^4.1.6",
    "@storybook/addon-info": "^4.1.6",
    "@storybook/addon-knobs": "^4.1.6",
    "@storybook/addon-links": "^4.1.6",
    "@storybook/addon-options": "^4.1.6",
    "@storybook/addons": "^4.1.6",
    "@storybook/components": "^4.1.6",
    "@storybook/react": "^4.1.6",
    "babel-core": "^7.0.0-bridge.0",
    "babel-eslint": "^10.0.1",
    "babel-jest": "^23.6.0",
    "babel-loader": "^8.0.5",
    "babel-plugin-array-includes": "^2.0.3",
    "babel-plugin-styled-components": "^1.10.0",
    "chalk": "^2.4.2",
    "cross-env": "^5.2.0",
    "del-cli": "^1.1.0",
    "enzyme": "^3.8.0",
    "enzyme-adapter-react-16": "^1.7.1",
    "enzyme-to-json": "^3.3.5",
    "eslint": "^5.12.0",
    "eslint-config-airbnb": "^17.1.0",
    "eslint-config-prettier": "^3.3.0",
    "eslint-plugin-babel": "^5.3.0",
    "eslint-plugin-flowtype": "^3.2.1",
    "eslint-plugin-import": "^2.14.0",
    "eslint-plugin-jsx-a11y": "^6.1.2",
    "eslint-plugin-prettier": "^3.0.1",
    "eslint-plugin-react": "^7.12.3",
    "flow-bin": "^0.90.0",
    "gzip-size": "^5.0.0",
    "husky": "^1.3.1",
    "is-ci-cli": "^1.1.1",
    "jest": "^23.6.0",
    "jest-chain": "^1.0.5",
    "jest-enzyme": "^7.0.1",
    "jest-extended": "^0.11.0",
    "jest-styled-components": "^6.3.1",
    "jest-watch-typeahead": "^0.2.0",
    "lint-staged": "^8.1.0",
    "prettier": "^1.15.3",
    "prettysize": "^2.0.0",
    "prop-types": "^15.6.2",
    "react": "^16.7.0",
    "react-dom": "^16.7.0",
    "rollup": "^0.68.2",
    "rollup-plugin-babel": "^4.3.0",
    "rollup-plugin-cleanup": "^3.1.0",
    "rollup-plugin-commonjs": "^9.2.0",
    "rollup-plugin-filesize": "^5.0.1",
    "rollup-plugin-flow": "^1.1.1",
    "rollup-plugin-node-resolve": "^4.0.0",
    "rollup-plugin-replace": "^2.1.0",
    "rollup-plugin-visualizer": "^0.9.2",
    "styled-components": "^4.1.3",
    "stylelint": "^9.9.0",
    "stylelint-config-recommended": "^2.1.0",
    "stylelint-config-styled-components": "^0.1.1",
    "stylelint-processor-styled-components": "^1.5.1",
    "watch": "^1.0.2"
  },
  "scripts": {
    "build": "npm run clean && npm run build-components && npm run build-utils && npm run build-bundles",
    "build-bundles": "cross-env NODE_ENV=production rollup -c",
    "build-components": "cross-env NODE_ENV=production babel --plugins '@babel/transform-modules-commonjs' 'src/*.jsx' --out-dir .",
    "build-utils": "cross-env NODE_ENV=production babel --plugins '@babel/transform-modules-commonjs' src/utils --out-dir ./utils",
    "build-storybook": "build-storybook -o docs",
    "storybook": "start-storybook -p 9001",
    "watch": "watch 'npm run build' src",
    "clean": "del '*.js' '!*.config.js' '*.html' utils",
    "lint": "eslint --ext .js --ext .jsx src stories",
    "lint:styles": "stylelint '(src/**/*.{js,jsx}|!src/index.js)'",
    "format": "prettier \"**/*.{js,jsx}\" --write",
    "test": "is-ci \"test:coverage\" \"test:watch\"",
    "test:coverage": "jest --bail --coverage",
    "test:watch": "jest --watch",
    "bundlesize": "node tools/sizer",
    "validate": "npm run lint && npm run lint:styles && npm run test:coverage && flow && npm run build && npm run bundlesize",
    "prepublishOnly": "npm run build",
    "postpublish": "npm run clean"
  },
  "browserslist": [
    "> 0.2%",
    "not dead"
  ],
  "prettier": {
    "printWidth": 100,
    "singleQuote": true,
    "trailingComma": "all",
    "jsxBracketSameLine": false
  },
  "lint-staged": {
    "linters": {
      "**/*.+(js|jsx)": [
        "eslint",
        "jest --findRelatedTests"
      ],
      "**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)": [
        "prettier --write",
        "git add"
      ]
    },
    "ignore": [
      "**/docs/*",
      "**/es/*",
      "**/lib/*"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && flow"
    }
  }
}