create-react-15-context
Version:
Polyfill for the proposed React context API
56 lines (55 loc) • 1.64 kB
JSON
{
"name": "create-react-15-context",
"version": "0.2.1-compat.0",
"description": "Polyfill for the proposed React context API",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"repository": "https://github.com/benwiley4000/create-react-15-context",
"author": "James Kyle <me@thejameskyle.com>",
"license": "MIT",
"keywords": ["react", "context", "contextTypes", "polyfill", "ponyfill"],
"files": ["lib"],
"scripts": {
"test": "jest",
"flow": "flow",
"format": "prettier --write '**/*.{js,md,json,js.flow,d.ts}'",
"build": "babel src -d lib --copy-files --ignore __tests__",
"prepublish": "npm run build",
"commit": "lint-staged"
},
"dependencies": {
"fbjs": "^0.8.0",
"gud": "^1.0.0",
"react-dot-fragment": "^0.2.2"
},
"peerDependencies": {
"prop-types": "^15.0.0",
"react": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.2.2",
"flow-bin": "^0.60.1",
"husky": "^0.14.3",
"jest": "^21.2.1",
"lint-staged": "^6.0.0",
"prettier": "^1.9.1",
"prop-types": "^15.6.0",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"lint-staged": {
"*.{js,md,json,js.flow,d.ts}": ["prettier --write", "git add"]
},
"jest": {
"snapshotSerializers": ["enzyme-to-json/serializer"]
}
}