UNPKG

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