package.json 12.1 KB
Newer Older
dengxiaofeng's avatar
dengxiaofeng committed
1
{
邓晓峰's avatar
邓晓峰 committed
2
    "name": "civbase",
3
    "version": "0.0.16",
邓晓峰's avatar
邓晓峰 committed
4 5 6
    "description": "",
    "repository": {
        "type": "git",
7
        "url": "https://g.civnet.cn:8443/ReactWeb5/CivWeb.git"
邓晓峰's avatar
邓晓峰 committed
8 9 10 11 12 13 14 15
    },
    "engines": {
        "npm": ">=5",
        "node": ">=8.15.1"
    },
    "author": "dengxiaofeng",
    "license": "MIT",
    "scripts": {
邓晓峰's avatar
邓晓峰 committed
16
        "init": "yarn install --registry=https://g.civnet.cn:4873",
邓晓峰's avatar
邓晓峰 committed
17
        "analyze:clean": "rimraf stats.json",
18
        "debugger": "node --inspect-brk internals/webpack/build.js",
邓晓峰's avatar
邓晓峰 committed
19
        "preanalyze": "yarn run analyze:clean",
邓晓峰's avatar
邓晓峰 committed
20 21
        "analyze": "cross-env ANALYZE=1 npm run build",
        "npmcheckversion": "node ./internals/scripts/npmcheckversion.js",
22
        "preinstall": "yarn run npmcheckversion && npx force-resolutions",
杨思琦's avatar
杨思琦 committed
23
        "update:wisdom": "npm install --registry=https://g.civnet.cn:4873 && npm run refresh",
杨思琦's avatar
杨思琦 committed
24
        "refresh": "node ./internals/webpack/install.js --registry=https://g.civnet.cn:4873",
邓晓峰's avatar
邓晓峰 committed
25
        "build": "cross-env NODE_ENV=production node --max_old_space_size=4096 internals/webpack/build.js",
邓晓峰's avatar
邓晓峰 committed
26
        "build:clean": "rimraf ./build",
邓晓峰's avatar
邓晓峰 committed
27
        "openapi": "cross-env NODE_ENV=development yarn server/openapi/run.js",
邓晓峰's avatar
邓晓峰 committed
28
        "start": "cross-env REACT_APP_ENV=dev NODE_ENV=development node  --max_old_space_size=4192 server --port=$port",
邓晓峰's avatar
邓晓峰 committed
29 30 31 32 33 34 35 36 37 38
        "start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server",
        "start:production": "npm run test && npm run build && npm run start:prod",
        "start:prod": "cross-env NODE_ENV=production node server",
        "release": "np --no-cleanup --yolo --no-publish",
        "cm": "git-cz",
        "log": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
        "update:deps": "yarn upgrade-interactive --latest",
        "presetup": "npm i chalk shelljs",
        "setup": "node ./internals/scripts/setup.js",
        "clean": "shjs ./internals/scripts/clean.js",
邓晓峰's avatar
邓晓峰 committed
39
        "clean:all": "yarn run analyze:clean && npm run test:clean && npm run build:clean",
邓晓峰's avatar
邓晓峰 committed
40
        "generate": "plop --plopfile internals/generators/index.js",
邓晓峰's avatar
邓晓峰 committed
41
        "lint": "yarn run lint:js  && yarn run lint:prettier",
邓晓峰's avatar
邓晓峰 committed
42 43 44 45 46 47 48
        "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
        "lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts",
        "lint:eslint:fix": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts --fix",
        "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
        "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ",
        "lint:prettier": "prettier -c ./src/**/*.js",
        "lint:staged": "lint-staged",
邓晓峰's avatar
邓晓峰 committed
49
        "pretest": "yarn run test:clean && npm run lint",
邓晓峰's avatar
邓晓峰 committed
50 51 52 53 54 55 56 57 58 59 60
        "prettier": "prettier --write ./src/**/*.js",
        "test:clean": "rimraf ./coverage",
        "test": "cross-env NODE_ENV=test jest --coverage",
        "test:watch": "cross-env NODE_ENV=test jest --watchAll",
        "coveralls": "cat ./coverage/lcov.info | coveralls",
        "prettify": "prettier --write"
    },
    "browserslist": [
        "last 2 versions",
        "> 1%",
        "IE 10"
dengxiaofeng's avatar
dengxiaofeng committed
61
    ],
邓晓峰's avatar
邓晓峰 committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
    "config": {
        "commitizen": {
            "path": "cz-conventional-changelog"
        }
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged",
            "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
        }
    },
    "lint-staged": {
        "*.js": [
            "npm run lint:eslint:fix",
            "git add --force"
        ],
        "*.json": [
            "prettier --write",
            "git add --force"
        ]
    },
    "pre-commit": "lint:staged",
    "mock": true,
    "checkFiles": [
        "src/**/*.js*",
        "src/**/*.ts*",
        "src/**/*.less",
        "config/**/*.js*",
        "scripts/**/*.js"
    ],
    "resolutions": {
崔佳豪's avatar
崔佳豪 committed
93
        "babel-core": "7.0.0-bridge.0",
94 95
        "webpack": "^5.70.0",
        "antd": "4.21.2"
邓晓峰's avatar
邓晓峰 committed
96 97
    },
    "dependencies": {
98
        "@amap/amap-jsapi-loader": "^1.0.1",
邓晓峰's avatar
邓晓峰 committed
99 100
        "@ant-design/colors": "^5.0.1",
        "@ant-design/icons": "^4.0.0",
101
        "@ant-design/pro-form": "1.70.1",
102
        "@ant-design/pro-layout": "^6.24.1",
103
        "@ant-design/pro-list": "1.21.71",
邓晓峰's avatar
邓晓峰 committed
104
        "@ant-design/pro-skeleton": "^1.0.0-beta.2",
105
        "@ant-design/pro-table": "2.76.4",
邓晓峰's avatar
邓晓峰 committed
106 107 108
        "@ant-design/pro-utils": "^1.10.4",
        "@babel/polyfill": "7.4.3",
        "@babel/runtime": "^7.10.5",
109
        "@congcongcai/jieba.js": "0.0.3",
邹绪超's avatar
邹绪超 committed
110
        "@esri/calcite-colors": "6.0.3",
秦文海's avatar
秦文海 committed
111
        "@wisdom-cesium/cesium": "^1.1.48",
112
        "@wisdom-cesium/krpano": "1.0.29-60",
崔佳豪's avatar
崔佳豪 committed
113
        "@wisdom-components/basictable": "^1.5.16",
崔佳豪's avatar
崔佳豪 committed
114
        "@wisdom-components/empty": "^1.4.1",
115
        "@wisdom-components/videoslidermodal": "^1.1.60",
116
        "@wisdom-map/amap": "1.7.0",
lihonglin's avatar
lihonglin committed
117
        "@wisdom-map/arcgismap": "1.4.0-281",
lihonglin's avatar
lihonglin committed
118
        "@wisdom-map/basemap": "1.1.0-41",
lihonglin's avatar
lihonglin committed
119
        "@wisdom-map/util": "1.2.9",
杨思琦's avatar
杨思琦 committed
120
        "@wisdom-utils/components": "0.1.356",
杨思琦's avatar
杨思琦 committed
121
        "@wisdom-utils/runtime": "0.0.48",
杨思琦's avatar
杨思琦 committed
122
        "@wisdom-utils/utils": "0.1.396",
邓晓峰's avatar
邓晓峰 committed
123
        "animate.css": "^4.1.1",
124
        "antd": "4.21.2",
秦文海's avatar
秦文海 committed
125
        "bcryptjs": "2.4.3",
邓晓峰's avatar
邓晓峰 committed
126 127
        "compression": "1.7.4",
        "connected-react-router": "6.4.0",
xuchaozou's avatar
xuchaozou committed
128
        "crypto-js": "^4.2.0",
崔佳豪's avatar
崔佳豪 committed
129 130
        "echarts": "^5.3.0",
        "echarts-for-react": "^3.0.2",
邓晓峰's avatar
邓晓峰 committed
131 132 133 134 135
        "fontfaceobserver": "2.1.0",
        "history": "4.9.0",
        "hoist-non-react-statics": "3.3.0",
        "immer": "3.0.0",
        "immutable": "^4.0.0-rc.12",
周宏民's avatar
周宏民 committed
136
        "jquery": "^3.7.0",
邓晓峰's avatar
邓晓峰 committed
137 138
        "js-base64": "^3.5.2",
        "js-cookie": "^2.2.1",
139
        "kit_global_config": "^1.0.46",
邓晓峰's avatar
邓晓峰 committed
140 141 142
        "kit_logger": "^1.0.2",
        "kit_utils": "^1.3.11",
        "lodash": "4.17.11",
143
        "long": "^5.2.3",
邓晓峰's avatar
邓晓峰 committed
144
        "minimist": "1.2.0",
145
        "mqtt-client": "^1.0.14",
邓晓峰's avatar
邓晓峰 committed
146 147 148 149
        "omit.js": "^2.0.2",
        "pinyin-match": "^1.1.1",
        "promise.prototype.finally": "^3.1.2",
        "prop-types": "15.7.2",
杨思琦's avatar
杨思琦 committed
150
        "qiankun": "2.7.10",
邓晓峰's avatar
邓晓峰 committed
151
        "qrcode.react": "^1.0.0",
张瑶's avatar
张瑶 committed
152
        "rc-cascader": "^2.3.2",
周宏民's avatar
周宏民 committed
153
        "rc-queue-anim": "^2.0.0",
邓晓峰's avatar
邓晓峰 committed
154
        "react": "17.0.2",
155
        "react-activation": "^0.9.9",
邓晓峰's avatar
邓晓峰 committed
156
        "react-dom": "17.0.2",
邓晓峰's avatar
邓晓峰 committed
157 158 159
        "react-draggable": "^4.4.3",
        "react-helmet": "6.0.0-beta",
        "react-helmet-async": "^1.0.4",
邓晓峰's avatar
邓晓峰 committed
160
        "react-iframe": "^1.8.0",
161
        "react-infinite-scroll-component": "^6.1.0",
邓晓峰's avatar
邓晓峰 committed
162 163
        "react-intl": "^3.12.1",
        "react-redux": "7.0.2",
程恺文's avatar
程恺文 committed
164
        "react-reveal": "^1.2.2",
邓晓峰's avatar
邓晓峰 committed
165
        "react-router-config": "^5.1.1",
邓晓峰's avatar
邓晓峰 committed
166
        "react-router-dom": "6.3.0",
邓晓峰's avatar
邓晓峰 committed
167 168 169 170 171 172 173 174
        "react-use": "^15.3.4",
        "redux": "4.0.1",
        "redux-immutable": "^4.0.0",
        "redux-saga": "1.0.2",
        "redux-thunk": "^2.3.0",
        "reselect": "4.0.0",
        "sanitize.css": "8.0.0",
        "sha1": "^1.1.1",
175
        "sm4js": "^0.0.6",
秦文海's avatar
秦文海 committed
176 177
        "styled-components": "4.2.0",
        "swiper": "6.8.4"
邓晓峰's avatar
邓晓峰 committed
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
    },
    "devDependencies": {
        "@babel/cli": "7.4.3",
        "@babel/core": "7.4.3",
        "@babel/plugin-proposal-class-properties": "7.4.0",
        "@babel/plugin-syntax-dynamic-import": "7.2.0",
        "@babel/plugin-transform-flow-strip-types": "^7.12.13",
        "@babel/plugin-transform-modules-commonjs": "7.4.3",
        "@babel/plugin-transform-react-constant-elements": "7.2.0",
        "@babel/plugin-transform-react-inline-elements": "7.2.0",
        "@babel/plugin-transform-react-jsx": "^7.12.16",
        "@babel/preset-env": "7.4.3",
        "@babel/preset-react": "7.0.0",
        "@babel/register": "7.4.0",
        "@commitlint/cli": "^9.1.2",
        "@commitlint/config-conventional": "^9.1.2",
        "@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
        "@svgr/webpack": "4.3.3",
        "@umijs/bundler-utils": "3.3.7",
        "@umijs/deps": "^0.8.1",
        "@umijs/fabric": "^2.2.0",
        "@umijs/runtime": "3.3.7",
        "@umijs/utils": "3.3.7",
        "babel-core": "7.0.0-bridge.0",
        "babel-eslint": "10.0.1",
        "babel-loader": "8.0.5",
        "babel-plugin-dynamic-import-node": "2.2.0",
        "babel-plugin-import": "^1.13.0",
206
        "babel-plugin-inline-react-svg": "^2.0.1",
邓晓峰's avatar
邓晓峰 committed
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
        "babel-plugin-lodash": "3.3.4",
        "babel-plugin-react-intl": "3.0.1",
        "babel-plugin-styled-components": "1.10.0",
        "babel-plugin-transform-react-remove-prop-types": "0.4.24",
        "bcore": "^0.0.22",
        "body-parser": "^1.19.0",
        "chalk": "2.4.2",
        "child_process": "^1.0.2",
        "circular-dependency-plugin": "5.0.2",
        "classnames": "^2.2.6",
        "cliui": "^7.0.4",
        "compare-versions": "3.4.0",
        "compression-webpack-plugin": "2.0.0",
        "conventional-changelog-cli": "^2.1.0",
        "copy-webpack-plugin": "^5.0.4",
        "core-js": "^3.6.5",
        "coveralls": "3.0.3",
        "cross-env": "^5.2.1",
        "css-loader": "^4.2.1",
        "cz-customizable": "^6.3.0",
        "dotenv": "^8.2.0",
        "ejs": "^3.1.6",
邓晓峰's avatar
邓晓峰 committed
229
        "esbuild-loader": "^2.18.0",
邓晓峰's avatar
邓晓峰 committed
230 231 232 233 234 235 236 237 238 239 240 241 242
        "eslint": "^5.16.0",
        "eslint-config-airbnb": "17.1.0",
        "eslint-config-airbnb-base": "13.1.0",
        "eslint-config-prettier": "4.1.0",
        "eslint-import-resolver-webpack": "0.11.1",
        "eslint-plugin-import": "^2.17.2",
        "eslint-plugin-jsx-a11y": "6.2.1",
        "eslint-plugin-prettier": "3.0.1",
        "eslint-plugin-react": "7.12.4",
        "eslint-plugin-react-hooks": "1.6.0",
        "eslint-plugin-redux-saga": "1.0.0",
        "express": "^4.17.1",
        "file-loader": "3.0.1",
邓晓峰's avatar
邓晓峰 committed
243
        "friendly-errors-webpack-plugin": "^1.7.0",
邓晓峰's avatar
邓晓峰 committed
244 245
        "fs-extra": "^9.0.1",
        "html-loader": "0.5.5",
邓晓峰's avatar
邓晓峰 committed
246
        "html-webpack-plugin": "5.5.0",
邓晓峰's avatar
邓晓峰 committed
247 248 249 250 251 252 253 254 255
        "http-proxy-middleware": "^1.0.5",
        "husky": "^2.3.0",
        "imports-loader": "0.8.0",
        "invariant": "2.2.4",
        "ip": "1.1.5",
        "jest-cli": "24.7.1",
        "jest-dom": "3.1.3",
        "jest-styled-components": "6.3.1",
        "jsonp": "^0.2.1",
邓晓峰's avatar
邓晓峰 committed
256
        "less": "4.1.2",
邓晓峰's avatar
邓晓峰 committed
257 258
        "less-loader": "5.0.0",
        "lint-staged": "8.1.5",
邓晓峰's avatar
邓晓峰 committed
259
        "memoizee": "^0.4.15",
邓晓峰's avatar
邓晓峰 committed
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
        "mini-css-extract-plugin": "^0.12.0",
        "mockjs": "^1.0.1-beta3",
        "moment": "^2.29.1",
        "multer": "^1.4.2",
        "nanoid": "^3.1.16",
        "node-fetch": "^2.6.1",
        "node-plop": "0.18.0",
        "np": "^7.0.0",
        "null-loader": "0.1.1",
        "nunjucks": "^3.2.2",
        "optimize-css-assets-webpack-plugin": "5.0.4",
        "ora": "^5.1.0",
        "path-to-regexp": "^2.4.0",
        "plop": "2.3.0",
        "postcss": "7.0.32",
        "postcss-flexbugs-fixes": "4.2.1",
        "postcss-loader": "3.0.0",
        "postcss-preset-env": "6.7.0",
        "postcss-safe-parser": "^4.0.2",
        "pre-commit": "1.2.2",
        "prettier": "1.17.0",
邓晓峰's avatar
邓晓峰 committed
281
        "querystring-browser": "^1.0.4",
邓晓峰's avatar
邓晓峰 committed
282
        "raw-loader": "^4.0.2",
邓晓峰's avatar
邓晓峰 committed
283
        "react-activation": "^0.9.9",
邓晓峰's avatar
邓晓峰 committed
284 285
        "react-app-polyfill": "0.2.2",
        "react-error-overlay": "6.0.8",
286
        "react-inlinesvg": "^2.3.0",
邓晓峰's avatar
邓晓峰 committed
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
        "react-refresh": "^0.9.0",
        "react-sticky": "^6.0.3",
        "react-test-renderer": "16.8.6",
        "react-testing-library": "6.1.2",
        "redux-logger": "^3.0.6",
        "regenerator-runtime": "^0.13.7",
        "reserved-words": "^0.1.2",
        "shelljs": "0.8.3",
        "slash2": "^2.0.0",
        "speed-measure-webpack-plugin": "1.3.3",
        "spinner": "^0.3.4",
        "stats-webpack-plugin": "0.7.0",
        "style-loader": "^1.2.1",
        "stylelint": "10.0.1",
        "stylelint-config-recommended": "2.2.0",
        "stylelint-config-styled-components": "0.1.1",
        "stylelint-processor-styled-components": "1.6.0",
        "svg-url-loader": "^2.3.2",
邓晓峰's avatar
邓晓峰 committed
305
        "swagger-ui-react": "^4.0.0-beta.4",
邓晓峰's avatar
邓晓峰 committed
306
        "swagger2openapi": "^7.0.5",
邓晓峰's avatar
邓晓峰 committed
307
        "swc-loader": "^0.1.15",
308
        "terser-webpack-plugin": "5.2.0",
邓晓峰's avatar
邓晓峰 committed
309 310 311
        "traverse": "^0.6.6",
        "umi-webpack-bundle-analyzer": "3.6.0",
        "url-loader": "1.1.2",
312
        "webpack": "^5.70.0",
邓晓峰's avatar
邓晓峰 committed
313
        "webpack-chain": "6.5.1",
邓晓峰's avatar
邓晓峰 committed
314 315
        "webpack-cli": "4.2.0",
        "webpack-dev-middleware": "5.3.0",
邓晓峰's avatar
邓晓峰 committed
316 317 318 319
        "webpack-hot-middleware": "2.24.3",
        "webpack-manifest-plugin": "^3.0.0",
        "webpack-theme-color-replacer": "^1.3.15",
        "webpackbar": "5.0.0-3",
邓晓峰's avatar
邓晓峰 committed
320
        "whatwg-fetch": "^3.0.0",
邓晓峰's avatar
邓晓峰 committed
321
        "xss": "^1.0.11",
322
        "yorkie": "^2.0.0"
邓晓峰's avatar
邓晓峰 committed
323
    }
秦文海's avatar
秦文海 committed
324
}