|
5 | 5 | "repository": "https://github.com/quran/quran.com-frontend", |
6 | 6 | "scripts": { |
7 | 7 | "test": "npm run test:dev:unit", |
8 | | - "test:ci:unit": "karma start --browsers PhantomJS --single-run; npm run test:ci:lint", |
| 8 | + "test:ci:unit": "karma start --browsers PhantomJS --single-run", |
| 9 | + "pretest:ci:unit": "npm run test:ci:lint", |
9 | 10 | "test:ci:functional": "BROWSER=phantomjs ./tests/functional/test.sh start-ci", |
10 | 11 | "posttest:ci:functional": "./tests/functional/test.sh stop", |
11 | 12 | "test:dev:unit": "karma start", |
12 | | - "test:ci:lint": "eslint ./src/**/*.js", |
| 13 | + "test:ci:lint": "./node_modules/eslint/bin/eslint.js ./src", |
13 | 14 | "test:dev:functional": "BROWSER=chrome ./tests/functional/test.sh start", |
14 | 15 | "posttest:dev:functional": "./tests/functional/test.sh stop", |
15 | | - "test:dev:lint": "eslint ./src/scripts/**/*.js", |
| 16 | + "test:dev:lint": "./node_modules/eslint/bin/eslint.js ./src", |
16 | 17 | "test:stylelint": "stylelint './src/**/*.scss' --config ./webpack/.stylelintrc", |
17 | 18 | "dev": "env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node ./webpack/webpack-dev-server.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js", |
18 | 19 | "start": "NODE_PATH='src' node ./start", |
|
38 | 39 | "babel-plugin-transform-react-constant-elements": "6.9.1", |
39 | 40 | "babel-plugin-transform-react-display-name": "6.8.0", |
40 | 41 | "babel-plugin-transform-react-inline-elements": "6.8.0", |
| 42 | + "babel-plugin-transform-react-remove-prop-types": "0.2.11", |
41 | 43 | "babel-plugin-transform-runtime": "6.12.0", |
42 | 44 | "babel-plugin-typecheck": "3.9.0", |
43 | 45 | "babel-polyfill": "6.13.0", |
|
54 | 56 | "cache-manager": "1.5.0", |
55 | 57 | "clean-webpack-plugin": "0.1.10", |
56 | 58 | "compression": "1.6.2", |
| 59 | + "compression-webpack-plugin": "0.3.2", |
57 | 60 | "cookie-parser": "1.4.3", |
58 | | - "copy-to-clipboard": "1.1.1", |
| 61 | + "copy-to-clipboard": "3.0.5", |
59 | 62 | "cors": "2.7.1", |
60 | | - "crypto-js": "3.1.6", |
61 | 63 | "css-loader": "0.23.1", |
62 | 64 | "debug": "2.2.0", |
63 | | - "dotenv": "1.2.0", |
| 65 | + "dotenv": "2.0.0", |
64 | 66 | "errorhandler": "1.4.3", |
65 | 67 | "express": "4.14.0", |
66 | 68 | "express-state": "1.4.0", |
67 | | - "express-useragent": "0.2.4", |
| 69 | + "express-useragent": "1.0.4", |
68 | 70 | "extract-text-webpack-plugin": "2.0.0-beta.3", |
69 | 71 | "file-loader": "0.8.5", |
70 | 72 | "fontfaceobserver": "1.7.3", |
| 73 | + "history": "^3.0.0", |
71 | 74 | "html-webpack-plugin": "1.7.0", |
72 | 75 | "http-proxy": "1.14.0", |
73 | | - "humps": "1.1.0", |
| 76 | + "humps": "2.0.0", |
74 | 77 | "imports-loader": "0.6.5", |
75 | | - "jquery": "2.2.4", |
76 | 78 | "json-loader": "0.5.4", |
77 | 79 | "morgan": "1.7.0", |
78 | | - "node-sass": "3.8.0", |
79 | | - "normalizr": "2.2.1", |
| 80 | + "node-sass": "4.1.1", |
| 81 | + "normalizr": "3.0.2", |
80 | 82 | "pretty-error": "2.0.0", |
81 | 83 | "promise": "7.1.1", |
82 | 84 | "proxy-middleware": "0.14.0", |
83 | 85 | "qs": "6.2.1", |
84 | | - "raven": "0.11.0", |
| 86 | + "raven": "1.1.1", |
85 | 87 | "raw-loader": "0.5.1", |
86 | | - "react": "0.14.8", |
87 | | - "react-bootstrap": "0.29.5", |
88 | | - "react-cookie": "0.3.4", |
89 | | - "react-dom": "0.14.8", |
| 88 | + "react": "15.4.1", |
| 89 | + "react-a11y": "0.3.3", |
| 90 | + "react-addons-create-fragment": "15.4.1", |
| 91 | + "react-bootstrap": "0.30.7", |
| 92 | + "react-cookie": "1.0.4", |
| 93 | + "react-dom": "15.4.1", |
90 | 94 | "react-helmet": "3.1.0", |
| 95 | + "react-inlinesvg": "0.5.4", |
| 96 | + "react-intl": "2.1.5", |
91 | 97 | "react-metrics": "1.2.1", |
92 | | - "react-paginate": "0.4.3", |
93 | | - "react-redux": "4.4.5", |
94 | | - "react-router": "2.6.1", |
| 98 | + "react-paginate": "4.1.0", |
| 99 | + "react-redux": "5.0.1", |
| 100 | + "react-router": "3.0.0", |
95 | 101 | "react-router-bootstrap": "0.20.1", |
96 | | - "react-router-redux": "4.0.5", |
| 102 | + "react-router-redux": "4.0.7", |
97 | 103 | "react-router-scroll": "0.2.1", |
98 | 104 | "react-scroll": "1.2.0", |
| 105 | + "react-share": "1.11.0", |
| 106 | + "react-sidebar": "2.2.1", |
99 | 107 | "redux": "3.5.2", |
100 | | - "redux-connect": "2.4.0", |
| 108 | + "redux-connect": "5.0.0", |
101 | 109 | "reselect": "2.5.3", |
102 | 110 | "resolve-url": "0.2.1", |
103 | | - "sass-loader": "2.0.1", |
| 111 | + "sass-loader": "4.1.1", |
104 | 112 | "serialize-javascript": "1.3.0", |
105 | 113 | "serve-favicon": "2.3.0", |
106 | 114 | "sitemap": "1.8.1", |
107 | 115 | "strip-loader": "0.1.2", |
108 | 116 | "style-loader": "0.13.1", |
109 | | - "superagent": "1.8.4", |
| 117 | + "superagent": "3.3.1", |
110 | 118 | "url": "0.11.0", |
111 | 119 | "url-loader": "0.5.7", |
112 | 120 | "webpack": "2.1.0-beta.20", |
113 | 121 | "webpack-isomorphic-tools": "2.5.7", |
114 | 122 | "winston": "1.1.2" |
115 | 123 | }, |
116 | 124 | "devDependencies": { |
117 | | - "babel-eslint": "6.0.4", |
| 125 | + "babel-eslint": "7.1.1", |
118 | 126 | "babel-plugin-react-transform": "2.0.2", |
119 | 127 | "babel-preset-react-hmre": "1.1.1", |
120 | 128 | "chai": "3.0.0", |
121 | 129 | "chromedriver": "2.22.2", |
122 | 130 | "del": "2.0.2", |
123 | 131 | "enzyme": "2.2.0", |
124 | | - "eslint": "2.13.0", |
125 | | - "eslint-config-airbnb": "9.0.1", |
| 132 | + "eslint": "3.12.2", |
| 133 | + "eslint-config-airbnb": "13.0.0", |
126 | 134 | "eslint-loader": "1.3.0", |
127 | | - "eslint-plugin-import": "1.8.1", |
128 | | - "eslint-plugin-jsx-a11y": "1.5.3", |
129 | | - "eslint-plugin-react": "5.2.2", |
| 135 | + "eslint-plugin-import": "2.2.0", |
| 136 | + "eslint-plugin-jsx-a11y": "2.2.3", |
| 137 | + "eslint-plugin-mocha": "4.8.0", |
| 138 | + "eslint-plugin-react": "6.8.0", |
130 | 139 | "jscs": "2.1.1", |
131 | | - "karma": "1.2.0", |
| 140 | + "karma": "1.3.0", |
132 | 141 | "karma-chai": "0.1.0", |
133 | 142 | "karma-chai-sinon": "0.1.5", |
134 | 143 | "karma-chrome-launcher": "0.2.0", |
| 144 | + "karma-intl-shim": "1.0.3", |
135 | 145 | "karma-junit-reporter": "0.3.4", |
136 | 146 | "karma-mocha": "0.2.0", |
137 | | - "karma-phantomjs-launcher": "~0.2.1", |
| 147 | + "karma-phantomjs-launcher": "~1.0.2", |
138 | 148 | "karma-script-launcher": "~0.1.0", |
139 | 149 | "karma-sinon": "1.0.4", |
140 | 150 | "karma-sourcemap-loader": "0.3.7", |
|
146 | 156 | "phantomjs-polyfill": "0.0.1", |
147 | 157 | "piping": "0.3.0", |
148 | 158 | "pre-commit": "1.1.3", |
149 | | - "react-addons-test-utils": "0.14.7", |
| 159 | + "react-addons-test-utils": "15.4.1", |
150 | 160 | "react-transform-catch-errors": "1.0.0", |
151 | 161 | "react-transform-hmr": "1.0.1", |
152 | 162 | "redbox-react": "1.1.1", |
|
161 | 171 | "wdio-mocha-framework": "0.3.7", |
162 | 172 | "wdio-spec-reporter": "0.0.3", |
163 | 173 | "webdriverio": "4.2.1", |
| 174 | + "webpack-bundle-analyzer": "2.2.1", |
164 | 175 | "webpack-dev-server": "1.6.5", |
165 | 176 | "webpack-hot-middleware": "2.12.2" |
166 | 177 | }, |
|
0 commit comments