package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "name": "styled-components",
  3. "version": "6.1.19",
  4. "description": "CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.",
  5. "publishConfig": {
  6. "access": "public"
  7. },
  8. "types": "dist/index.d.ts",
  9. "main": "dist/styled-components.cjs.js",
  10. "module": "./dist/styled-components.esm.js",
  11. "react-native": "native/dist/styled-components.native.cjs.js",
  12. "browser": {
  13. "./dist/styled-components.cjs.js": "./dist/styled-components.browser.cjs.js",
  14. "./dist/styled-components.esm.js": "./dist/styled-components.browser.esm.js"
  15. },
  16. "sideEffects": false,
  17. "scripts": {
  18. "generateErrors": "node scripts/generateErrorMap.js",
  19. "prebuild": "rimraf dist && yarn run generateErrors",
  20. "build": "rollup -c",
  21. "postbuild": "yarn run size",
  22. "pretest": "yarn run generateErrors",
  23. "test": "yarn run test:web && yarn run test:native",
  24. "test:web": "jest -c jest.config.main.js",
  25. "test:native": "jest -c jest.config.native.js --forceExit",
  26. "test:integration": "jest -c jest.config.integration.js --runInBand --forceExit",
  27. "size": "bundlewatch",
  28. "prettier": "prettier src --write",
  29. "prettier:check": "prettier src --check",
  30. "prepublishOnly": "cp ../../README.md . && yarn run build"
  31. },
  32. "repository": {
  33. "type": "git",
  34. "url": "git+https://github.com/styled-components/styled-components.git"
  35. },
  36. "files": [
  37. "LICENSE",
  38. "README.md",
  39. "dist",
  40. "native",
  41. "test-utils"
  42. ],
  43. "keywords": [
  44. "react",
  45. "css",
  46. "css-in-js",
  47. "styled-components",
  48. "styling"
  49. ],
  50. "author": "Glen Maddern",
  51. "license": "MIT",
  52. "bugs": {
  53. "url": "https://github.com/styled-components/styled-components/issues"
  54. },
  55. "homepage": "https://styled-components.com",
  56. "dependencies": {
  57. "@emotion/is-prop-valid": "1.2.2",
  58. "@emotion/unitless": "0.8.1",
  59. "@types/stylis": "4.2.5",
  60. "css-to-react-native": "3.2.0",
  61. "csstype": "3.1.3",
  62. "postcss": "8.4.49",
  63. "shallowequal": "1.1.0",
  64. "stylis": "4.3.2",
  65. "tslib": "2.6.2"
  66. },
  67. "peerDependencies": {
  68. "react": ">= 16.8.0",
  69. "react-dom": ">= 16.8.0"
  70. },
  71. "devDependencies": {
  72. "@babel/core": "7.24.5",
  73. "@babel/helper-module-imports": "7.24.3",
  74. "@babel/plugin-external-helpers": "7.24.1",
  75. "@babel/plugin-proposal-class-properties": "7.18.6",
  76. "@babel/plugin-proposal-object-rest-spread": "7.20.7",
  77. "@babel/plugin-transform-flow-strip-types": "7.24.1",
  78. "@babel/preset-env": "7.24.5",
  79. "@babel/preset-react": "7.24.1",
  80. "@babel/preset-typescript": "7.24.1",
  81. "@rollup/plugin-typescript": "11.1.6",
  82. "@types/enzyme": "3.10.18",
  83. "@types/jest": "29.5.12",
  84. "@types/js-beautify": "1.14.3",
  85. "@types/node": "18.19.31",
  86. "@types/react": "17.0.80",
  87. "@types/react-dom": "17.0.25",
  88. "@types/react-frame-component": "4.1.6",
  89. "@types/react-native": "0.69.26",
  90. "@types/react-test-renderer": "17.0.9",
  91. "@types/shallowequal": "1.1.5",
  92. "babel-jest": "29.7.0",
  93. "babel-plugin-add-module-exports": "1.0.4",
  94. "babel-plugin-styled-components": "2.1.4",
  95. "babel-plugin-tester": "10.1.0",
  96. "bundlewatch": "0.3.3",
  97. "jest": "29.7.0",
  98. "jest-environment-jsdom": "29.7.0",
  99. "jest-serializer-html": "7.1.0",
  100. "jest-watch-typeahead": "2.2.2",
  101. "js-beautify": "1.15.1",
  102. "prettier": "3.2.5",
  103. "prop-types": "15.8.1",
  104. "react": "17.0.2",
  105. "react-dom": "17.0.2",
  106. "react-frame-component": "4.1.3",
  107. "react-native": "0.70.15",
  108. "react-test-renderer": "17.0.2",
  109. "rollup": "3.29.4",
  110. "rollup-plugin-commonjs": "10.1.0",
  111. "rollup-plugin-json": "4.0.0",
  112. "rollup-plugin-node-resolve": "5.2.0",
  113. "rollup-plugin-replace": "2.2.0",
  114. "rollup-plugin-sourcemaps": "0.6.3",
  115. "rollup-plugin-terser": "7.0.2",
  116. "stylis-plugin-rtl": "2.1.1",
  117. "ts-toolbelt": "9.6.0",
  118. "typescript": "5.4.5"
  119. },
  120. "bundlewatch": {
  121. "files": [
  122. {
  123. "path": "./dist/styled-components.min.js",
  124. "maxSize": "11.5kB"
  125. }
  126. ]
  127. },
  128. "collective": {
  129. "type": "opencollective",
  130. "url": "https://opencollective.com/styled-components"
  131. },
  132. "funding": {
  133. "type": "opencollective",
  134. "url": "https://opencollective.com/styled-components"
  135. },
  136. "engines": {
  137. "node": ">= 16"
  138. }
  139. }