UNPKG

styled-components

Version:

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅

185 lines (184 loc) • 5.75 kB
{ "name": "styled-components", "version": "3.2.4", "description": "Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅", "typings": "typings/styled-components.d.ts", "main": "dist/styled-components.cjs.js", "jsnext:main": "dist/styled-components.es.js", "module": "dist/styled-components.es.js", "react-native": "dist/styled-components.native.cjs.js", "browser": { "./dist/styled-components.es.js": "./dist/styled-components.browser.es.js", "./dist/styled-components.cjs.js": "./dist/styled-components.browser.cjs.js", "./dist/styled-components-no-parser.es.js": "./dist/styled-components-no-parser.browser.es.js", "./dist/styled-components-no-parser.cjs.js": "./dist/styled-components-no-parser.browser.cjs.js" }, "scripts": { "build": "rollup -c", "prebuild": "rimraf dist", "test": "run-s test:*", "test:web": "jest --outputFile test-results.json --json", "test:web:watch": "npm run test:web -- --watch", "test:native": "jest -c .jest.native.json", "test:native:watch": "npm run test:native -- --watch", "test:primitives": "jest -c .jest.primitives.json", "test:primitives:watch": "npm run test:primitives -- --watch", "test:integration": "jest -c .jest.integration.json --runInBand --forceExit", "test:size": "bundlesize", "danger": "cross-env NODE_ENV=test danger run -- --verbose", "flow": "flow check", "flow:watch": "flow-watch", "format": "eslint ./**/*.js --fix", "lint": "eslint src", "tslint": "tslint typings/*.ts native/*.ts", "typescript": "tsc --project ./typings/tests", "precommit": "lint-staged", "prepublishOnly": "run-s build", "lint-staged": "lint-staged", "dev": "cross-env BABEL_ENV=cjs babel-node example/startServer.js", "postinstall": "node ./scripts/postinstall.js || exit 0" }, "repository": { "type": "git", "url": "git+https://github.com/styled-components/styled-components.git" }, "files": [ "no-parser", "CONTRIBUTING.md", "CODE_OF_CONDUCT.md", "dist", "docs", "flow-typed", "lib", "native", "primitives", "src", "typings" ], "keywords": [ "react", "css", "css-in-js", "styled-components" ], "author": "Glen Maddern", "license": "MIT", "bugs": { "url": "https://github.com/styled-components/styled-components/issues" }, "homepage": "https://styled-components.com", "dependencies": { "buffer": "^5.0.3", "css-to-react-native": "^2.0.3", "fbjs": "^0.8.16", "hoist-non-react-statics": "^2.5.0", "is-plain-object": "^2.0.1", "prop-types": "^15.5.4", "stylis": "^3.5.0", "stylis-rule-sheet": "^0.0.10", "supports-color": "^3.2.3" }, "devDependencies": { "@types/node": "9.4.4", "@types/react": "^16", "@types/react-dom": "^16", "@types/react-native": "^0.50.7", "babel-cli": "^6.22.2", "babel-core": "^6.17.0", "babel-eslint": "^7.1.1", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-flow-react-proptypes": "^2.1.3", "babel-plugin-transform-class-properties": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.22.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.12", "babel-preset-env": "^1.4.0", "babel-preset-react": "^6.22.0", "bundlesize": "^0.13.2", "chokidar": "^1.6.0", "cross-env": "^5.1.3", "danger": "^2.0.0", "danger-plugin-jest": "^1.1.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "eslint": "^3.15.0", "eslint-config-airbnb": "^13.0.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-flowtype": "^2.40.1", "eslint-plugin-flowtype-errors": "^2.0.1", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^2.0.2", "eslint-plugin-prettier": "^2.4.0", "eslint-plugin-react": "^6.8.0", "express": "^4.14.1", "flow-bin": "^0.47.0", "flow-watch": "^1.1.1", "husky": "^0.14.3", "jest": "^20.0.4", "jest-image-snapshot": "2.2.0", "jest-styled-components": "^5.0.0", "jsdom": "^9.10.0", "lint-staged": "^6.0.0", "node-watch": "^0.4.1", "npm-run-all": "^4.1.2", "prettier": "1.9.2", "puppeteer": "^0.13.0", "raf": "^3.4.0", "react": "^16.0.0", "react-dom": "^16.0.0", "react-native": "^0.46.0", "react-primitives": "^0.4.2", "react-test-renderer": "^16.0.0", "rimraf": "^2.6.1", "rollup": "^0.52.2", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-commonjs": "^6.0.0", "rollup-plugin-flow": "^1.1.1", "rollup-plugin-ignore": "^1.0.3", "rollup-plugin-json": "^2.1.0", "rollup-plugin-node-resolve": "^2.0.0", "rollup-plugin-replace": "^1.1.1", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-uglify": "^3.0.0", "rollup-plugin-visualizer": "^0.1.5", "tslint": "^4.3.1", "typescript": "^2.4.1" }, "peerDependencies": { "react": ">= 0.14.0 < 17.0.0-0" }, "jest": { "globals": { "__DEV__": true }, "clearMocks": true, "roots": [ "<rootDir>/src/" ], "setupFiles": [ "raf/polyfill", "<rootDir>/src/test/enzymeSetup.js", "<rootDir>/src/test/globals.js" ], "testPathIgnorePatterns": [ "<rootDir>/src/native", "<rootDir>/src/primitives" ] }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "bundlesize": [ { "path": "./dist/styled-components.min.js", "threshold": "16kB" } ], "collective": { "type": "opencollective", "url": "https://opencollective.com/styled-components" } }