12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- {
- "private": true,
- "scripts": {
- "start": "cross-env API_ENV=development umi dev",
- "startTest": "cross-env API_ENV=startTest umi dev",
- "build": "cross-env API_ENV=production umi build",
- "buildTest": "cross-env API_ENV=buildTest umi build",
- "test": "umi test",
- "lint:es": "eslint --ext .js src mock tests",
- "lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
- "precommit": "lint-staged"
- },
- "dependencies": {
- "antd": "^3.19.5",
- "dva": "^2.6.0-beta.6",
- "lodash": "^4.17.15",
- "react": "^16.8.6",
- "react-dom": "^16.8.6"
- },
- "devDependencies": {
- "@types/classnames": "^2.2.9",
- "@types/jest": "^23.3.12",
- "@types/lodash": "^4.14.136",
- "@types/node": "^12.0.10",
- "@types/react": "^16.7.18",
- "@types/react-dom": "^16.0.11",
- "@types/react-test-renderer": "^16.0.3",
- "babel-eslint": "^9.0.0",
- "classnames": "^2.2.6",
- "cross-env": "^5.2.0",
- "eslint": "^5.4.0",
- "eslint-config-umi": "^1.4.0",
- "eslint-plugin-flowtype": "^2.50.0",
- "eslint-plugin-import": "^2.14.0",
- "eslint-plugin-jsx-a11y": "^5.1.1",
- "eslint-plugin-react": "^7.11.1",
- "husky": "^0.14.3",
- "lint-staged": "^7.2.2",
- "react-test-renderer": "^16.7.0",
- "tslint": "^5.12.0",
- "tslint-eslint-rules": "^5.4.0",
- "tslint-react": "^3.6.0",
- "umi": "^2.8.0",
- "umi-plugin-react": "^1.8.0",
- "umi-types": "^0.3.0"
- },
- "lint-staged": {
- "*.{ts,tsx}": [
- "tslint --fix",
- "git add"
- ],
- "*.{js,jsx}": [
- "eslint --fix",
- "git add"
- ]
- },
- "engines": {
- "node": ">=8.0.0"
- }
- }
|