package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "styled-jsx",
  3. "version": "5.0.7",
  4. "license": "MIT",
  5. "repository": "vercel/styled-jsx",
  6. "description": "Full CSS support for JSX without compromises",
  7. "files": [
  8. "dist",
  9. "lib",
  10. "global.d.ts",
  11. "index.d.ts",
  12. "index.js",
  13. "babel.js",
  14. "babel-test.js",
  15. "style.js",
  16. "style.d.ts",
  17. "macro.js",
  18. "macro.d.ts",
  19. "css.js",
  20. "css.d.ts",
  21. "webpack.js",
  22. "license.md"
  23. ],
  24. "typings": "./index.d.ts",
  25. "scripts": {
  26. "build-babel": "bunchee src/babel.js -f cjs -e babel-plugin-macros --runtime node -o dist/babel/index.js",
  27. "build": "rm -rf dist && rm -rf out && yarn build-webpack && yarn build-index && yarn build-babel",
  28. "build-webpack": "bunchee src/webpack.js -f cjs --runtime node -o dist/webpack/index.js",
  29. "build-index": "bunchee src/index.js -f cjs --runtime node -o dist/index/index.js",
  30. "test": "ava",
  31. "lint": "eslint ./src",
  32. "format": "prettier --write \"./{src,test}/**/*.{js,css}\"",
  33. "prepublishOnly": "yarn build && yarn test && yarn lint --quiet"
  34. },
  35. "husky": {
  36. "hooks": {
  37. "pre-commit": "pretty-quick --staged"
  38. }
  39. },
  40. "ava": {
  41. "require": [
  42. "@babel/register"
  43. ]
  44. },
  45. "eslintConfig": {
  46. "env": {
  47. "node": true,
  48. "browser": true,
  49. "es6": true
  50. },
  51. "extends": [
  52. "eslint:recommended",
  53. "prettier"
  54. ],
  55. "parserOptions": {
  56. "ecmaVersion": 11,
  57. "sourceType": "module"
  58. },
  59. "rules": {
  60. "no-empty": 0,
  61. "capitalized-comments": 0,
  62. "valid-jsdoc": 0,
  63. "prefer-destructuring": 0,
  64. "padding-line-between-statements": 0
  65. }
  66. },
  67. "devDependencies": {
  68. "@babel/cli": "7.18.10",
  69. "@babel/core": "7.12.3",
  70. "@babel/plugin-proposal-object-rest-spread": "7.12.1",
  71. "@babel/plugin-syntax-jsx": "7.14.5",
  72. "@babel/plugin-transform-arrow-functions": "7.12.1",
  73. "@babel/plugin-transform-modules-commonjs": "7.12.1",
  74. "@babel/plugin-transform-runtime": "7.12.1",
  75. "@babel/preset-env": "7.12.1",
  76. "@babel/preset-react": "7.12.5",
  77. "@babel/register": "7.12.1",
  78. "@babel/runtime": "7.12.5",
  79. "@babel/types": "7.15.0",
  80. "ava": "4.3.1",
  81. "babel-plugin-macros": "2.8.0",
  82. "bunchee": "2.0.4",
  83. "convert-source-map": "1.7.0",
  84. "eslint": "7.32.0",
  85. "eslint-config-prettier": "4.0.0",
  86. "husky": "4.3.0",
  87. "loader-utils": "1.2.3",
  88. "prettier": "1.16.4",
  89. "pretty-quick": "3.1.0",
  90. "react": "17.0.1",
  91. "react-dom": "17.0.1",
  92. "semantic-release": "17.2.2",
  93. "source-map": "0.7.3",
  94. "string-hash": "1.1.3",
  95. "stylis": "3.5.4",
  96. "stylis-rule-sheet": "0.0.10"
  97. },
  98. "peerDependencies": {
  99. "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0"
  100. },
  101. "peerDependenciesMeta": {
  102. "@babel/core": {
  103. "optional": true
  104. },
  105. "babel-plugin-macros": {
  106. "optional": true
  107. }
  108. },
  109. "release": {
  110. "branches": [
  111. "main",
  112. "alpha",
  113. "beta"
  114. ]
  115. },
  116. "engines": {
  117. "node": ">= 12.0.0"
  118. },
  119. "keywords": [
  120. "babel-plugin-macros",
  121. "vercel",
  122. "zeit",
  123. "css-in-js",
  124. "css"
  125. ]
  126. }