|
3 | 3 | "scripts": { |
4 | 4 | "clean": "rimraf dist", |
5 | 5 | "build": "npm run clean && NODE_ENV=production webpack && echo \"gzipped, the global build is `gzip -c dist/bundle.min.js | wc -c` bytes\"", |
6 | | - "lint": "eslint src" |
| 6 | + "lint": "eslint 'src/**/*.{js,jsx}'", |
| 7 | + "dev": "webpack --mode development --watch" |
7 | 8 | }, |
8 | 9 | "dependencies": { |
9 | | - "graphiql": "^1.4.2", |
10 | | - "graphiql-explorer": "^0.6.3", |
11 | | - "graphql": "^15.5.1", |
12 | | - "react": "^16.3", |
13 | | - "react-dom": "^16.3" |
| 10 | + "@codemirror/language": "6.0.0", |
| 11 | + "@graphiql/plugin-explorer": "^2.0.0", |
| 12 | + "@graphiql/react": "^0.21.0", |
| 13 | + "graphiql": "^3.2.0", |
| 14 | + "graphql": "^15.8.0", |
| 15 | + "graphql-ws": "^5.16.0", |
| 16 | + "prop-types": "^15.8.1", |
| 17 | + "react": "^18.2.0", |
| 18 | + "react-dom": "^18.2.0", |
| 19 | + "react-is": "^16.13.1" |
14 | 20 | }, |
15 | 21 | "devDependencies": { |
16 | | - "babel": "^6.23.0", |
17 | | - "babel-core": "^6.26.0", |
18 | | - "babel-eslint": "^8.0.2", |
19 | | - "babel-loader": "^7.1.2", |
| 22 | + "@babel/cli": "^7.24.1", |
| 23 | + "@babel/core": "^7.24.4", |
| 24 | + "@babel/eslint-parser": "^7.24.1", |
| 25 | + "@babel/preset-env": "^7.24.4", |
| 26 | + "@babel/preset-react": "^7.24.1", |
| 27 | + "@babel/preset-stage-0": "^7.8.3", |
| 28 | + "@babel/register": "^7.23.7", |
| 29 | + "babel-loader": "^9.1.3", |
20 | 30 | "babel-plugin-syntax-dynamic-import": "^6.18.0", |
21 | | - "babel-preset-es2015": "^6.24.1", |
22 | | - "babel-preset-react": "^6.24.1", |
23 | | - "babel-preset-stage-0": "^6.24.1", |
24 | 31 | "copy-webpack-plugin": "^6.1.2", |
25 | | - "eslint": "^8.9.0", |
26 | | - "eslint-config-airbnb": "^18.1.0", |
27 | | - "eslint-plugin-import": "^2.20.2", |
| 32 | + "eslint": "^8.57.0", |
| 33 | + "eslint-config-airbnb": "19.0.4", |
| 34 | + "eslint-config-airbnb-base": "15.0.0", |
| 35 | + "eslint-plugin-import": "^2.25.2", |
| 36 | + "eslint-plugin-jsx-a11y": "^6.5.1", |
| 37 | + "eslint-plugin-react": "^7.28.0", |
| 38 | + "eslint-plugin-react-hooks": "^4.3.0", |
28 | 39 | "rimraf": "^2.6.2", |
29 | | - "webpack": "^5.40.0", |
30 | | - "webpack-cli": "^4.9.2" |
| 40 | + "webpack": "^5.91.0", |
| 41 | + "webpack-cli": "^4.9.2", |
| 42 | + "webpack-dev-server": "^5.0.4" |
31 | 43 | } |
32 | 44 | } |
0 commit comments