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.
 
 
 
 

118 lines
4.1 KiB

{
"name": "learnjsthehardway",
"description": "The code for the learnjsthehardway.com project.",
"version": "0.0.2",
"scripts": {
"dev": "sapper dev",
"test_build": "sapper build --legacy -p 3000",
"build": "sapper build --legacy -p 7778",
"export": "sapper export --legacy -p 7778",
"start": "node __sapper__/build",
"test": "NODE_OPTIONS='--unhandled-rejections=strict' jest --detectOpenHandles --bail --forceExit",
"fixtures": "rm -rf deployment/testing/* protected && ln -sf ./deployment/testing protected && ./scripts/rr ./scripts/services/generator.js --debug -s __tests__/fixtures -t protected",
"testwatch": "NODE_OPTIONS='--unhandled-rejections=strict' jest --watch --notify --detectOpenHandles",
"deploy": "npx sapper export && rsync -azzv __sapper__/export/ $DEP_USER@learnjsthehardway.com:/srv/http/www/learnjsthehardway.com/",
"development": "node scripts/rr ./scripts/services/ci.js --debug --force --production --not_needed=git_logs,prod_code,www_push,restart --build_target=deployment/staging",
"staging": "node scripts/rr ./scripts/services/ci.js --debug --force --production --build_target=deployment/staging",
"production": "node scripts/rr ./scripts/services/ci.js --debug --force --production --build_target=deployment/production"
},
"dependencies": {
"Validator": "^1.1.1",
"arrify": "^2.0.1",
"bcrypt": "^5.0.0",
"body-parser": "^1.19.0",
"bull": "^3.13.0",
"compression": "^1.7.1",
"cookie-session": "^1.4.0",
"cross-fetch": "^3.0.4",
"dayjs": "^1.8.34",
"email-deep-validator": "^3.3.0",
"eslint": "^7.10.0",
"express-session": "^1.17.0",
"form-urlencoded": "^4.1.3",
"gitea-webhook-handler": "^1.0.6",
"html-pdf": "^2.2.0",
"knex": "^0.21.1",
"knex-paginate": "^1.2.3",
"morgan": "^1.9.1",
"node-fetch": "^2.6.0",
"node-sass": "^5.0.0",
"nodemailer": "^6.4.5",
"passport": "^0.4.1",
"passport-local": "^1.0.0",
"pg": "^8.0.3",
"pino": "^5.17.0",
"pino-http": "^4.4.0",
"pino-pretty": "^3.6.1",
"pm2-logrotate": "^2.7.0",
"polka": "next",
"prismjs": "^1.19.0",
"randomcolor": "^0.6.2",
"remarkable": "^2.0.0",
"request-ip": "^2.1.3",
"sass": "^1.32.7",
"shortid": "^2.2.15",
"simple-git": "^2.4.0",
"sirv": "^0.4.0",
"sqlite3": "^4.1.1",
"uniqueid": "^1.0.0",
"url-slug": "^2.3.1"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.8.7",
"@babel/runtime": "^7.8.7",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@rollup/pluginutils": "^3.0.8",
"axios": "^0.20.0",
"axios-cookiejar-support": "^1.0.0",
"chalk": "^4.0.0",
"chromedriver": "^80.0.1",
"commander": "^5.1.0",
"cookie-parser": "^1.4.5",
"create-torrent": "^4.4.1",
"deep-cleaner": "^1.2.1",
"depcheck": "^0.9.2",
"eslint-plugin-jest": "^24.0.2",
"event-stream": "^4.0.1",
"faker": "^4.1.0",
"fast-exif": "^1.0.1",
"fast-glob": "^3.2.2",
"feed": "^4.1.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-clean-css": "^4.3.0",
"gulp-csscomb": "^3.1.0",
"gulp-rename": "^2.0.0",
"gulp-sass": "^4.1.0",
"jest": "^25.1.0",
"jest-transform-stub": "^2.0.0",
"maildev": "^1.1.0",
"natural-sort": "^1.0.0",
"node-notifier": "^6.0.0",
"npm-check": "^5.9.2",
"npm-run-all": "^4.1.5",
"pm2": "^4.4.0",
"puppeteer": "^2.1.1",
"readdirp": "^3.4.0",
"rollup": "^2.0.6",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-svelte": "^5.0.1",
"rollup-plugin-terser": "^7.0.1",
"sapper": "^0.27.16",
"sharp": "^0.25.2",
"svelte": "^3.20.1",
"svelte-preprocess": "^3.5.0",
"swagger-editor-dist": "^3.11.1",
"tough-cookie": "^4.0.0",
"wait-on": "^5.0.0",
"watch": "^1.0.2",
"webtorrent": "^0.108.1",
"wrtc": "^0.4.4"
}
}