feat: 菜单调整
Showing
... | ... | @@ -15,13 +15,13 @@ |
"scripts": { | ||
"init": "yarn install --registry=https://g.civnet.cn:4873", | ||
"analyze:clean": "rimraf stats.json", | ||
"preanalyze": "npm run analyze:clean", | ||
"preanalyze": "yarn run analyze:clean", | ||
"analyze": "cross-env ANALYZE=1 npm run build", | ||
"npmcheckversion": "node ./internals/scripts/npmcheckversion.js", | ||
"preinstall": "npm run npmcheckversion && npx only-allow yarn", | ||
"preinstall": "yarn run npmcheckversion && npx only-allow yarn", | ||
"build": "cross-env NODE_ENV=production node --max_old_space_size=4096 internals/webpack/build.js", | ||
"build:clean": "rimraf ./build", | ||
"openapi": "cross-env NODE_ENV=development node server/openapi/run.js", | ||
"openapi": "cross-env NODE_ENV=development yarn server/openapi/run.js", | ||
"start": "cross-env REACT_APP_ENV=dev NODE_ENV=development node --max_old_space_size=4192 server --port=$port", | ||
"start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server", | ||
"start:production": "npm run test && npm run build && npm run start:prod", | ||
... | ... | @@ -33,9 +33,9 @@ |
"presetup": "npm i chalk shelljs", | ||
"setup": "node ./internals/scripts/setup.js", | ||
"clean": "shjs ./internals/scripts/clean.js", | ||
"clean:all": "npm run analyze:clean && npm run test:clean && npm run build:clean", | ||
"clean:all": "yarn run analyze:clean && npm run test:clean && npm run build:clean", | ||
"generate": "plop --plopfile internals/generators/index.js", | ||
"lint": "npm run lint:js && npm run lint:prettier", | ||
"lint": "yarn run lint:js && yarn run lint:prettier", | ||
"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", | ||
... | ... | @@ -43,7 +43,7 @@ |
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ", | ||
"lint:prettier": "prettier -c ./src/**/*.js", | ||
"lint:staged": "lint-staged", | ||
"pretest": "npm run test:clean && npm run lint", | ||
"pretest": "yarn run test:clean && npm run lint", | ||
"prettier": "prettier --write ./src/**/*.js", | ||
"test:clean": "rimraf ./coverage", | ||
"test": "cross-env NODE_ENV=test jest --coverage", | ||
... | ... | @@ -111,9 +111,9 @@ |
"@wisdom-map/arcgismap": "^1.1.0", | ||
"@wisdom-map/basemap": "^1.0.12-50", | ||
"@wisdom-map/util": "^1.0.27-0", | ||
"@wisdom-utils/components": "0.1.214", | ||
"@wisdom-utils/components": "0.1.216", | ||
"@wisdom-utils/runtime": "0.0.32", | ||
"@wisdom-utils/utils": "0.1.254", | ||
"@wisdom-utils/utils": "0.1.256", | ||
"animate.css": "^4.1.1", | ||
"antd": "^4.20.7", | ||
"compression": "1.7.4", | ||
... | ... |
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment