65 lines
1.5 KiB
JSON
65 lines
1.5 KiB
JSON
{
|
|
"name": "mini-create-react-context",
|
|
"version": "0.4.0",
|
|
"description": "Smaller Polyfill for the proposed React context API",
|
|
"main": "dist/cjs/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"repository": "https://github.com/StringEpsilon/mini-create-react-context",
|
|
"author": "StringEpsilon",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"react",
|
|
"context",
|
|
"contextTypes",
|
|
"polyfill",
|
|
"ponyfill"
|
|
],
|
|
"files": [
|
|
"dist/**"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"build": "rollup -c rollup.config.js",
|
|
"prepublish": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.5.5",
|
|
"tiny-warning": "^1.0.3"
|
|
},
|
|
"peerDependencies": {
|
|
"prop-types": "^15.0.0",
|
|
"react": "^0.14.0 || ^15.0.0 || ^16.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.6",
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/preset-env": "^7.8.6",
|
|
"@babel/preset-react": "^7.8.3",
|
|
"@babel/preset-typescript": "^7.8.3",
|
|
"@types/enzyme": "^3.10.5",
|
|
"@types/jest": "^25.1.3",
|
|
"@types/react": "^16.8.23",
|
|
"@wessberg/rollup-plugin-ts": "^1.2.19",
|
|
"babel-jest": "^25.1.0",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.2",
|
|
"enzyme-to-json": "^3.3.5",
|
|
"jest": "^25.1.0",
|
|
"prop-types": "^15.6.0",
|
|
"raf": "^3.4.1",
|
|
"react": "^16.2.0",
|
|
"react-dom": "^16.2.0",
|
|
"rollup": "^1.17.0",
|
|
"rollup-plugin-commonjs": "^10.0.1",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-terser": "^5.2.0",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"jest": {
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
]
|
|
}
|
|
}
|