|
24 | 24 | "express": "^4.15.3",
|
25 | 25 | "express-graphql": "^0.6.6",
|
26 | 26 | "express-jwt": "^5.3.0",
|
27 |
| - "graphql": "^0.10.1", |
| 27 | + "graphql": "^0.10.3", |
28 | 28 | "graphql-relay": "^0.5.1",
|
29 | 29 | "graphql-sequelize": "^5.3.2",
|
30 |
| - "history": "^4.6.1", |
| 30 | + "history": "^4.6.3", |
31 | 31 | "isomorphic-style-loader": "^2.0.0",
|
32 | 32 | "jsonwebtoken": "^7.4.1",
|
33 | 33 | "node-fetch": "^1.6.3",
|
34 | 34 | "normalize.css": "^7.0.0",
|
35 | 35 | "passport": "^0.3.2",
|
36 | 36 | "passport-facebook": "^2.1.1",
|
37 |
| - "pretty-error": "^2.1.0", |
| 37 | + "pretty-error": "^2.1.1", |
38 | 38 | "prop-types": "^15.5.10",
|
39 | 39 | "query-string": "^4.3.4",
|
40 | 40 | "react": "^15.5.4",
|
|
59 | 59 | "babel-cli": "^6.24.1",
|
60 | 60 | "babel-core": "^6.25.0",
|
61 | 61 | "babel-eslint": "^7.2.3",
|
62 |
| - "babel-loader": "^7.1.0", |
| 62 | + "babel-loader": "^7.1.1", |
63 | 63 | "babel-plugin-istanbul": "^4.1.4",
|
64 | 64 | "babel-plugin-rewire": "^1.1.0",
|
65 | 65 | "babel-preset-env": "^1.5.2",
|
|
74 | 74 | "chokidar": "^1.7.0",
|
75 | 75 | "cross-env": "^5.0.1",
|
76 | 76 | "css-loader": "^0.28.4",
|
77 |
| - "editorconfig-tools": "^0.1.1", |
78 | 77 | "enzyme": "^2.9.1",
|
79 | 78 | "eslint": "^3.19.0",
|
80 | 79 | "eslint-config-airbnb": "^15.0.1",
|
|
87 | 86 | "file-loader": "^0.11.2",
|
88 | 87 | "front-matter": "^2.1.2",
|
89 | 88 | "glob": "^7.1.2",
|
| 89 | + "husky": "^0.14.1", |
90 | 90 | "lint-staged": "^4.0.0",
|
91 | 91 | "markdown-it": "^8.3.1",
|
92 | 92 | "mkdirp": "^0.5.1",
|
93 | 93 | "mocha": "^3.4.2",
|
94 | 94 | "null-loader": "^0.1.1",
|
95 |
| - "nyc": "^11.0.2", |
| 95 | + "nyc": "^11.0.3", |
96 | 96 | "opn-cli": "^3.1.0",
|
97 | 97 | "node-sass": "4.5.0",
|
98 | 98 | "pixrem": "^3.0.2",
|
|
101 | 101 | "postcss-calc": "^6.0.0",
|
102 | 102 | "postcss-color-function": "^4.0.0",
|
103 | 103 | "postcss-custom-media": "^6.0.0",
|
104 |
| - "postcss-custom-properties": "^6.0.1", |
| 104 | + "postcss-custom-properties": "^6.1.0", |
105 | 105 | "postcss-custom-selectors": "^4.0.1",
|
106 | 106 | "postcss-flexbugs-fixes": "^3.0.0",
|
107 | 107 | "postcss-import": "^10.0.0",
|
|
112 | 112 | "postcss-pseudoelements": "^4.0.0",
|
113 | 113 | "postcss-selector-matches": "^3.0.1",
|
114 | 114 | "postcss-selector-not": "^3.0.1",
|
115 |
| - "pre-commit": "^1.2.2", |
116 | 115 | "raw-loader": "^0.5.1",
|
117 | 116 | "react-deep-force-update": "^2.0.1",
|
118 |
| - "react-error-overlay": "^1.0.7", |
| 117 | + "react-error-overlay": "^1.0.8", |
119 | 118 | "react-hot-loader": "^3.0.0-beta.7",
|
120 | 119 | "react-test-renderer": "^15.5.4",
|
121 | 120 | "redux-mock-store": "^1.2.3",
|
122 | 121 | "rimraf": "^2.6.1",
|
123 | 122 | "sass-loader": "6.0.3",
|
124 |
| - "sinon": "^2.3.4", |
125 |
| - "stylelint": "^7.11.0", |
| 123 | + "sinon": "^2.3.5", |
| 124 | + "stylelint": "^7.12.0", |
126 | 125 | "stylelint-config-standard": "^16.0.0",
|
127 | 126 | "stylelint-order": "^0.5.0",
|
128 |
| - "svg-url-loader": "^2.0.2", |
| 127 | + "svg-url-loader": "^2.1.1", |
129 | 128 | "url-loader": "^0.5.9",
|
130 | 129 | "webpack": "^3.0.0",
|
131 | 130 | "webpack-bundle-analyzer": "^2.8.2",
|
|
163 | 162 | ]
|
164 | 163 | },
|
165 | 164 | "lint-staged": {
|
166 |
| - "*.{cmd,html,json,md,sh,txt,xml,yml}": [ |
167 |
| - "editorconfig-tools fix", |
168 |
| - "git add" |
169 |
| - ], |
170 | 165 | "*.{js,jsx}": [
|
171 | 166 | "eslint --fix",
|
172 | 167 | "git add"
|
|
177 | 172 | ]
|
178 | 173 | },
|
179 | 174 | "scripts": {
|
| 175 | + "precommit": "lint-staged", |
180 | 176 | "lint:js": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" .",
|
181 | 177 | "lint:css": "stylelint \"src/**/*.{css,less,scss,sss}\"",
|
182 |
| - "lint:staged": "lint-staged", |
183 | 178 | "lint": "yarn run lint:js && yarn run lint:css",
|
184 | 179 | "test": "mocha",
|
185 | 180 | "test:watch": "yarn run test -- --reporter min --watch",
|
|
0 commit comments