package.json 4 KB
Newer Older
Deshui Yu's avatar
Deshui Yu committed
1
{
2
  "name": "nni-webui",
Deshui Yu's avatar
Deshui Yu committed
3
  "version": "0.1.0",
4
  "license": "MIT",
Deshui Yu's avatar
Deshui Yu committed
5
  "dependencies": {
Lijiaoa's avatar
Lijiaoa committed
6
    "axios": "^0.21.2",
7
8
    "babel-jest": "^27.0.2",
    "babel-loader": "^8.2.2",
9
    "babel-plugin-named-asset-import": "^0.3.2",
10
11
    "babel-preset-react-app": "^10.0.0",
    "case-sensitive-paths-webpack-plugin": "^2.4.0",
12
    "copy-to-clipboard": "^3.0.8",
13
14
15
16
17
    "css-loader": "^5.2.6",
    "css-minimizer-webpack-plugin": "^3.0.1",
    "d3": "^6.7.0",
    "dotenv": "^10.0.0",
    "dotenv-expand": "^5.1.0",
18
    "echarts": "^5.2.2",
19
20
21
22
23
24
25
26
    "echarts-for-react": "^3.0.0",
    "file-loader": "^6.2.0",
    "fs-extra": "^10.0.0",
    "html-webpack-plugin": "^5.3.1",
    "jest": "^27.0.4",
    "jest-environment-jsdom-fourteen": "^1.0.1",
    "jest-resolve": "^27.0.4",
    "jest-watch-typeahead": "^0.6.4",
chicm-ms's avatar
chicm-ms committed
27
    "json5": "^2.1.1",
28
29
30
    "mini-css-extract-plugin": "^1.6.0",
    "monaco-editor": "^0.25.0",
    "monaco-editor-webpack-plugin": "^4.0.0",
31
    "node-sass": "^7.0.1",
32
    "parcoord-es": "^2.2.10",
33
34
35
36
37
    "pnp-webpack-plugin": "^1.6.4",
    "postcss-flexbugs-fixes": "^5.0.2",
    "postcss-loader": "^6.1.0",
    "postcss-normalize": "^10.0.0",
    "postcss-preset-env": "^6.6.0",
38
    "react": "^16.8.6",
39
    "react-app-polyfill": "^1.0.0",
40
    "react-dev-utils": "^11.0.4",
41
    "react-dom": "^16.8.6",
42
    "react-json-tree": "^0.11.2",
43
    "react-monaco-editor": "^0.32.1",
44
    "react-paginate": "^6.3.2",
45
    "react-responsive": "^8.1.1",
46
47
    "react-router": "^5.2.0",
    "react-router-dom": "^5.2.0",
48
    "react-table": "^7.0.0-rc.15",
49
50
51
52
53
54
55
    "resolve": "^1.10.0",
    "sass-loader": "^12.1.0",
    "semver": "^7.3.5",
    "style-loader": "^2.0.0",
    "url-loader": "^4.1.1",
    "webpack": "^5.39.0",
    "webpack-manifest-plugin": "^3.1.1",
liuzhe-lz's avatar
liuzhe-lz committed
56
    "workbox-webpack-plugin": "^6.5.3"
Deshui Yu's avatar
Deshui Yu committed
57
58
  },
  "devDependencies": {
59
60
61
62
63
    "@babel/core": "^7.14.6",
    "@babel/eslint-parser": "^7.14.5",
    "@babel/preset-react": "^7.14.5",
    "@babel/preset-typescript": "^7.14.5",
    "@babel/runtime": "^7.14.6",
64
    "@fluentui/react": "^7.135.0",
65
    "@svgr/webpack": "^6.1.2",
66
67
68
69
    "@types/d3": "^6.7.0",
    "@types/node": "^15.12.2",
    "@types/react": "^16.8.15",
    "@types/react-dom": "^16.8.4",
70
71
    "@typescript-eslint/eslint-plugin": "^5.8.0",
    "@typescript-eslint/parser": "^5.8.0",
72
73
74
75
76
77
78
79
    "concurrently": "^6.2.0",
    "eslint": "^7.28.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-config-react-app": "^6.0.0",
    "eslint-loader": "^4.0.2",
    "eslint-plugin-flowtype": "^5.7.2",
    "eslint-plugin-import": "^2.23.4",
    "eslint-plugin-jsx-a11y": "^6.4.1",
80
    "eslint-plugin-prettier": "^3.1.0",
81
82
    "eslint-plugin-react": "^7.24.0",
    "eslint-plugin-react-hooks": "^4.2.0",
83
    "express": "^4.17.1",
liuzhe-lz's avatar
liuzhe-lz committed
84
    "npm": ">=8.3.0",
85
    "prettier": "^2.3.1",
86
    "stylelint": "^13.7.0",
87
    "stylelint-config-standard": "^22.0.0",
Lijiaoa's avatar
Lijiaoa committed
88
    "trim-newlines": "^3.0.0",
liuzhe-lz's avatar
liuzhe-lz committed
89
    "typescript": "^4.3.2",
liuzhe-lz's avatar
liuzhe-lz committed
90
    "webpack-dev-server": ">=4.9.0"
91
  },
92
  "proxy": "http://localhost:12138",
93
  "scripts": {
chicm-ms's avatar
chicm-ms committed
94
    "start": "node --max-old-space-size=3072 scripts/start.js",
95
96
    "build": "node --max-old-space-size=3072 scripts/developmentBuild.js",
    "release": "node --max-old-space-size=3072 scripts/productionBuild.js",
97
98
99
    "sanity-check": "yarn sanity-check:tsc && yarn sanity-check:eslint",
    "sanity-check:tsc": "tsc",
    "sanity-check:eslint": "eslint ./ --ext .tsx,.ts",
chicm-ms's avatar
chicm-ms committed
100
    "test": "node --max-old-space-size=3072 scripts/test.js",
101
    "stylelint": "npx stylelint **/*{.css,.scss}",
102
103
    "mock": "node scripts/server.js",
    "dev": "concurrently \"yarn mock\" \"yarn start\""
104
  },
105
106
107
108
109
110
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": [
    "defaults"
  ],
111
112
  "babel": {
    "presets": [
113
114
      "@babel/preset-react",
      "@babel/preset-typescript"
115
    ]
liuzhe-lz's avatar
liuzhe-lz committed
116
117
  },
  "resolutions": {
118
119
120
    "yargs": ">=17.0.1",
    "acorn": ">=8.4.0",
    "y18n": ">=5.0.8",
liuzhe-lz's avatar
liuzhe-lz committed
121
122
123
124
    "serialize-javascript": ">=5.0.1",
    "css-what": ">=5.0.1",
    "browserslist": ">=4.16.6",
    "trim-newlines": ">=4.0.2",
125
    "glob-parent": ">=6.0.0",
126
127
    "strip-ansi": "=6.0.1",
    "immer": ">=9.0.7"
128
129
130
  },
  "jest": {
    "verbose": true
131
  }
132
}