package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "_from": "styled-components",
  3. "_id": "styled-components@5.0.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-E0xKTRIjTs4DyvC1MHu/EcCXIj6+ENCP8hP01koyoADF++WdBUOrSGwU1scJRw7/YaYOhDvvoad6VlMG+0j53A==",
  6. "_location": "/styled-components",
  7. "_phantomChildren": {
  8. "has-flag": "3.0.0"
  9. },
  10. "_requested": {
  11. "type": "tag",
  12. "registry": true,
  13. "raw": "styled-components",
  14. "name": "styled-components",
  15. "escapedName": "styled-components",
  16. "rawSpec": "",
  17. "saveSpec": null,
  18. "fetchSpec": "latest"
  19. },
  20. "_requiredBy": [
  21. "#USER",
  22. "/"
  23. ],
  24. "_resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.0.1.tgz",
  25. "_shasum": "57782a6471031abefb2db5820a1876ae853bc619",
  26. "_spec": "styled-components",
  27. "_where": "G:\\micro\\react\\cld2_react",
  28. "author": {
  29. "name": "Glen Maddern"
  30. },
  31. "browser": {
  32. "./dist/styled-components.esm.js": "./dist/styled-components.browser.esm.js",
  33. "./dist/styled-components.cjs.js": "./dist/styled-components.browser.cjs.js"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/styled-components/styled-components/issues"
  37. },
  38. "bundleDependencies": false,
  39. "bundlesize": [
  40. {
  41. "path": "./dist/styled-components.min.js",
  42. "maxSize": "14kB"
  43. }
  44. ],
  45. "collective": {
  46. "type": "opencollective",
  47. "url": "https://opencollective.com/styled-components"
  48. },
  49. "dependencies": {
  50. "@babel/helper-module-imports": "^7.0.0",
  51. "@babel/traverse": "^7.4.5",
  52. "@emotion/is-prop-valid": "^0.8.3",
  53. "@emotion/stylis": "^0.8.4",
  54. "@emotion/unitless": "^0.7.4",
  55. "babel-plugin-styled-components": ">= 1",
  56. "css-to-react-native": "^3.0.0",
  57. "hoist-non-react-statics": "^3.0.0",
  58. "shallowequal": "^1.1.0",
  59. "supports-color": "^5.5.0"
  60. },
  61. "deprecated": false,
  62. "description": "Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress",
  63. "devDependencies": {
  64. "flow-bin": "^0.100.0",
  65. "prop-types": "^15.7.2",
  66. "react": "^16.8.6",
  67. "react-dom": "^16.8.6",
  68. "react-frame-component": "^4.0.2",
  69. "react-is": "^16.8.6",
  70. "react-native": "^0.59.8",
  71. "react-primitives": "^0.8.0",
  72. "react-test-renderer": "^16.8.6",
  73. "stylis-plugin-rtl": "^1.0.0"
  74. },
  75. "files": [
  76. "CODE_OF_CONDUCT.md",
  77. "CONTRIBUTING.md",
  78. "dist",
  79. "native",
  80. "primitives",
  81. "scripts",
  82. "test-utils",
  83. "macro"
  84. ],
  85. "funding": {
  86. "type": "opencollective",
  87. "url": "https://opencollective.com/styled-components"
  88. },
  89. "homepage": "https://styled-components.com",
  90. "jsnext:main": "dist/styled-components.esm.js",
  91. "keywords": [
  92. "react",
  93. "css",
  94. "css-in-js",
  95. "styled-components",
  96. "babel-macro",
  97. "babel-macros",
  98. "styling"
  99. ],
  100. "license": "MIT",
  101. "main": "dist/styled-components.cjs.js",
  102. "module": "dist/styled-components.esm.js",
  103. "name": "styled-components",
  104. "peerDependencies": {
  105. "react": ">= 16.8.0",
  106. "react-dom": ">= 16.8.0",
  107. "react-is": ">= 16.8.0"
  108. },
  109. "react-native": "native/dist/styled-components.native.cjs.js",
  110. "repository": {
  111. "type": "git",
  112. "url": "git+https://github.com/styled-components/styled-components.git"
  113. },
  114. "scripts": {
  115. "build": "rollup -c",
  116. "dev": "cross-env BABEL_ENV=cjs babel-node example/startServer.js",
  117. "flow": "flow check",
  118. "flow:watch": "flow-watch",
  119. "format": "eslint ./**/*.js --fix",
  120. "generateErrors": "node scripts/generateErrorMap.js",
  121. "lint": "eslint src",
  122. "lint:size": "bundlesize",
  123. "postbuild": "npm run lint:size",
  124. "prebuild": "rimraf dist && npm run generateErrors",
  125. "prepublishOnly": "npm run build",
  126. "pretest": "npm run generateErrors",
  127. "prettier": "prettier */**/*.js --write",
  128. "test": "npm run test:web && npm run test:native && npm run test:primitives",
  129. "test:integration": "jest -c ../../scripts/jest/config.integration.js --runInBand --forceExit",
  130. "test:native": "jest -c ../../scripts/jest/config.native.js",
  131. "test:primitives": "jest -c ../../scripts/jest/config.primitives.js",
  132. "test:web": "jest -c ../../scripts/jest/config.main.js"
  133. },
  134. "sideEffects": false,
  135. "version": "5.0.1"
  136. }