package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "mini-create-react-context",
  3. "version": "0.4.1",
  4. "description": "Smaller Polyfill for the proposed React context API",
  5. "main": "dist/cjs/index.js",
  6. "module": "dist/esm/index.js",
  7. "types": "dist/index.d.ts",
  8. "repository": "https://github.com/StringEpsilon/mini-create-react-context",
  9. "author": "StringEpsilon",
  10. "license": "MIT",
  11. "keywords": [
  12. "react",
  13. "context",
  14. "contextTypes",
  15. "polyfill",
  16. "ponyfill"
  17. ],
  18. "files": [
  19. "dist/**"
  20. ],
  21. "scripts": {
  22. "test": "jest",
  23. "build": "rollup -c rollup.config.js",
  24. "prepublish": "npm run build"
  25. },
  26. "dependencies": {
  27. "@babel/runtime": "^7.12.1",
  28. "tiny-warning": "^1.0.3"
  29. },
  30. "peerDependencies": {
  31. "prop-types": "^15.0.0",
  32. "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
  33. },
  34. "devDependencies": {
  35. "@babel/core": "^7.12.3",
  36. "@babel/plugin-proposal-class-properties": "^7.12.1",
  37. "@babel/preset-env": "^7.12.1",
  38. "@babel/preset-react": "^7.12.1",
  39. "@babel/preset-typescript": "^7.12.1",
  40. "@types/enzyme": "^3.10.5",
  41. "@types/jest": "^26.0.10",
  42. "@types/react": "^16.9.46",
  43. "@wessberg/rollup-plugin-ts": "^1.3.6",
  44. "babel-jest": "^25.5.1",
  45. "enzyme": "^3.11.0",
  46. "enzyme-adapter-react-16": "^1.15.5",
  47. "enzyme-to-json": "^3.6.1",
  48. "jest": "^26.6.0",
  49. "prop-types": "^15.6.0",
  50. "raf": "^3.4.1",
  51. "react": "^16.13.1",
  52. "react-dom": "^16.13.1",
  53. "rollup": "^2.32.1",
  54. "rollup-plugin-commonjs": "^10.0.1",
  55. "rollup-plugin-node-resolve": "^5.2.0",
  56. "rollup-plugin-terser": "^7.0.2",
  57. "typescript": "^4.0.3"
  58. },
  59. "jest": {
  60. "snapshotSerializers": [
  61. "enzyme-to-json/serializer"
  62. ]
  63. }
  64. }