|
1 | 1 | {
|
2 | 2 | "name": "connect",
|
3 | 3 | "version": "1.0.0",
|
| 4 | + "type": "module", |
4 | 5 | "description": "An open platform to save anonymous data coming from any application using this API",
|
5 | 6 | "scripts": {
|
6 | 7 | "start": "node src/index.js",
|
7 |
| - "te": "node app.js", |
8 | 8 | "dev": "cross-env NODE_ENV=development node src/index.js",
|
9 | 9 | "build": "webpack --node-env production",
|
10 | 10 | "build.dev": "webpack --node-env development",
|
11 | 11 | "eslint.check": "eslint --ext js,jsx .",
|
12 | 12 | "eslint.fix": "eslint --ext js,jsx --fix .",
|
13 | 13 | "prettier.check": "prettier --list-different .",
|
14 | 14 | "prettier.fix": "prettier --write .",
|
15 |
| - "test": "jest --config spec/jest.config.js -i --forceExit --detectOpenHandles", |
| 15 | + "test": "cross-env MONGO_MEMORY_SERVER_FILE=jest-mongodb-config.cjs yarn node --experimental-vm-modules $(yarn bin jest) --config spec/jest.config.js -i --forceExit --detectOpenHandles", |
16 | 16 | "performance": "node bin/performance.js"
|
17 | 17 | },
|
18 | 18 | "eslintConfig": {
|
|
38 | 38 | "dependencies": {
|
39 | 39 | "@material-ui/core": "^4.2.1",
|
40 | 40 | "@material-ui/icons": "^4.2.1",
|
41 |
| - "axios": "^0.21.1", |
| 41 | + "axios": "^1.3.4", |
| 42 | + "body-parser": "^1.20.2", |
42 | 43 | "copy-webpack-plugin": "^11.0.0",
|
43 | 44 | "cors": "^2.8.5",
|
44 | 45 | "cross-env": "^7.0.3",
|
45 |
| - "dotenv": "^8.0.0", |
| 46 | + "dotenv": "^16.0.3", |
46 | 47 | "express": "^4.17.1",
|
47 |
| - "glob": "^7.1.4", |
| 48 | + "glob-promise": "^6.0.3", |
48 | 49 | "jsonschema": "^1.2.6",
|
49 | 50 | "lodash.flow": "^3.5.0",
|
50 | 51 | "moment": "^2.24.0",
|
51 |
| - "mongoose": "^5.7.5", |
| 52 | + "mongoose": "^7.0.3", |
52 | 53 | "nodemailer": "^6.9.1",
|
53 | 54 | "oauth2-server": "git+https://github.com/oauthjs/node-oauth2-server#4.x",
|
54 |
| - "parse": "^3.5.1", |
| 55 | + "parse": "^4.0.1", |
55 | 56 | "parse-dashboard": "^5.0.0",
|
56 |
| - "parse-server": "^5.4.0", |
| 57 | + "parse-server": "^6.0.0", |
57 | 58 | "parse-server-api-mail-adapter": "^2.2.0",
|
58 | 59 | "prop-types": "^15.7.2",
|
59 |
| - "react": "^16.8.6", |
60 |
| - "react-dom": "^16.8.6", |
61 |
| - "react-moment": "^0.9.2", |
62 |
| - "react-router": "^5.0.1", |
63 |
| - "react-router-dom": "^5.0.1", |
| 60 | + "react": "^18.2.0", |
| 61 | + "react-dom": "^18.2.0", |
| 62 | + "react-moment": "^1.1.3", |
| 63 | + "react-router": "5.1", |
| 64 | + "react-router-dom": "5.1", |
64 | 65 | "request": "^2.88.2",
|
65 | 66 | "request-promise": "^4.2.6",
|
66 |
| - "swagger-ui-express": "^4.0.7", |
| 67 | + "swagger-ui-express": "^4.6.2", |
67 | 68 | "uuid": "^9.0.0",
|
68 | 69 | "validate.js": "^0.13.1",
|
69 | 70 | "winston": "^3.2.1"
|
70 | 71 | },
|
71 | 72 | "devDependencies": {
|
72 |
| - "@babel/core": "^7.5.0", |
| 73 | + "@babel/core": "^7.21.4", |
73 | 74 | "@babel/plugin-proposal-class-properties": "^7.5.0",
|
74 | 75 | "@babel/polyfill": "^7.4.4",
|
75 |
| - "@babel/preset-env": "^7.5.0", |
| 76 | + "@babel/preset-env": "^7.21.4", |
76 | 77 | "@babel/preset-react": "^7.0.0",
|
77 |
| - "@shelf/jest-mongodb": "^4.1.3", |
78 |
| - "babel-loader": "^8.0.6", |
79 |
| - "connect-history-api-fallback": "^1.6.0", |
80 |
| - "core-js": "^3.1.4", |
81 |
| - "css-loader": "^5.0.1", |
82 |
| - "eslint": "^7.10.0", |
83 |
| - "eslint-config-airbnb": "^18.2.0", |
| 78 | + "@shelf/jest-mongodb": "^4.1.7", |
| 79 | + "babel-loader": "^9.1.2", |
| 80 | + "connect-history-api-fallback": "^2.0.0", |
| 81 | + "core-js": "^3.30.0", |
| 82 | + "css-loader": "^6.7.3", |
| 83 | + "eslint": "^8.37.0", |
| 84 | + "eslint-config-airbnb": "^19.0.4", |
84 | 85 | "eslint-config-naat": "git+https://github.com/neuroanatomy/eslint-config-naat",
|
85 |
| - "eslint-config-prettier": "^8.3.0", |
86 |
| - "eslint-plugin-import": "^2.22.1", |
87 |
| - "eslint-plugin-jsx-a11y": "^6.3.1", |
88 |
| - "eslint-plugin-react": "^7.21.3", |
| 86 | + "eslint-config-prettier": "^8.8.0", |
| 87 | + "eslint-plugin-import": "^2.27.5", |
| 88 | + "eslint-plugin-jsx-a11y": "^6.7.1", |
| 89 | + "eslint-plugin-react": "^7.32.2", |
89 | 90 | "eslint-plugin-react-hooks": "^4",
|
90 | 91 | "html-webpack-plugin": "^5",
|
91 |
| - "husky": "^4.0.0", |
92 |
| - "jest": "^29.2.2", |
93 |
| - "json2csv": "^4.5.2", |
94 |
| - "lint-staged": ">=10", |
95 |
| - "mini-css-extract-plugin": "^1.3.3", |
96 |
| - "mongodb": "^3", |
97 |
| - "nock": "^13.0.5", |
98 |
| - "prettier": "^2", |
99 |
| - "qs": "^6.10.1", |
100 |
| - "sass": "^1.34.0", |
101 |
| - "sass-loader": "^10.1.0", |
102 |
| - "style-loader": "^0.23.1", |
| 92 | + "husky": "^8.0.3", |
| 93 | + "jest": "^29.5.0", |
| 94 | + "json2csv": "^6.0.0-alpha.2", |
| 95 | + "lint-staged": ">=13.2.0", |
| 96 | + "mini-css-extract-plugin": "^2.7.5", |
| 97 | + "mongodb": "^5.1.0", |
| 98 | + "nock": "^13.3.0", |
| 99 | + "prettier": "^2.8.7", |
| 100 | + "qs": "^6.11.1", |
| 101 | + "sass": "^1.60.0", |
| 102 | + "sass-loader": "^13.2.2", |
| 103 | + "style-loader": "^3.3.2", |
103 | 104 | "url-loader": "^4.1.1",
|
104 |
| - "webpack": "^5.12.3", |
105 |
| - "webpack-cli": "^4.3.1", |
106 |
| - "webpack-dev-middleware": "^6.0.1" |
| 105 | + "webpack": "^5.77.0", |
| 106 | + "webpack-cli": "4", |
| 107 | + "webpack-dev-middleware": "^6.0.2" |
107 | 108 | }
|
108 | 109 | }
|
0 commit comments