您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "frontblock-admin",
  3. "description": "Dynamic configurator for frontblock",
  4. "version": "1.0.0",
  5. "scripts": {
  6. "tsc": "tsc",
  7. "launch": "node lib/src/backend/Launcher.js",
  8. "start": "npm run build && npm run launch",
  9. "start-backend": "npm run build-backend && npm run launch",
  10. "test": "npm run build-backend && npm run build-backend && mocha lib/test/backendTest.js",
  11. "build": "npm run build-backend && npm run build-frontend",
  12. "build-backend": "npm run clean-backend && tsc",
  13. "build-frontend": "npm run clean-frontend && (mkdir static || rm -rf static/*) && npm run build-dashboard",
  14. "build-dashboard": "cd src/frontend && npm i && npm run build && cp -r dist/* ../../static",
  15. "clean": "rm -rf data && npm run clean-backend && npm run clean-frontend",
  16. "clean-backend": "rm -rf lib plugins config widget .rpt2_cache *.js *.ts",
  17. "clean-frontend": "rm -rf src/frontend/dist static",
  18. "webpack": "webpack --config src/backend/webpack.prod.js --progress --colors"
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "http://gitea.frontblock.me/fb-vendor/admin"
  23. },
  24. "author": "frontblock.me",
  25. "license": "ISC",
  26. "dependencies": {
  27. "@types/mocha": "^5.2.7",
  28. "bsert": "0.0.10",
  29. "bsock": "^0.1.9",
  30. "child-process-promise": "^2.2.1",
  31. "circular-buffer": "^1.0.2",
  32. "crypto-js": "^3.1.9-1",
  33. "debug": "^4.1.1",
  34. "express": "^4.16.4",
  35. "frontblock": "^0.15.2",
  36. "frontblock-generic": "^0.34.8",
  37. "git-cherrypicker": "0.0.3",
  38. "git-describe": "^4.0.4",
  39. "http": "0.0.0",
  40. "knex": "^0.19.2",
  41. "loadson": "^1.0.0",
  42. "log4js": "^4.5.1",
  43. "lowdb": "^1.0.0",
  44. "node-fetch": "^2.6.0",
  45. "path": "^0.12.7",
  46. "reflect-metadata": "^0.1.13",
  47. "rimraf": "^3.0.0",
  48. "rpclibrary": "^1.7.1",
  49. "simple-git": "^1.124.0",
  50. "spawn-sync": "^2.0.0",
  51. "sqlite3": "^4.1.1",
  52. "trash": "^6.0.0",
  53. "tsyringe": "^4.0.1",
  54. "upgiter": "^1.0.4",
  55. "uuid": "^3.3.3",
  56. "xml2js": "^0.4.22"
  57. },
  58. "devDependencies": {
  59. "@types/express": "^4.17.0",
  60. "@types/node": "^11.13.19",
  61. "@types/semver": "^6.0.1",
  62. "madge": "^3.6.0",
  63. "mocha": "^7.0.0",
  64. "terser-webpack-plugin": "^1.4.1",
  65. "ts-loader": "^5.3.3",
  66. "typescript": "^3.5.3",
  67. "webpack": "^4.39.2",
  68. "webpack-cli": "^3.3.5"
  69. },
  70. "files": [
  71. "lib/**/*"
  72. ],
  73. "main": "index.js",
  74. "directories": {
  75. "lib": "lib",
  76. "test": "test"
  77. },
  78. "keywords": []
  79. }