2018-08-29 20:24:59 +08:00
|
|
|
{
|
2018-11-18 13:58:33 +08:00
|
|
|
"name": "console-fe",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "console fe",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.conf.js --open",
|
|
|
|
"build": "cross-env NODE_ENV=production webpack --config build/webpack.prod.conf.js && node build/copy-dist.js",
|
|
|
|
"eslint": "eslint --ext .js src/",
|
|
|
|
"eslint-fix": "eslint --ext .js --fix src/"
|
|
|
|
},
|
2018-08-29 20:24:59 +08:00
|
|
|
"private": true,
|
2018-11-14 19:38:13 +08:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2018-11-14 20:47:21 +08:00
|
|
|
"*.{js,css,less}": [
|
|
|
|
"prettier --write",
|
2018-11-14 19:38:13 +08:00
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2018-11-18 13:58:33 +08:00
|
|
|
"license": "Apache-2.0",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/alibaba/nacos.git"
|
2018-08-29 20:24:59 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-11-18 13:58:33 +08:00
|
|
|
"babel-cli": "^6.26.0",
|
2018-08-29 20:24:59 +08:00
|
|
|
"babel-core": "^6.26.3",
|
2018-11-14 19:38:13 +08:00
|
|
|
"babel-eslint": "^10.0.1",
|
2018-11-18 13:58:33 +08:00
|
|
|
"babel-loader": "^7.1.5",
|
|
|
|
"babel-plugin-import": "^1.10.0",
|
|
|
|
"babel-plugin-transform-decorators": "^6.24.1",
|
2018-11-14 19:38:13 +08:00
|
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
2018-11-18 13:58:33 +08:00
|
|
|
"babel-preset-env": "^1.7.0",
|
|
|
|
"babel-preset-react-app": "^3.1.1",
|
|
|
|
"babel-runtime": "^6.23.0",
|
|
|
|
"clean-webpack-plugin": "^0.1.19",
|
|
|
|
"copy-webpack-plugin": "^4.6.0",
|
|
|
|
"cross-env": "^5.2.0",
|
|
|
|
"css-loader": "^1.0.0",
|
2018-11-14 19:38:13 +08:00
|
|
|
"eslint": "^5.9.0",
|
|
|
|
"eslint-config-ali": "^4.0.0",
|
|
|
|
"eslint-config-prettier": "^3.3.0",
|
2018-11-18 13:58:33 +08:00
|
|
|
"eslint-loader": "^2.1.1",
|
2018-11-14 19:38:13 +08:00
|
|
|
"eslint-plugin-import": "^2.14.0",
|
|
|
|
"eslint-plugin-prettier": "^3.0.0",
|
|
|
|
"eslint-plugin-react": "^7.11.1",
|
2018-11-18 13:58:33 +08:00
|
|
|
"file-loader": "^2.0.0",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2018-11-14 19:42:35 +08:00
|
|
|
"husky": "^1.1.4",
|
|
|
|
"lint-staged": "^8.0.4",
|
2018-11-18 13:58:33 +08:00
|
|
|
"mini-css-extract-plugin": "^0.4.3",
|
|
|
|
"node-sass": "^4.1.0",
|
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
2018-11-14 20:47:21 +08:00
|
|
|
"prettier": "1.15.2",
|
2018-11-18 13:58:33 +08:00
|
|
|
"sass-loader": "^7.1.0",
|
|
|
|
"style-loader": "^0.23.0",
|
|
|
|
"uglifyjs-webpack-plugin": "^2.0.1",
|
|
|
|
"url-loader": "^1.1.1",
|
|
|
|
"webpack": "^4.20.2",
|
|
|
|
"webpack-cli": "^3.1.2",
|
|
|
|
"webpack-dev-server": "^3.1.9"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@alifd/next": "^1.9.19",
|
|
|
|
"axios": "^0.18.0",
|
|
|
|
"jquery": "^3.3.1",
|
|
|
|
"moment": "^2.22.2",
|
|
|
|
"prop-types": "^15.6.2",
|
|
|
|
"react": "^16.6.0",
|
|
|
|
"react-dom": "^16.6.0",
|
|
|
|
"react-redux": "^5.1.0",
|
|
|
|
"react-router": "^4.3.1",
|
|
|
|
"react-router-dom": "^4.3.1",
|
|
|
|
"react-router-redux": "^4.0.8",
|
|
|
|
"redux": "^4.0.1",
|
|
|
|
"redux-thunk": "^2.3.0"
|
2018-08-29 20:24:59 +08:00
|
|
|
}
|
2018-11-02 10:38:43 +08:00
|
|
|
}
|