UNPKG

1.66 kBJSONView Raw
1{
2 "name": "create-react-context",
3 "version": "0.2.1",
4 "description": "Polyfill for the proposed React context API",
5 "main": "lib/index.js",
6 "typings": "lib/index.d.ts",
7 "repository": "https://github.com/thejameskyle/create-react-context",
8 "author": "James Kyle <me@thejameskyle.com>",
9 "license": "MIT",
10 "keywords": [
11 "react",
12 "context",
13 "contextTypes",
14 "polyfill",
15 "ponyfill"
16 ],
17 "files": [
18 "lib"
19 ],
20 "scripts": {
21 "test": "jest",
22 "flow": "flow",
23 "format": "prettier --write '**/*.{js,md,json,js.flow,d.ts}'",
24 "build": "babel src -d lib --copy-files --ignore __tests__",
25 "prepublish": "yarn build",
26 "commit": "lint-staged"
27 },
28 "dependencies": {
29 "fbjs": "^0.8.0",
30 "gud": "^1.0.0"
31 },
32 "peerDependencies": {
33 "prop-types": "^15.0.0",
34 "react": "^14.0.0 || ^15.0.0 || ^16.0.0"
35 },
36 "devDependencies": {
37 "babel-cli": "^6.26.0",
38 "babel-plugin-add-module-exports": "^0.2.1",
39 "babel-plugin-transform-class-properties": "^6.24.1",
40 "babel-preset-env": "^1.6.1",
41 "babel-preset-flow": "^6.23.0",
42 "babel-preset-react": "^6.24.1",
43 "enzyme": "^3.2.0",
44 "enzyme-adapter-react-16": "^1.1.0",
45 "enzyme-to-json": "^3.2.2",
46 "flow-bin": "^0.60.1",
47 "husky": "^0.14.3",
48 "jest": "^21.2.1",
49 "lint-staged": "^6.0.0",
50 "prettier": "^1.9.1",
51 "prop-types": "^15.6.0",
52 "raf": "^3.4.0",
53 "react": "^16.2.0",
54 "react-dom": "^16.2.0"
55 },
56 "lint-staged": {
57 "*.{js,md,json,js.flow,d.ts}": [
58 "prettier --write",
59 "git add"
60 ]
61 },
62 "jest": {
63 "snapshotSerializers": [
64 "enzyme-to-json/serializer"
65 ]
66 }
67}