|
11 | 11 | "dev:build-server": "webpack --config webpack.server.js --watch", |
12 | 12 | "dev:build-client": "webpack --config webpack.client.js --watch", |
13 | 13 | "dev:server": "nodemon --watch build --exec node build/bundle.js", |
| 14 | + "lint": "eslint src", |
14 | 15 | "test": "jest", |
| 16 | + "test-watch": "jest --watch", |
15 | 17 | "test-coverage": "jest --coverage" |
16 | 18 | }, |
| 19 | + "jest": { |
| 20 | + "moduleNameMapper": { |
| 21 | + "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/assetsTransformer.js", |
| 22 | + "\\.(css|less|scss)$": "<rootDir>/assetsTransformer.js" |
| 23 | + }, |
| 24 | + "setupFilesAfterEnv": [ |
| 25 | + "<rootDir>/setupTests.js" |
| 26 | + ] |
| 27 | + }, |
| 28 | + "husky": { |
| 29 | + "hooks": { |
| 30 | + "pre-push": "eslint src && jest" |
| 31 | + } |
| 32 | + }, |
17 | 33 | "dependencies": { |
18 | | - "babel-polyfill": "6.26.0", |
19 | | - "cookie-parser": "1.4.3", |
20 | | - "apollo-boost": "0.1.12", |
21 | | - "express-fileupload": "0.4.0", |
22 | | - "apollo-cache-inmemory": "1.3.0-beta.6", |
23 | | - "apollo-client": "2.3.7", |
24 | | - "apollo-link-http": "1.5.4", |
25 | | - "apollo-server": "2.0.0", |
| 34 | + "config": "3.1.0", |
| 35 | + "apollo-boost": "0.3.1", |
| 36 | + "apollo-cache-inmemory": "1.5.1", |
| 37 | + "apollo-client": "2.5.1", |
| 38 | + "apollo-link-http": "1.5.14", |
| 39 | + "apollo-server": "2.4.8", |
26 | 40 | "apollo-server-express": "1.3.6", |
27 | | - "copy-webpack-plugin": "4.5.2", |
28 | | - "express-graphql": "0.6.12", |
29 | | - "graphql": "14.0.2", |
30 | | - "graphql-tools": "4.0.0", |
31 | | - "isomorphic-unfetch": "2.1.1", |
32 | | - "jsonwebtoken": "8.3.0", |
33 | | - "mongoose": "5.2.6", |
34 | | - "nodemailer": "4.6.7", |
35 | | - "nodemailer-express-handlebars": "3.0.0", |
36 | | - "react": "16.4.2", |
37 | | - "react-apollo": "2.1.9", |
38 | | - "react-dom": "16.4.2", |
39 | | - "react-helmet": "5.2.0", |
40 | | - "react-router-config": "1.0.0-beta.4", |
41 | | - "react-router-dom": "4.3.1", |
42 | | - "webpack-node-externals": "1.7.2", |
43 | | - "webpack": "4.17.2", |
44 | | - "webpack-cli": "3.1.0", |
45 | | - "toastr": "2.1.4", |
46 | 41 | "axios": "0.18.0", |
| 42 | + "babel-polyfill": "7.0.0-beta.3", |
47 | 43 | "bcrypt": "2.0.1", |
48 | 44 | "classnames": "2.2.6", |
49 | | - "concurrently": "3.6.1", |
50 | | - "cors": "2.8.4", |
51 | | - "css-loader": "1.0.0", |
52 | | - "dotenv": "6.0.0", |
| 45 | + "concurrently": "4.1.0", |
| 46 | + "cookie-parser": "1.4.4", |
| 47 | + "copy-webpack-plugin": "5.0.2", |
| 48 | + "cors": "2.8.5", |
| 49 | + "css-loader": "2.1.1", |
| 50 | + "dotenv": "7.0.0", |
53 | 51 | "es-cookie": "1.2.0", |
54 | | - "express": "4.16.3", |
55 | | - "extract-loader": "2.0.1", |
56 | | - "file-loader": "1.1.11", |
57 | | - "generate-password": "1.4.0", |
58 | | - "node-sass": "4.9.2", |
59 | | - "sass-loader": "7.1.0", |
60 | | - "nodemon": "1.18.3", |
61 | | - "npm-run-all": "4.1.3", |
| 52 | + "express": "4.16.4", |
| 53 | + "express-fileupload": "1.1.4", |
| 54 | + "express-graphql": "0.8.0", |
| 55 | + "extract-loader": "3.1.0", |
| 56 | + "file-loader": "3.0.1", |
| 57 | + "generate-password": "1.4.1", |
| 58 | + "graphql": "14.2.1", |
| 59 | + "graphql-tools": "4.0.4", |
| 60 | + "isomorphic-unfetch": "3.0.0", |
| 61 | + "jsonwebtoken": "8.5.1", |
| 62 | + "mongoose": "5.5.2", |
| 63 | + "node-sass": "4.11.0", |
| 64 | + "nodemailer": "6.1.1", |
| 65 | + "nodemailer-express-handlebars": "3.0.0", |
| 66 | + "nodemon": "1.18.11", |
| 67 | + "npm-run-all": "4.1.5", |
| 68 | + "qs-middleware": "^1.0.3", |
62 | 69 | "randomstring": "1.1.5", |
63 | | - "react-ckeditor-wrapper": "1.1.2" |
| 70 | + "react": "16.8.6", |
| 71 | + "react-apollo": "2.5.4", |
| 72 | + "react-ckeditor-wrapper": "1.1.2", |
| 73 | + "react-dom": "16.8.6", |
| 74 | + "react-helmet": "5.2.0", |
| 75 | + "react-router-config": "5.0.0", |
| 76 | + "react-router-dom": "5.0.0", |
| 77 | + "sass-loader": "7.1.0", |
| 78 | + "toastr": "2.1.4", |
| 79 | + "webpack": "4.30.0", |
| 80 | + "webpack-cli": "3.3.0", |
| 81 | + "webpack-node-externals": "1.7.2" |
64 | 82 | }, |
65 | 83 | "devDependencies": { |
66 | | - "babel-cli": "6.26.0", |
67 | | - "babel-core": "6.26.3", |
68 | | - "babel-loader": "7.1.5", |
69 | | - "babel-preset-env": "1.7.0", |
70 | | - "babel-preset-es2015": "6.24.1", |
71 | | - "babel-preset-es2017": "6.24.1", |
72 | | - "babel-preset-react": "6.24.1", |
73 | | - "babel-preset-stage-0": "6.24.1", |
74 | | - "enzyme": "3.4.1", |
75 | | - "enzyme-adapter-react-16": "1.2.0", |
76 | | - "jest": "23.5.0" |
| 84 | + "@babel/core": "7.4.3", |
| 85 | + "@babel/plugin-proposal-class-properties": "7.4.0", |
| 86 | + "@babel/preset-env": "7.4.3", |
| 87 | + "@babel/preset-react": "7.0.0", |
| 88 | + "babel-core": "7.0.0-bridge.0", |
| 89 | + "babel-eslint": "10.0.1", |
| 90 | + "babel-jest": "24.7.1", |
| 91 | + "babel-loader": "8.0.5", |
| 92 | + "eslint": "5.16.0", |
| 93 | + "eslint-config-airbnb": "17.1.0", |
| 94 | + "eslint-plugin-import": "2.17.1", |
| 95 | + "eslint-plugin-jsx-a11y": "6.2.1", |
| 96 | + "eslint-plugin-react": "7.12.4", |
| 97 | + "husky": "1.3.1", |
| 98 | + "enzyme": "3.9.0", |
| 99 | + "enzyme-adapter-react-16": "1.12.1", |
| 100 | + "jest": "24.7.1" |
77 | 101 | } |
78 | 102 | } |
0 commit comments