2016-01-26 19:12:49 +00:00
|
|
|
{
|
|
|
|
"name": "nfp_moe",
|
2019-02-19 10:26:34 +00:00
|
|
|
"version": "2.0.0",
|
2016-01-26 19:12:49 +00:00
|
|
|
"description": "NFP Moe website",
|
|
|
|
"main": "index.js",
|
|
|
|
"directories": {
|
|
|
|
"test": "test"
|
|
|
|
},
|
2019-09-14 19:03:38 +00:00
|
|
|
"watch": {
|
|
|
|
"test": {
|
|
|
|
"patterns": [
|
|
|
|
"{api,test}/*"
|
|
|
|
],
|
|
|
|
"extensions": "js,mjs",
|
|
|
|
"quiet": false,
|
|
|
|
"inherit": true
|
|
|
|
}
|
|
|
|
},
|
2016-01-26 19:12:49 +00:00
|
|
|
"scripts": {
|
2019-02-19 11:34:52 +00:00
|
|
|
"lint": "eslint .",
|
|
|
|
"start": "node --experimental-modules index.mjs",
|
2019-09-14 19:03:38 +00:00
|
|
|
"build": "sass -s compressed app/app.scss public/assets/app.css && browserify -p tinyify --no-commondir -o public/assets/app.js app/index.js",
|
|
|
|
"build:check": "browserify -o public/assets/app.js app/index.js",
|
2019-02-19 11:34:52 +00:00
|
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
|
|
"watch:api": "nodemon --experimental-modules index.mjs | bunyan",
|
2019-09-13 13:33:10 +00:00
|
|
|
"watch:app": "watchify -g envify -d app/index.js -o public/assets/app.js",
|
2019-02-20 16:10:37 +00:00
|
|
|
"watch:sass": "sass --watch app/app.scss public/assets/app.css",
|
2019-02-19 11:34:52 +00:00
|
|
|
"dev": "run-p watch:api watch:app watch:sass",
|
2019-09-14 19:03:38 +00:00
|
|
|
"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"
|
2016-01-26 19:12:49 +00:00
|
|
|
},
|
|
|
|
"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": {
|
2019-02-19 11:34:52 +00:00
|
|
|
"@koa/cors": "^2.2.3",
|
2019-09-15 01:53:38 +00:00
|
|
|
"bcrypt": "^3.0.0",
|
2019-09-13 13:33:10 +00:00
|
|
|
"bookshelf": "^0.15.1",
|
2019-02-19 11:34:52 +00:00
|
|
|
"bunyan-lite": "^1.0.1",
|
|
|
|
"format-link-header": "^2.1.0",
|
2019-09-13 13:33:10 +00:00
|
|
|
"googleapis": "^42.0.0",
|
2019-02-19 11:34:52 +00:00
|
|
|
"http-errors": "^1.7.2",
|
2019-09-13 13:33:10 +00:00
|
|
|
"json-mask": "^0.3.8",
|
2019-02-19 11:34:52 +00:00
|
|
|
"jsonwebtoken": "^8.4.0",
|
|
|
|
"knex": "^0.16.3",
|
|
|
|
"koa": "^2.7.0",
|
|
|
|
"koa-bodyparser": "^4.2.1",
|
|
|
|
"koa-jwt": "^3.5.1",
|
|
|
|
"koa-router": "^7.4.0",
|
|
|
|
"koa-send": "^5.0.0",
|
|
|
|
"lodash": "^4.17.11",
|
|
|
|
"multer": "^1.4.1",
|
|
|
|
"nconf": "^0.10.0",
|
2019-09-13 13:33:10 +00:00
|
|
|
"parse-torrent": "^7.0.1",
|
2019-02-19 11:34:52 +00:00
|
|
|
"pg": "^7.8.0",
|
2019-09-14 19:03:38 +00:00
|
|
|
"sharp": "^0.22.1"
|
2016-01-26 19:12:49 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-02-19 11:34:52 +00:00
|
|
|
"browserify": "^16.2.3",
|
|
|
|
"eslint": "^5.14.1",
|
2019-09-13 13:33:10 +00:00
|
|
|
"mithril": "^2.0.3",
|
2019-02-19 11:34:52 +00:00
|
|
|
"nodemon": "^1.18.10",
|
|
|
|
"npm-run-all": "^4.1.5",
|
2019-09-14 19:03:38 +00:00
|
|
|
"parse-link-header": "^1.0.1",
|
2019-02-19 11:34:52 +00:00
|
|
|
"sass": "^1.17.0",
|
2019-09-13 13:33:10 +00:00
|
|
|
"tinyify": "^2.5.1",
|
2019-02-19 11:34:52 +00:00
|
|
|
"watchify": "^3.11.0"
|
2016-01-26 19:12:49 +00:00
|
|
|
}
|
|
|
|
}
|