You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
3.8 KiB
126 lines
3.8 KiB
{ |
|
"name": "HiATMP-Base", |
|
"version": "1.0.0", |
|
"description": "based on ant-design-pro", |
|
"author": "j", |
|
"private": true, |
|
"license": "", |
|
"scripts": { |
|
"presite": "node ./scripts/generateMock.js && cd functions && npm install", |
|
"start": "cross-env APP_TYPE=site umi dev", |
|
"start:no-mock": "cross-env MOCK=none umi dev", |
|
"build": "umi build", |
|
"site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy", |
|
"analyze": "cross-env ANALYZE=1 umi build", |
|
"lint:style": "stylelint \"src/**/*.less\" --syntax less", |
|
"lint": "eslint --ext .js src mock tests && npm run lint:style", |
|
"lint:fix": "eslint --fix --ext .js src && npm run lint:style", |
|
"lint-staged": "lint-staged", |
|
"lint-staged:js": "eslint --ext .js", |
|
"test": "umi test", |
|
"generate-mock": "node ./scripts/generateMock.js", |
|
"test:component": "umi test ./src/components", |
|
"test:all": "node ./tests/run-tests.js", |
|
"prettier": "prettier --write ./src/**/**/**/*" |
|
}, |
|
"dependencies": { |
|
"@babel/runtime": "^7.1.5", |
|
"@tweenjs/tween.js": "^17.2.0", |
|
"antd": "3.11.6", |
|
"classnames": "^2.2.6", |
|
"dayjs": "^1.7.7", |
|
"dva": "^2.4.0", |
|
"echarts": "^4.0.4", |
|
"echarts-for-react": "^2.0.8", |
|
"echarts-liquidfill": "^2.0.2", |
|
"glob": "^7.1.2", |
|
"hash.js": "^1.1.5", |
|
"immutability-helper-x": "^1.0.5", |
|
"less-vars-to-js": "^1.3.0", |
|
"lodash": "^4.17.10", |
|
"lodash-decorators": "^6.0.0", |
|
"memoize-one": "^4.0.0", |
|
"number-flip": "^1.0.28", |
|
"numeral": "^2.0.6", |
|
"nzh": "^1.0.3", |
|
"omit.js": "^1.0.0", |
|
"path-to-regexp": "^2.4.0", |
|
"postcss": "^6.0.23", |
|
"postcss-less": "^2.0.0", |
|
"prop-types": "^15.5.10", |
|
"qs": "^6.5.2", |
|
"ramda": "^0.25.0", |
|
"rc-animate": "^2.4.4", |
|
"rc-queue-anim": "^1.6.8", |
|
"rc-tween-one": "^2.2.14", |
|
"react": "^16.6.3", |
|
"react-container-query": "^0.11.0", |
|
"react-copy-to-clipboard": "^5.0.1", |
|
"react-document-title": "^2.0.3", |
|
"react-dom": "^16.6.3", |
|
"react-fittext": "^1.0.0", |
|
"react-grid-layout": "^0.16.6", |
|
"react-router-config": "^1.0.0-beta.4", |
|
"react-router-dom": "^4.3.1", |
|
"react-scrollbars-custom": "^3.1.5", |
|
"react-sizeme": "^2.5.2", |
|
"react-virtualized": "^9.20.1", |
|
"tslib": "1.9.0", |
|
"tslint": "^5.12.0", |
|
"tslint-config-prettier": "^1.17.0", |
|
"tslint-react": "^3.6.0", |
|
"underscore": "^1.9.1", |
|
"xlsx": "^0.14.1" |
|
}, |
|
"devDependencies": { |
|
"@types/react": "^16.7.17", |
|
"@types/react-dom": "^16.0.11", |
|
"antd-pro-merge-less": "^0.2.0", |
|
"antd-theme-webpack-plugin": "^1.1.8", |
|
"babel-eslint": "^10.0.1", |
|
"cross-env": "^5.1.1", |
|
"cross-port-killer": "^1.0.1", |
|
"enquire-js": "^0.2.1", |
|
"enzyme": "^3.7.0", |
|
"eslint": "^5.4.0", |
|
"eslint-config-airbnb": "^17.0.0", |
|
"eslint-config-prettier": "^3.0.1", |
|
"eslint-loader": "^2.1.1", |
|
"eslint-plugin-babel": "^5.3.0", |
|
"eslint-plugin-compat": "^2.6.2", |
|
"eslint-plugin-import": "^2.14.0", |
|
"eslint-plugin-jsx-a11y": "^6.1.2", |
|
"eslint-plugin-markdown": "^1.0.0-beta.6", |
|
"eslint-plugin-prettier": "^3.0.1", |
|
"eslint-plugin-react": "^7.11.1", |
|
"fs-extra": "^7.0.0", |
|
"lint-staged": "^8.1.0", |
|
"merge-umi-mock-data": "^0.0.3", |
|
"mockjs": "^1.0.1-beta3", |
|
"prettier": "1.15.2", |
|
"react-dev-utils": "^6.1.1", |
|
"stylelint": "^9.8.0", |
|
"stylelint-config-prettier": "^4.0.0", |
|
"stylelint-config-standard": "^18.0.0", |
|
"typescript": "^3.2.2", |
|
"umi": "2.3.1", |
|
"umi-plugin-react": "1.3.1" |
|
}, |
|
"optionalDependencies": {}, |
|
"lint-staged": { |
|
"**/*.{js,jsx,less}": [ |
|
"prettier --write", |
|
"git add" |
|
], |
|
"**/*.{js,jsx}": "npm run lint-staged:js", |
|
"**/*.less": "stylelint --syntax less" |
|
}, |
|
"engines": { |
|
"node": ">=8.0.0" |
|
}, |
|
"browserslist": [ |
|
"> 1%", |
|
"last 2 versions", |
|
"not ie <= 10" |
|
] |
|
}
|
|
|