Publicly available code that's used in the course https://learnjsthehardway.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

119 lines
4.1 KiB

  1. {
  2. "name": "learnjsthehardway",
  3. "description": "The code for the learnjsthehardway.com project.",
  4. "version": "0.0.2",
  5. "scripts": {
  6. "dev": "sapper dev",
  7. "test_build": "sapper build --legacy -p 3000",
  8. "build": "sapper build --legacy -p 7778",
  9. "export": "sapper export --legacy -p 7778",
  10. "start": "node __sapper__/build",
  11. "test": "NODE_OPTIONS='--unhandled-rejections=strict' jest --detectOpenHandles --bail --forceExit",
  12. "fixtures": "rm -rf deployment/testing/* protected && ln -sf ./deployment/testing protected && ./scripts/rr ./scripts/services/generator.js --debug -s __tests__/fixtures -t protected",
  13. "testwatch": "NODE_OPTIONS='--unhandled-rejections=strict' jest --watch --notify --detectOpenHandles",
  14. "deploy": "npx sapper export && rsync -azzv __sapper__/export/ $DEP_USER@learnjsthehardway.com:/srv/http/www/learnjsthehardway.com/",
  15. "development": "node scripts/rr ./scripts/services/ci.js --debug --force --production --not_needed=git_logs,prod_code,www_push,restart --build_target=deployment/staging",
  16. "staging": "node scripts/rr ./scripts/services/ci.js --debug --force --production --build_target=deployment/staging",
  17. "production": "node scripts/rr ./scripts/services/ci.js --debug --force --production --build_target=deployment/production"
  18. },
  19. "dependencies": {
  20. "Validator": "^1.1.1",
  21. "arrify": "^2.0.1",
  22. "bcrypt": "^5.0.0",
  23. "body-parser": "^1.19.0",
  24. "bull": "^3.13.0",
  25. "compression": "^1.7.1",
  26. "cookie-session": "^1.4.0",
  27. "cross-fetch": "^3.0.4",
  28. "dayjs": "^1.8.34",
  29. "email-deep-validator": "^3.3.0",
  30. "eslint": "^7.10.0",
  31. "express-session": "^1.17.0",
  32. "form-urlencoded": "^4.1.3",
  33. "gitea-webhook-handler": "^1.0.6",
  34. "html-pdf": "^2.2.0",
  35. "knex": "^0.21.1",
  36. "knex-paginate": "^1.2.3",
  37. "morgan": "^1.9.1",
  38. "node-fetch": "^2.6.0",
  39. "node-sass": "^5.0.0",
  40. "nodemailer": "^6.4.5",
  41. "passport": "^0.4.1",
  42. "passport-local": "^1.0.0",
  43. "pg": "^8.0.3",
  44. "pino": "^5.17.0",
  45. "pino-http": "^4.4.0",
  46. "pino-pretty": "^3.6.1",
  47. "pm2-logrotate": "^2.7.0",
  48. "polka": "next",
  49. "prismjs": "^1.19.0",
  50. "randomcolor": "^0.6.2",
  51. "remarkable": "^2.0.0",
  52. "request-ip": "^2.1.3",
  53. "sass": "^1.32.7",
  54. "shortid": "^2.2.15",
  55. "simple-git": "^2.4.0",
  56. "sirv": "^0.4.0",
  57. "sqlite3": "^4.1.1",
  58. "uniqueid": "^1.0.0",
  59. "url-slug": "^2.3.1"
  60. },
  61. "devDependencies": {
  62. "@babel/core": "^7.8.7",
  63. "@babel/plugin-syntax-dynamic-import": "^7.0.0",
  64. "@babel/plugin-transform-runtime": "^7.0.0",
  65. "@babel/preset-env": "^7.8.7",
  66. "@babel/runtime": "^7.8.7",
  67. "@rollup/plugin-commonjs": "^11.0.2",
  68. "@rollup/plugin-json": "^4.0.2",
  69. "@rollup/plugin-node-resolve": "^7.1.1",
  70. "@rollup/plugin-replace": "^2.3.1",
  71. "@rollup/pluginutils": "^3.0.8",
  72. "axios": "^0.20.0",
  73. "axios-cookiejar-support": "^1.0.0",
  74. "chalk": "^4.0.0",
  75. "chromedriver": "^80.0.1",
  76. "commander": "^5.1.0",
  77. "cookie-parser": "^1.4.5",
  78. "create-torrent": "^4.4.1",
  79. "deep-cleaner": "^1.2.1",
  80. "depcheck": "^0.9.2",
  81. "eslint-plugin-jest": "^24.0.2",
  82. "event-stream": "^4.0.1",
  83. "faker": "^4.1.0",
  84. "fast-exif": "^1.0.1",
  85. "fast-glob": "^3.2.2",
  86. "feed": "^4.1.0",
  87. "gulp": "^4.0.2",
  88. "gulp-autoprefixer": "^7.0.1",
  89. "gulp-clean-css": "^4.3.0",
  90. "gulp-csscomb": "^3.1.0",
  91. "gulp-rename": "^2.0.0",
  92. "gulp-sass": "^4.1.0",
  93. "jest": "^25.1.0",
  94. "jest-transform-stub": "^2.0.0",
  95. "maildev": "^1.1.0",
  96. "natural-sort": "^1.0.0",
  97. "node-notifier": "^6.0.0",
  98. "npm-check": "^5.9.2",
  99. "npm-run-all": "^4.1.5",
  100. "pm2": "^4.4.0",
  101. "puppeteer": "^2.1.1",
  102. "readdirp": "^3.4.0",
  103. "rollup": "^2.0.6",
  104. "rollup-plugin-babel": "^4.4.0",
  105. "rollup-plugin-svelte": "^5.0.1",
  106. "rollup-plugin-terser": "^7.0.1",
  107. "sapper": "^0.27.16",
  108. "sharp": "^0.25.2",
  109. "svelte": "^3.20.1",
  110. "svelte-preprocess": "^3.5.0",
  111. "swagger-editor-dist": "^3.11.1",
  112. "tough-cookie": "^4.0.0",
  113. "wait-on": "^5.0.0",
  114. "watch": "^1.0.2",
  115. "webtorrent": "^0.108.1",
  116. "wrtc": "^0.4.4"
  117. }
  118. }