UNPKG

styled-components

Version:

**This is a work in progress** based off of [this demo](https://github.com/geelen/css-components-demo).

89 lines (88 loc) 2.37 kB
{ "name": "styled-components", "version": "0.3.0", "description": "", "main": "lib/index.js", "scripts": { "build": "npm run build:lib && npm run build:umd", "prebuild:lib": "rm -rf lib/*", "build:lib": "babel --out-dir lib src", "prebuild:umd": "rm -rf dist/*", "build:umd": "webpack --config webpack.config.babel.js", "build:watch": "npm run build:lib -- --watch", "test": "mocha \"./src/**/*.test.js\" --require babel-core/register --timeout 5000", "test:watch": "npm run test -- --watch", "flow": "flow; test $? -eq 0 -o $? -eq 2", "lint": "eslint src", "prepublish": "npm run build", "lint-staged": "lint-staged" }, "repository": { "type": "git", "url": "git+https://github.com/css-components/styled-components.git" }, "keywords": [ "react", "css", "css-in-js" ], "author": "Glen Maddern", "license": "MIT", "bugs": { "url": "https://github.com/css-components/styled-components/issues" }, "homepage": "https://github.com/css-components/styled-components#readme", "dependencies": { "fbjs": "^0.8.4", "glamor": "^2.15.5", "js-base64": "^2.1.9", "lodash": "^4.15.0", "react": "^15.3.2", "source-map": "^0.5.6", "supports-color": "^3.1.2" }, "devDependencies": { "babel-cli": "^6.14.0", "babel-eslint": "^6.1.2", "babel-loader": "^6.2.5", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-flow-strip-types": "^6.14.0", "babel-preset-latest": "^6.14.0", "babel-preset-react": "^6.11.1", "enzyme": "^2.4.1", "eslint": "^3.5.0", "eslint-config-airbnb": "^11.1.0", "eslint-plugin-import": "^1.15.0", "eslint-plugin-jsx-a11y": "^2.2.2", "eslint-plugin-react": "^6.2.1", "expect": "^1.20.2", "flow-bin": "^0.32.0", "lint-staged": "^3.0.3", "mocha": "^3.0.2", "pre-commit": "^1.1.3", "proxyquire": "^1.7.10", "react-addons-test-utils": "^15.3.2", "react-dom": "^15.3.2", "webpack": "^1.13.2" }, "babel": { "presets": [ "latest", "react" ], "plugins": [ "add-module-exports", "transform-flow-strip-types" ] }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "pre-commit": "lint-staged", "optionalDependencies": { "react-native": "^0.34.1" } }