{ "name": "nfp_moe", "version": "2.0.0", "description": "NFP Moe website", "main": "index.js", "directories": { "test": "test" }, "watch": { "test": { "patterns": [ "{api,test}/*" ], "extensions": "js,mjs", "quiet": false, "inherit": true } }, "scripts": { "lint": "eslint .", "start": "node --experimental-modules index.mjs", "build": "sass -s compressed app/app.scss public/assets/app.css && sass -s compressed app/admin.scss public/assets/admin.css && browserify -p tinyify --no-commondir -o public/assets/app.js app/index.js && browserify -p tinyify --no-commondir -o public/assets/admin.js app/admin.js", "build:check": "browserify -o public/assets/app.js app/index.js", "test": "echo \"Error: no test specified\" && exit 1", "watch:api": "nodemon --experimental-modules index.mjs | bunyan", "watch:app:admin": "watchify -g envify -d app/admin.js -o public/assets/admin.js", "watch:app:public": "watchify -g envify -d app/index.js -o public/assets/app.js", "watch:sass:public": "sass --watch app/app.scss public/assets/app.css", "watch:sass:admin": "sass --watch app/admin.scss public/assets/admin.css", "dev": "run-p watch:api watch:app:public watch:app:admin watch:sass:public watch:sass:admin", "prod": "npm run build && npm start", "docker": "docker run -it --rm --name nfp_moe -e knex__connection__host -e NODE_ENV -p 4030:4030 -v \"$PWD\":/usr/src/app -w /usr/src/app node", "docker:install": "npm run docker -- npm install", "docker:dev": "npm run docker -- npm run dev", "docker:prod": "npm run docker -- npm run prod" }, "repository": { "type": "git", "url": "https://github.com/nfp-projects/nfp_moe.git" }, "author": "Jonatan Nilsson", "license": "WTFPL", "bugs": { "url": "https://github.com/nfp-projects/nfp_moe/issues" }, "homepage": "https://github.com/nfp-projects/nfp_moe", "dependencies": { "@koa/cors": "^2.2.3", "bcrypt": "^3.0.8", "bookshelf": "^0.15.1", "bunyan-lite": "^1.0.1", "dot": "^1.1.2", "format-link-header": "^2.1.0", "http-errors": "^1.7.2", "json-mask": "^0.3.8", "jsonwebtoken": "^8.4.0", "knex-core": "^0.19.5", "koa-bodyparser": "^4.2.1", "koa-jwt": "^3.5.1", "koa-lite": "^2.10.1", "koa-router": "^7.4.0", "koa-send": "^5.0.0", "lodash": "^4.17.11", "multer": "^1.4.1", "nconf-lite": "^1.0.1", "parse-torrent": "^7.0.1", "pg": "^7.8.0", "sharp": "^0.27.0", "striptags": "^3.1.1" }, "devDependencies": { "browserify": "^16.2.3", "eslint": "^5.14.1", "mithril": "^2.0.3", "nodemon": "^1.18.10", "npm-run-all": "^4.1.5", "parse-link-header": "^1.0.1", "sass": "^1.17.0", "tinyify": "^2.5.1", "watchify": "^3.11.0" } }