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.
 
 
 
 

113 lines
3.7 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. "staging": "./scripts/rr ./scripts/services/ci.js --debug --force --production --not_needed=prod_code,www_push,restart --build_target=deployment/staging"
  16. },
  17. "dependencies": {
  18. "Validator": "^1.1.1",
  19. "bcrypt": "^5.0.0",
  20. "body-parser": "^1.19.0",
  21. "bull": "^3.13.0",
  22. "compression": "^1.7.1",
  23. "cookie-session": "^1.4.0",
  24. "cross-fetch": "^3.0.4",
  25. "dayjs": "^1.8.34",
  26. "email-deep-validator": "^3.3.0",
  27. "eslint": "^7.10.0",
  28. "express-session": "^1.17.0",
  29. "form-urlencoded": "^4.1.3",
  30. "gitea-webhook-handler": "^1.0.6",
  31. "html-pdf": "^2.2.0",
  32. "knex": "^0.20.12",
  33. "knex-paginate": "^1.2.3",
  34. "morgan": "^1.9.1",
  35. "node-fetch": "^2.6.0",
  36. "nodemailer": "^6.4.5",
  37. "passport": "^0.4.1",
  38. "passport-local": "^1.0.0",
  39. "pg": "^7.18.2",
  40. "pino": "^5.17.0",
  41. "pino-http": "^4.4.0",
  42. "pino-pretty": "^3.6.1",
  43. "pm2-logrotate": "^2.7.0",
  44. "polka": "next",
  45. "prismjs": "^1.19.0",
  46. "randomcolor": "^0.6.2",
  47. "remarkable": "^2.0.0",
  48. "request-ip": "^2.1.3",
  49. "shortid": "^2.2.15",
  50. "simple-git": "^2.4.0",
  51. "sirv": "^0.4.0",
  52. "sqlite3": "^4.1.1",
  53. "url-slug": "^2.3.1"
  54. },
  55. "devDependencies": {
  56. "@babel/core": "^7.8.7",
  57. "@babel/plugin-syntax-dynamic-import": "^7.0.0",
  58. "@babel/plugin-transform-runtime": "^7.0.0",
  59. "@babel/preset-env": "^7.8.7",
  60. "@babel/runtime": "^7.8.7",
  61. "@rollup/plugin-commonjs": "^11.0.2",
  62. "@rollup/plugin-json": "^4.0.2",
  63. "@rollup/plugin-node-resolve": "^7.1.1",
  64. "@rollup/plugin-replace": "^2.3.1",
  65. "@rollup/pluginutils": "^3.0.8",
  66. "axios": "^0.20.0",
  67. "axios-cookiejar-support": "^1.0.0",
  68. "chalk": "^4.0.0",
  69. "chromedriver": "^80.0.1",
  70. "commander": "^5.1.0",
  71. "cookie-parser": "^1.4.5",
  72. "create-torrent": "^4.4.1",
  73. "deep-cleaner": "^1.2.1",
  74. "depcheck": "^0.9.2",
  75. "eslint-plugin-jest": "^24.0.2",
  76. "event-stream": "^4.0.1",
  77. "faker": "^4.1.0",
  78. "fast-exif": "^1.0.1",
  79. "fast-glob": "^3.2.2",
  80. "feed": "^4.1.0",
  81. "gulp": "^4.0.2",
  82. "gulp-autoprefixer": "^7.0.1",
  83. "gulp-clean-css": "^4.3.0",
  84. "gulp-csscomb": "^3.1.0",
  85. "gulp-rename": "^2.0.0",
  86. "gulp-sass": "^4.1.0",
  87. "jest": "^25.1.0",
  88. "jest-transform-stub": "^2.0.0",
  89. "natural-sort": "^1.0.0",
  90. "node-notifier": "^6.0.0",
  91. "npm-check": "^5.9.2",
  92. "npm-run-all": "^4.1.5",
  93. "pm2": "^4.4.0",
  94. "puppeteer": "^2.1.1",
  95. "readdirp": "^3.4.0",
  96. "rollup": "^2.0.6",
  97. "rollup-plugin-babel": "^4.4.0",
  98. "rollup-plugin-svelte": "^5.0.1",
  99. "rollup-plugin-terser": "^7.0.1",
  100. "rools": "^2.2.7",
  101. "sapper": "^0.27.16",
  102. "sharp": "^0.25.2",
  103. "svelte": "^3.20.1",
  104. "svelte-preprocess": "^3.5.0",
  105. "swagger-editor-dist": "^3.11.1",
  106. "tough-cookie": "^4.0.0",
  107. "wait-on": "^5.0.0",
  108. "watch": "^1.0.2",
  109. "webtorrent": "^0.108.1",
  110. "wrtc": "^0.4.4"
  111. }
  112. }