Files
styled-components/packages/styled-components/package.json
Evan Jacobs 1d38fc4573 run all tests except integration ones for now
until jest-styled-components is updated to support v5
2019-06-02 19:51:54 -05:00

101 lines
3.0 KiB
JSON

{
"name": "styled-components",
"version": "5.0.0-4.canary-sheet",
"description": "Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress",
"main": "dist/styled-components.cjs.js",
"jsnext:main": "dist/styled-components.esm.js",
"module": "dist/styled-components.esm.js",
"react-native": "native/dist/styled-components.native.cjs.js",
"browser": {
"./dist/styled-components.esm.js": "./dist/styled-components.browser.esm.js",
"./dist/styled-components.cjs.js": "./dist/styled-components.browser.cjs.js"
},
"sideEffects": false,
"scripts": {
"build": "rollup -c",
"prebuild": "rimraf dist",
"postbuild": "npm run lint:size",
"flow": "flow check",
"flow:watch": "flow-watch",
"test": "run-s test:*",
"test:web": "jest -c ../../scripts/jest/config.main.js",
"test:native": "jest -c ../../scripts/jest/config.native.js",
"test:primitives": "jest -c ../../scripts/jest/config.primitives.js",
"test:integration": "jest -c ../../scripts/jest/config.integration.js --runInBand --forceExit",
"format": "eslint ./**/*.js --fix",
"lint": "eslint src",
"lint:size": "bundlesize",
"prettier": "prettier */**/*.js --write",
"prepublishOnly": "npm run build",
"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": [
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"dist",
"native",
"primitives",
"scripts",
"test-utils",
"macro"
],
"keywords": [
"react",
"css",
"css-in-js",
"styled-components",
"babel-macro",
"babel-macros",
"styling"
],
"author": "Glen Maddern",
"license": "MIT",
"bugs": {
"url": "https://github.com/styled-components/styled-components/issues"
},
"homepage": "https://styled-components.com",
"dependencies": {
"@babel/helper-module-imports": "^7.0.0",
"@emotion/is-prop-valid": "^0.7.3",
"@emotion/unitless": "^0.7.0",
"babel-plugin-styled-components": ">= 1",
"css-to-react-native": "^2.2.2",
"prop-types": "^15.7.2",
"shallowequal": "^1.1.0",
"stylis": "^3.5.0",
"stylis-rule-sheet": "^0.0.10",
"supports-color": "^5.5.0"
},
"peerDependencies": {
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0",
"react-is": ">= 16.8.0"
},
"devDependencies": {
"flow-bin": "^0.93.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-frame-component": "^4.0.2",
"react-is": "^16.8.6",
"react-native": "^0.59.8",
"react-primitives": "^0.8.0",
"react-test-renderer": "^16.8.6",
"stylis-rtl": "^1.0.1"
},
"bundlesize": [
{
"path": "./dist/styled-components.min.js",
"maxSize": "17kB"
}
],
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/styled-components"
}
}