|
25 | 25 | "bugs": {
|
26 | 26 | "url": "https://github.com/nfl/react-gpt/issues"
|
27 | 27 | },
|
28 |
| - "files": [ |
29 |
| - "*.md", |
30 |
| - "docs", |
31 |
| - "es", |
32 |
| - "src", |
33 |
| - "dist", |
34 |
| - "lib" |
35 |
| - ], |
| 28 | + "files": ["*.md", "docs", "es", "src", "dist", "lib"], |
36 | 29 | "dependencies": {
|
37 | 30 | "deep-equal": "^1.0.1",
|
38 | 31 | "eventemitter3": "^2.0.2",
|
|
61 | 54 | "core-js": "^2.2.2",
|
62 | 55 | "cz-conventional-changelog": "^1.1.6",
|
63 | 56 | "eslint": "4.7.0",
|
64 |
| - "eslint-config-prettier": "^2.5.0", |
65 |
| - "eslint-plugin-prettier": "^2.2.0", |
66 | 57 | "eslint-config-nfl": "12.0.0",
|
| 58 | + "eslint-config-prettier": "^2.5.0", |
67 | 59 | "eslint-plugin-import": "2.7.0",
|
68 | 60 | "eslint-plugin-mocha": "4.11.0",
|
| 61 | + "eslint-plugin-prettier": "^2.2.0", |
69 | 62 | "eslint-plugin-react": "7.3.0",
|
70 | 63 | "express": "^4.13.4",
|
71 | 64 | "history": "^4.3.0",
|
|
85 | 78 | "prop-types": "^15.5.10",
|
86 | 79 | "querystring": "^0.2.0",
|
87 | 80 | "radium": "^0.18.1",
|
88 |
| - "react": "^15.0.1", |
| 81 | + "react": "^16.0.0", |
89 | 82 | "react-addons-test-utils": "^15.0.1",
|
90 |
| - "react-dom": "^15.0.1", |
| 83 | + "react-dom": "^16.0.0", |
| 84 | + "react-test-renderer": "^16.0.0", |
91 | 85 | "rimraf": "^2.5.2",
|
92 | 86 | "serve-static": "^1.10.2",
|
93 | 87 | "sinon": "^1.17.2",
|
|
98 | 92 | },
|
99 | 93 | "peerDependencies": {
|
100 | 94 | "prop-types": "^15.5.10",
|
101 |
| - "react": "^15.0.1", |
102 |
| - "react-dom": "^15.0.1" |
| 95 | + "react": "^15.0.1 || ^16.0.0", |
| 96 | + "react-dom": "^15.0.1 || ^16.0.0" |
103 | 97 | },
|
104 | 98 | "scripts": {
|
105 | 99 | "commit": "git-cz",
|
106 | 100 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
107 | 101 | "build": "npm run clean && npm run compile",
|
108 | 102 | "build:es": "BABEL_ENV=es babel --copy-files ./src -d es",
|
109 |
| - "build:umd": "NODE_ENV=development webpack src/index.js dist/react-gpt.js", |
110 |
| - "build:umd:min": "NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js", |
| 103 | + "build:umd": |
| 104 | + "NODE_ENV=development webpack src/index.js dist/react-gpt.js", |
| 105 | + "build:umd:min": |
| 106 | + "NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js", |
111 | 107 | "bundlesize": "npm run build:umd:min && bundlesize",
|
112 | 108 | "clean": "rimraf lib coverage dist lib es",
|
113 | 109 | "compile": "babel src --out-dir lib",
|
114 |
| - "examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline", |
| 110 | + "examples": |
| 111 | + "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline", |
115 | 112 | "lint": "eslint --fix src test examples",
|
116 |
| - "start": "npm run build && env BABEL_ENV=examples node examples/server/index.js", |
| 113 | + "start": |
| 114 | + "npm run build && env BABEL_ENV=examples node examples/server/index.js", |
117 | 115 | "pretest": "npm run build",
|
118 |
| - "prepublish": "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min", |
| 116 | + "prepublish": |
| 117 | + "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min", |
119 | 118 | "test": "npm run lint && karma start",
|
120 | 119 | "update-apilist": "node ./scripts/updateAPIList.js"
|
121 | 120 | },
|
|
0 commit comments