2017-07-03 16:16:05 +08:00
|
|
|
{
|
|
|
|
"name": "yapi",
|
|
|
|
"version": "1.0.0",
|
2017-07-05 19:31:50 +08:00
|
|
|
"description": "YAPI",
|
2017-07-03 16:16:05 +08:00
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2017-07-11 18:22:20 +08:00
|
|
|
"build-server": "babel server -d server_dist",
|
2017-08-11 10:25:19 +08:00
|
|
|
"dev-server": "nodemon server_dist/app.js dev -L",
|
2017-08-22 16:06:56 +08:00
|
|
|
"server": "node server_dist/app.js",
|
2017-07-26 22:03:18 +08:00
|
|
|
"install-server": "node server_dist/install.js",
|
2017-07-26 16:37:17 +08:00
|
|
|
"dev": "gulp --silent",
|
2017-07-26 20:59:43 +08:00
|
|
|
"build": "gulp build --silent",
|
|
|
|
"only-watch": "gulp watchNode"
|
2017-07-03 16:16:05 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-07-26 16:29:49 +08:00
|
|
|
"url": "git@gitlab.corp.qunar.com:mfe/yapi.git"
|
2017-07-03 16:16:05 +08:00
|
|
|
},
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"dependencies": {
|
2017-07-25 14:18:57 +08:00
|
|
|
"assets-webpack-plugin": "^3.5.1",
|
2017-07-12 12:00:49 +08:00
|
|
|
"axios": "^0.16.2",
|
2017-08-08 14:45:19 +08:00
|
|
|
"babel": "^6.5.2",
|
|
|
|
"babel-cli": "^6.24.1",
|
|
|
|
"babel-core": "^6.8.0",
|
|
|
|
"babel-eslint": "^7.2.3",
|
|
|
|
"babel-loader": "^6.2.4",
|
2017-07-11 10:22:06 +08:00
|
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
2017-08-08 14:45:19 +08:00
|
|
|
"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",
|
2017-07-26 16:25:34 +08:00
|
|
|
"clipboard": "^1.7.1",
|
2017-07-25 14:35:46 +08:00
|
|
|
"copy-webpack-plugin": "^4.0.1",
|
2017-07-12 15:41:11 +08:00
|
|
|
"core-decorators": "^0.17.0",
|
2017-07-25 13:34:48 +08:00
|
|
|
"cross-request": "^1.0.1",
|
2017-08-08 14:45:19 +08:00
|
|
|
"css-loader": "^0.28.4",
|
|
|
|
"eslint": "^3.19.0",
|
2017-07-27 14:42:15 +08:00
|
|
|
"eslint-loader": "^1.9.0",
|
2017-08-08 14:45:19 +08:00
|
|
|
"eslint-plugin-import": "^2.2.0",
|
|
|
|
"eslint-plugin-react": "^7.1.0",
|
|
|
|
"express": "^4.15.3",
|
2017-08-23 19:45:49 +08:00
|
|
|
"extract-text-webpack-plugin": "2.0.0",
|
2017-07-26 16:25:34 +08:00
|
|
|
"fast-sass-loader": "^1.2.5",
|
2017-07-03 16:16:05 +08:00
|
|
|
"fs-extra": "^3.0.1",
|
2017-08-08 14:45:19 +08:00
|
|
|
"gulp": "^3.9.1",
|
|
|
|
"gulp-babel": "^6.1.2",
|
|
|
|
"gulp-watch": "^4.3.11",
|
2017-07-26 12:31:42 +08:00
|
|
|
"json2html": "0.0.8",
|
2017-08-14 16:30:30 +08:00
|
|
|
"json5": "^0.5.1",
|
2017-07-25 14:35:46 +08:00
|
|
|
"jsoneditor": "^5.9.3",
|
2017-07-10 20:51:04 +08:00
|
|
|
"jsonwebtoken": "^7.4.1",
|
2017-07-03 16:16:05 +08:00
|
|
|
"koa": "^2.0.0",
|
|
|
|
"koa-bodyparser": "^3.2.0",
|
2017-08-23 20:41:47 +08:00
|
|
|
"koa-compress": "^2.0.0",
|
2017-07-03 16:16:05 +08:00
|
|
|
"koa-logger": "^3.0.0",
|
|
|
|
"koa-mysql-session": "0.0.2",
|
|
|
|
"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",
|
2017-08-17 11:24:46 +08:00
|
|
|
"koa-websocket": "^4.0.0",
|
2017-08-22 10:43:40 +08:00
|
|
|
"less": "^2.7.2",
|
|
|
|
"less-loader": "^4.0.5",
|
2017-07-24 19:43:13 +08:00
|
|
|
"mock": "^0.1.1",
|
2017-07-10 20:02:44 +08:00
|
|
|
"mockjs": "^1.0.1-beta3",
|
2017-07-18 17:15:29 +08:00
|
|
|
"moment": "^2.18.1",
|
2017-07-25 14:35:46 +08:00
|
|
|
"monaco-editor": "^0.9.0",
|
2017-07-05 16:17:58 +08:00
|
|
|
"mongoose": "4.10.8",
|
2017-07-05 19:31:50 +08:00
|
|
|
"mongoose-auto-increment": "^5.0.1",
|
2017-08-08 14:45:19 +08:00
|
|
|
"node-sass": "^4.5.3",
|
2017-07-06 13:04:14 +08:00
|
|
|
"node-sass-china": "^4.5.0",
|
2017-07-11 16:50:17 +08:00
|
|
|
"nodemailer": "^4.0.1",
|
2017-08-08 14:45:19 +08:00
|
|
|
"ora": "^1.3.0",
|
2017-07-10 21:29:03 +08:00
|
|
|
"prop-types": "^15.5.10",
|
2017-07-25 15:35:23 +08:00
|
|
|
"rc-queue-anim": "^1.2.0",
|
|
|
|
"rc-scroll-anim": "^1.0.7",
|
2017-08-08 14:45:19 +08:00
|
|
|
"react": "^15.6.1",
|
|
|
|
"react-dom": "^15.6.1",
|
|
|
|
"react-redux": "^5.0.5",
|
|
|
|
"react-router-dom": "^4.1.1",
|
|
|
|
"react-scripts": "1.0.10",
|
2017-07-09 21:33:21 +08:00
|
|
|
"redux": "^3.7.1",
|
2017-07-12 11:39:06 +08:00
|
|
|
"redux-promise": "^0.5.3",
|
|
|
|
"redux-thunk": "^2.2.0",
|
2017-07-12 17:01:27 +08:00
|
|
|
"request": "^2.81.0",
|
2017-08-08 14:45:19 +08:00
|
|
|
"sass-loader": "^6.0.6",
|
|
|
|
"scss-loader": "0.0.1",
|
2017-07-11 12:12:43 +08:00
|
|
|
"sha1": "^1.1.1",
|
2017-07-25 14:18:57 +08:00
|
|
|
"string-replace-webpack-plugin": "^0.1.3",
|
2017-08-08 14:45:19 +08:00
|
|
|
"style-loader": "^0.18.2",
|
|
|
|
"underscore": "^1.8.3",
|
2017-07-13 16:48:20 +08:00
|
|
|
"universal-cookie": "^2.0.8",
|
2017-07-25 21:24:12 +08:00
|
|
|
"url": "^0.11.0",
|
2017-08-08 14:45:19 +08:00
|
|
|
"validate-commit-msg": "^2.12.2",
|
2017-08-23 18:24:29 +08:00
|
|
|
"ykit-config-antd": "^0.1.3"
|
2017-07-27 14:58:32 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-08-08 19:18:12 +08:00
|
|
|
"babel-plugin-import": "^1.3.1",
|
2017-08-04 12:15:45 +08:00
|
|
|
"ghooks": "^2.0.0",
|
2017-07-27 14:58:32 +08:00
|
|
|
"nodemon": "^1.11.0",
|
2017-08-04 12:15:45 +08:00
|
|
|
"redux-devtools": "^3.4.0",
|
|
|
|
"redux-devtools-dock-monitor": "^1.1.2",
|
|
|
|
"redux-devtools-log-monitor": "^1.3.0",
|
2017-07-05 14:10:06 +08:00
|
|
|
"webpack": "^2.0.0",
|
2017-08-04 12:15:45 +08:00
|
|
|
"webpack-node-externals": "^1.6.0"
|
2017-07-03 16:16:05 +08:00
|
|
|
},
|
2017-07-14 12:18:55 +08:00
|
|
|
"config": {
|
2017-07-19 15:12:10 +08:00
|
|
|
"ghooks": {
|
|
|
|
"commit-msg": "validate-commit-msg"
|
2017-07-14 12:18:55 +08:00
|
|
|
},
|
2017-07-19 15:12:10 +08:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
2017-07-03 16:16:05 +08:00
|
|
|
"engines": {
|
|
|
|
"node": ">= 6.0.0",
|
|
|
|
"npm": ">= 3.0.0"
|
|
|
|
}
|
|
|
|
}
|