mirror of
https://github.com/SunnyQjm/sunny-blog.git
synced 2026-06-06 07:59:30 +08:00
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "umi dev",
|
|
"build": "umi build",
|
|
"test": "umi test",
|
|
"lint:es": "eslint --ext .js src mock tests",
|
|
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"dependencies": {
|
|
"@types/react-addons-shallow-compare": "^0.14.22",
|
|
"@types/react-transition-group": "^4.2.3",
|
|
"antd": "^3.19.5",
|
|
"dva": "^2.6.0-beta.6",
|
|
"highlight.js": "^9.15.10",
|
|
"mockjs": "^1.1.0",
|
|
"node-sass": "^4.13.0",
|
|
"react": "^16.8.6",
|
|
"react-addons-shallow-compare": "^15.6.2",
|
|
"react-dom": "^16.8.6",
|
|
"react-lowlight": "^2.0.0",
|
|
"react-markdown": "^4.2.2",
|
|
"react-transition-group": "^4.3.0",
|
|
"sass-loader": "^8.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.12",
|
|
"@types/mockjs": "^1.0.2",
|
|
"@types/react": "^16.7.18",
|
|
"@types/react-dom": "^16.0.11",
|
|
"@types/react-test-renderer": "^16.0.3",
|
|
"babel-eslint": "^9.0.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.9.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"
|
|
}
|
|
}
|