package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. "_args": [
  3. [
  4. "polished@4.1.3",
  5. "/Users/mac/Desktop/zz的项目/cdss/大名县人民医院/CDSS-daming-web"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "polished@4.1.3",
  10. "_id": "polished@4.1.3",
  11. "_inBundle": false,
  12. "_integrity": "sha1-ejq/KXI2Tn2XdwuCfuyanmQALPw=",
  13. "_location": "/polished",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "polished@4.1.3",
  19. "name": "polished",
  20. "escapedName": "polished",
  21. "rawSpec": "4.1.3",
  22. "saveSpec": null,
  23. "fetchSpec": "4.1.3"
  24. },
  25. "_requiredBy": [
  26. "/three-render-objects"
  27. ],
  28. "_resolved": "https://registry.nlark.com/polished/download/polished-4.1.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpolished%2Fdownload%2Fpolished-4.1.3.tgz",
  29. "_spec": "4.1.3",
  30. "_where": "/Users/mac/Desktop/zz的项目/cdss/大名县人民医院/CDSS-daming-web",
  31. "author": {
  32. "name": "Brian Hough",
  33. "email": "hello@brianhough.net",
  34. "url": "https://polished.js.org"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/styled-components/polished/issues"
  38. },
  39. "collective": {
  40. "type": "opencollective",
  41. "url": "https://opencollective.com/polished"
  42. },
  43. "config": {
  44. "commitizen": {
  45. "path": "./node_modules/cz-conventional-changelog"
  46. }
  47. },
  48. "dependencies": {
  49. "@babel/runtime": "^7.14.0"
  50. },
  51. "description": "A lightweight toolset for writing styles in Javascript.",
  52. "devDependencies": {
  53. "@babel/cli": "^7.14.3",
  54. "@babel/core": "^7.14.3",
  55. "@babel/plugin-transform-runtime": "^7.14.3",
  56. "@babel/polyfill": "^7.12.1",
  57. "@babel/preset-env": "^7.14.4",
  58. "@babel/preset-flow": "^7.13.13",
  59. "@rollup/plugin-babel": "^5.3.0",
  60. "@rollup/plugin-node-resolve": "^13.0.0",
  61. "@rollup/plugin-replace": "^2.4.2",
  62. "babel-eslint": "^10.1.0",
  63. "babel-jest": "^26.6.3",
  64. "babel-plugin-add-module-exports": "^1.0.2",
  65. "babel-plugin-annotate-pure-calls": "^0.4.0",
  66. "babel-plugin-preval": "5.0.0",
  67. "cross-env": "^7.0.3",
  68. "cz-conventional-changelog": "^3.1.0",
  69. "documentation": "12.3.0",
  70. "eslint": "^7.27.0",
  71. "eslint-config-airbnb-base": "^14.2.1",
  72. "eslint-plugin-import": "^2.23.4",
  73. "flow-bin": "^0.133.0",
  74. "flow-copy-source": "^2.0.8",
  75. "husky": "^6.0.0",
  76. "jest": "^26.6.3",
  77. "lint-staged": "^11.0.0",
  78. "npm-watch": "^0.9.0",
  79. "prettier": "^2.3.0",
  80. "pushstate-server": "^3.1.0",
  81. "ramda": "^0.27.0",
  82. "rollup": "^2.50.5",
  83. "rollup-plugin-sourcemaps": "^0.6.3",
  84. "rollup-plugin-terser": "^7.0.2",
  85. "semantic-release": "^17.4.3",
  86. "shx": "^0.3.3",
  87. "tsgen": "1.3.0",
  88. "typescript": "4.3.2",
  89. "validate-commit-msg": "^2.14.0"
  90. },
  91. "engines": {
  92. "node": ">=10"
  93. },
  94. "homepage": "https://polished.js.org",
  95. "jest": {
  96. "coverageDirectory": "./coverage/",
  97. "collectCoverage": true,
  98. "testURL": "http://localhost/",
  99. "verbose": true
  100. },
  101. "keywords": [
  102. "styled-components",
  103. "polished",
  104. "emotion",
  105. "glamor",
  106. "css-in-js",
  107. "inline-styles",
  108. "react",
  109. "flow",
  110. "typescript",
  111. "color manipulate",
  112. "color manipulation",
  113. "curried color manipulation",
  114. "color",
  115. "colour"
  116. ],
  117. "license": "MIT",
  118. "lint-staged": {
  119. "src/**/*.js": [
  120. "prettier --write",
  121. "eslint --fix"
  122. ]
  123. },
  124. "main": "dist/polished.cjs.js",
  125. "module": "dist/polished.esm.js",
  126. "name": "polished",
  127. "repository": {
  128. "type": "git",
  129. "url": "git+https://github.com/styled-components/polished.git"
  130. },
  131. "scripts": {
  132. "build": "yarn build:lib && yarn build:dist && yarn build:flow && yarn build:docs && yarn build:typescript",
  133. "build:dist": "rollup -c",
  134. "build:docs": "yarn build:docs:site",
  135. "build:docs:site": "documentation build src/** -t docs-theme --github -o docs -f html -c ./.documentation.json",
  136. "build:flow": "flow-copy-source -v -i '{**/test/*.js,**/*.test.js}' src lib",
  137. "build:lib": "cross-env BABEL_ENV=cjs babel --out-dir lib src --ignore test.js",
  138. "build:typescript": "tsgen \"lib/**/*.js.flow\" --ignore \"lib/**/_*.js.flow\"",
  139. "build:watch": "npm-watch",
  140. "docs": "pushstate-server -d docs",
  141. "flow": "flow check && flow batch-coverage src/ --show-all --strip-root",
  142. "lint": "eslint src",
  143. "postbuild:docs:site": "shx cp CNAME docs/CNAME && shx cp dist/polished.js docs/assets/",
  144. "prebuild:dist": "shx rm -rf dist/*",
  145. "prebuild:docs:site": "shx rm -rf docs/*",
  146. "prebuild:lib": "shx rm -rf lib/*",
  147. "prebuild:umd": "shx rm -rf dist/*",
  148. "prepare": "yarn build && yarn typescript && husky install",
  149. "semantic-release": "semantic-release",
  150. "test": "jest src",
  151. "typescript": "tsc ./typescript-test.ts --noEmit --target es6 --module es2015 --moduleResolution node --allowJs"
  152. },
  153. "sideEffects": false,
  154. "types": "lib/index.d.ts",
  155. "version": "4.1.3",
  156. "watch": {
  157. "build:docs": "src/**/*.js",
  158. "build:lib": "src/**/*.js"
  159. }
  160. }