mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
142 lines
3.9 KiB
JSON
142 lines
3.9 KiB
JSON
{
|
|
"name": "yapi",
|
|
"version": "1.0.0",
|
|
"description": "YAPI",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build-server": "babel server -d server_dist",
|
|
"dev-server": "nodemon server_dist/app.js dev -L",
|
|
"install-server": "node server_dist/install.js",
|
|
"dev": "gulp --silent",
|
|
"build": "gulp build --silent",
|
|
"only-watch": "gulp watchNode"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@gitlab.corp.qunar.com:mfe/yapi.git"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"assets-webpack-plugin": "^3.5.1",
|
|
"axios": "^0.16.2",
|
|
"babel": "^6.5.2",
|
|
"babel-cli": "^6.24.1",
|
|
"babel-core": "^6.8.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-loader": "^6.2.4",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-plugin-transform-object-rest-spread": "^6.8.0",
|
|
"babel-plugin-transform-runtime": "^6.9.0",
|
|
"babel-preset-es2015": "^6.9.0",
|
|
"babel-preset-react": "^6.5.0",
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
"babel-register": "^6.9.0",
|
|
"babel-runtime": "^6.9.2",
|
|
"buffer-shims": "^1.0.0",
|
|
"chalk": "^2.0.1",
|
|
"clipboard": "^1.7.1",
|
|
"copy-webpack-plugin": "^4.0.1",
|
|
"core-decorators": "^0.17.0",
|
|
"cross-request": "^1.0.1",
|
|
"css-loader": "^0.28.4",
|
|
"eslint": "^3.19.0",
|
|
"eslint-loader": "^1.9.0",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"eslint-plugin-react": "^7.1.0",
|
|
"express": "^4.15.3",
|
|
"extract-text-webpack-plugin": "^1.0.1",
|
|
"fast-sass-loader": "^1.2.5",
|
|
"fs-extra": "^3.0.1",
|
|
"gulp": "^3.9.1",
|
|
"gulp-babel": "^6.1.2",
|
|
"gulp-watch": "^4.3.11",
|
|
"json2html": "0.0.8",
|
|
"json5": "^0.5.1",
|
|
"jsoneditor": "^5.9.3",
|
|
"jsonwebtoken": "^7.4.1",
|
|
"koa": "^2.0.0",
|
|
"koa-bodyparser": "^3.2.0",
|
|
"koa-logger": "^3.0.0",
|
|
"koa-mysql-session": "0.0.2",
|
|
"koa-route": "^3.2.0",
|
|
"koa-router": "^7.0.1",
|
|
"koa-send": "^3.2.0",
|
|
"koa-session-minimal": "^3.0.3",
|
|
"koa-static": "^3.0.0",
|
|
"koa-views": "^5.2.0",
|
|
"koa-websocket": "^4.0.0",
|
|
"mock": "^0.1.1",
|
|
"mockjs": "^1.0.1-beta3",
|
|
"moment": "^2.18.1",
|
|
"monaco-editor": "^0.9.0",
|
|
"mongoose": "4.10.8",
|
|
"mongoose-auto-increment": "^5.0.1",
|
|
"node-sass": "^4.5.3",
|
|
"node-sass-china": "^4.5.0",
|
|
"nodemailer": "^4.0.1",
|
|
"ora": "^1.3.0",
|
|
"prop-types": "^15.5.10",
|
|
"rc-queue-anim": "^1.2.0",
|
|
"rc-scroll-anim": "^1.0.7",
|
|
"react": "^15.6.1",
|
|
"react-dom": "^15.6.1",
|
|
"react-monaco-editor": "^0.8.1",
|
|
"react-redux": "^5.0.5",
|
|
"react-router-dom": "^4.1.1",
|
|
"react-router-redux": "^4.0.8",
|
|
"react-scripts": "1.0.10",
|
|
"redux": "^3.7.1",
|
|
"redux-promise": "^0.5.3",
|
|
"redux-thunk": "^2.2.0",
|
|
"request": "^2.81.0",
|
|
"sass-loader": "^6.0.6",
|
|
"scss-loader": "0.0.1",
|
|
"sha1": "^1.1.1",
|
|
"string-replace-webpack-plugin": "^0.1.3",
|
|
"style-loader": "^0.18.2",
|
|
"underscore": "^1.8.3",
|
|
"universal-cookie": "^2.0.8",
|
|
"url": "^0.11.0",
|
|
"validate-commit-msg": "^2.12.2",
|
|
"wangeditor": "^3.0.4",
|
|
"ykit-config-antd": "^0.1.3",
|
|
"ykit-config-react": "^0.4.4"
|
|
},
|
|
"devDependencies": {
|
|
"babel-plugin-import": "^1.3.1",
|
|
"ghooks": "^2.0.0",
|
|
"nodemon": "^1.11.0",
|
|
"redux-devtools": "^3.4.0",
|
|
"redux-devtools-dock-monitor": "^1.1.2",
|
|
"redux-devtools-log-monitor": "^1.3.0",
|
|
"webpack": "^2.0.0",
|
|
"webpack-node-externals": "^1.6.0"
|
|
},
|
|
"config": {
|
|
"ghooks": {
|
|
"commit-msg": "validate-commit-msg"
|
|
},
|
|
"validate-commit-msg": {
|
|
"types": [
|
|
"feat",
|
|
"fix",
|
|
"docs",
|
|
"test",
|
|
"chore",
|
|
"refactor",
|
|
"opti"
|
|
],
|
|
"warnOnFail": false,
|
|
"maxSubjectLength": 100,
|
|
"subjectPattern": ".+",
|
|
"subjectPatternErrorMsg": "请输入message信息!",
|
|
"helpMessage": "Commit message 格式错误, \n请查看规范: http://wiki.corp.qunar.com/pages/viewpage.action?pageId=159698767"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">= 6.0.0",
|
|
"npm": ">= 3.0.0"
|
|
}
|
|
}
|