|
25 | 25 | "bugs": {
|
26 | 26 | "url": "https://github.com/nfl/react-gpt/issues"
|
27 | 27 | },
|
28 |
| - "files": ["*.md", "docs", "es", "src", "dist", "lib"], |
| 28 | + "files": [ |
| 29 | + "*.md", |
| 30 | + "docs", |
| 31 | + "es", |
| 32 | + "src", |
| 33 | + "dist", |
| 34 | + "lib" |
| 35 | + ], |
29 | 36 | "dependencies": {
|
30 | 37 | "deep-equal": "^1.0.1",
|
31 | 38 | "eventemitter3": "^2.0.2",
|
32 | 39 | "exenv": "^1.2.2",
|
33 | 40 | "hoist-non-react-statics": "^1.0.5",
|
34 | 41 | "invariant": "^2.2.2",
|
35 |
| - "prettier": "^1.7.0", |
36 | 42 | "throttle-debounce": "^1.0.1"
|
37 | 43 | },
|
38 | 44 | "devDependencies": {
|
|
75 | 81 | "karma-webpack": "^1.7.0",
|
76 | 82 | "mocha": "^3.1.2",
|
77 | 83 | "phantom": "^2.0.4",
|
| 84 | + "prettier": "^1.9.2", |
78 | 85 | "prop-types": "^15.5.10",
|
79 | 86 | "querystring": "^0.2.0",
|
80 | 87 | "radium": "^0.18.1",
|
|
100 | 107 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
101 | 108 | "build": "npm run clean && npm run compile",
|
102 | 109 | "build:es": "BABEL_ENV=es babel --copy-files ./src -d es",
|
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", |
| 110 | + "build:umd": "NODE_ENV=development webpack src/index.js dist/react-gpt.js", |
| 111 | + "build:umd:min": "NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js", |
107 | 112 | "bundlesize": "npm run build:umd:min && bundlesize",
|
108 | 113 | "clean": "rimraf lib coverage dist lib es",
|
109 | 114 | "compile": "babel src --out-dir lib",
|
110 |
| - "examples": |
111 |
| - "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline", |
| 115 | + "examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline", |
112 | 116 | "lint": "eslint --fix src test examples",
|
113 |
| - "start": |
114 |
| - "npm run build && env BABEL_ENV=examples node examples/server/index.js", |
| 117 | + "start": "npm run build && env BABEL_ENV=examples node examples/server/index.js", |
115 | 118 | "pretest": "npm run build",
|
116 |
| - "prepublish": |
117 |
| - "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min", |
| 119 | + "prepublish": "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min", |
118 | 120 | "test": "npm run lint && karma start",
|
119 | 121 | "update-apilist": "node ./scripts/updateAPIList.js"
|
120 | 122 | },
|
|
0 commit comments