opt-cc/api/package.json

54 lines
1.7 KiB
JSON
Raw Normal View History

2017-05-10 11:04:06 +02:00
{
"name": "opt-cc-api",
"licence": "CC BY-SA 4.0",
"description": "RESTful API for Operation Pandora Trigger Command Center, includes signature generator",
"main": "server.js",
"author": "Florian Hartwich <hardi@noarch.de>",
2017-05-10 11:04:06 +02:00
"private": true,
"scripts": {
2018-02-04 15:58:28 +01:00
"start": "DEBUG='cc:*' NODE_ENV=production node server.js",
"dev": "DEBUG='cc:*' NODE_ENV=dev nodemon server.js",
2018-03-12 15:50:06 +01:00
"eslint": "$(npm bin)/eslint",
2018-03-12 10:44:42 +01:00
"lint": "eslint '**/*.js'",
"test": "mocha --require ./test/config/spec_helper.js",
2018-03-19 20:32:59 +01:00
"start-test": "DEBUG='cc:*' NODE_ENV=test node server.js",
"api:compile-docs": "$(npm bin)/hercule apib/dev-doc.apib -o apib/documentation.apib",
"api:publish-docs": "$(npm bin)/aglio --theme-variables slate -i ./apib/documentation.apib -o ../public/api-docs.html",
"api:test-docs": "npm run api:docs && ./apib/dredd/populate-data.sh && $(npm bin)/dredd",
2018-03-19 20:32:59 +01:00
"api:docs": "npm run api:compile-docs && npm run api:publish-docs"
2017-05-10 11:04:06 +02:00
},
"dependencies": {
2017-10-06 20:11:18 +02:00
"async": "^2.5.0",
2017-05-10 11:04:06 +02:00
"bcryptjs": "^2.4.3",
"body-parser": "~1.13.2",
2017-10-06 20:11:18 +02:00
"cors": "^2.8.4",
"cron": "^1.3.0",
2018-02-04 15:58:28 +01:00
"debug": "^3.1.0",
"express": "^4.16.2",
2017-05-10 11:04:06 +02:00
"imagemin": "^5.2.2",
"imagemin-pngquant": "^5.0.0",
"jimp": "^0.2.27",
2017-10-06 20:11:18 +02:00
"jsonwebtoken": "^7.4.3",
2017-05-10 11:04:06 +02:00
"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
2018-02-04 15:58:28 +01:00
"mongoose": "^5.0.3",
2017-05-10 11:04:06 +02:00
"morgan": "~1.6.1",
"multer": "^1.3.0",
"node-sha1": "^1.0.1",
"q": "^1.5.0",
2018-02-04 15:58:28 +01:00
"serve-favicon": "~2.3.0",
"supports-color": "^5.1.0"
2017-05-10 11:04:06 +02:00
},
"devDependencies": {
"aglio": "^2.3.0",
2017-05-10 11:04:06 +02:00
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"dredd": "^5.1.4",
"eslint": "^4.18.2",
"eslint-config-google": "^0.9.1",
"hercule": "^4.1.1",
2017-10-06 20:11:18 +02:00
"mocha": "^3.5.3",
2018-02-04 15:58:28 +01:00
"nodemon": "^1.14.12"
2017-05-10 11:04:06 +02:00
}
}