package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "icon-server",
  3. "version": "1.0.0",
  4. "description": "字体图标管理平台",
  5. "main": "index.js",
  6. "scripts": {
  7. "publish": "./node_modules/pm2/bin/pm2 start index.js --name iconServer -f -e ./logs/icon.err.log -o ./logs/icon.log",
  8. "stop": "./node_modules/pm2/bin/pm2 delete iconServer",
  9. "lint": "eslint --ext .js ./ --fix",
  10. "start": "node index.js",
  11. "reset": "./node_modules/pm2/bin/pm2 reset iconServer && ./node_modules/pm2/bin/pm2 updatePM2",
  12. "restart": "./node_modules/pm2/bin/pm2 restart iconServer --update-env"
  13. },
  14. "author": "",
  15. "license": "MIT",
  16. "dependencies": {
  17. "crypto-js": "^3.1.9-1",
  18. "ejs": "^2.5.7",
  19. "fs-extra": "^4.0.1",
  20. "gulp": "^3.9.1",
  21. "gulp-consolidate": "^0.2.0",
  22. "gulp-iconfont": "^9.0.0",
  23. "gulp-iconfont-css": "^2.1.0",
  24. "gulp-rename": "^1.2.2",
  25. "gulp-sass": "^3.1.0",
  26. "gulp-sourcemaps": "^2.6.0",
  27. "ioredis": "^3.2.1",
  28. "jwt-decode": "^2.2.0",
  29. "koa": "^2.3.0",
  30. "koa-body": "^2.5.0",
  31. "koa-bodyparser": "^2.5.0",
  32. "koa-cookie": "^1.0.0",
  33. "koa-cors": "0.0.16",
  34. "koa-router": "^7.2.1",
  35. "koa-session": "^5.5.0",
  36. "koa-session2": "^2.2.5",
  37. "koa-static": "^5.0.0",
  38. "koa-static-cache": "^5.1.2",
  39. "lodash": "^4.17.4",
  40. "mkdirp": "^0.5.1",
  41. "mongoose": "^4.12.1",
  42. "mongoose-unique-array": "^0.2.0",
  43. "pinyin": "^2.8.3",
  44. "qiniu": "^7.1.2",
  45. "querystring": "^0.2.0",
  46. "request": "^2.83.0",
  47. "request-promise": "^4.2.2",
  48. "rimraf": "^2.6.2",
  49. "safe-buffer": "^5.1.1",
  50. "svgo": "^1.0.3",
  51. "thunkify-wrap": "^1.0.4",
  52. "winston": "^2.4.0",
  53. "winston-daily-rotate-file": "^1.7.2"
  54. },
  55. "devDependencies": {
  56. "@babel/core": "^7.12.16",
  57. "@babel/eslint-parser": "^7.12.16",
  58. "eslint": "^7.20.0",
  59. "eslint-config-prettier": "^7.2.0",
  60. "eslint-plugin-prettier": "^3.3.1",
  61. "gulp-rev": "^8.1.1",
  62. "node-debug": "^0.1.0",
  63. "pm2": "^2.10.4",
  64. "prettier": "2.2.1"
  65. },
  66. "resolutions": {
  67. "graceful-fs": "^4.2.4"
  68. }
  69. }