2017-05-10 11:04:06 +02:00
|
|
|
{
|
2019-02-02 22:54:41 +01:00
|
|
|
"name": "opt-cc-server",
|
2017-05-10 11:04:06 +02:00
|
|
|
"licence": "CC BY-SA 4.0",
|
2019-02-02 22:54:41 +01:00
|
|
|
"description": "HTTP Server and RESTful API for Operation Pandora Trigger Command Center",
|
2017-05-10 11:04:06 +02:00
|
|
|
"main": "server.js",
|
2017-10-28 12:58:40 +02:00
|
|
|
"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'",
|
2018-10-21 15:48:19 +02:00
|
|
|
"test": "mocha --exit --require ./test/config/spec_helper.js",
|
2018-03-30 17:26:09 +02:00
|
|
|
"start-test": "DEBUG='cc:*' NODE_ENV=unitTest node server.js",
|
2018-03-30 20:21:28 +02:00
|
|
|
"start-api-test": "rm -rf ./apib/dredd/data/tmp-resource && cp -r ./apib/dredd/data/resource ./apib/dredd/data/tmp-resource && DEBUG='cc:*' NODE_ENV=dreddTest node server.js",
|
2018-03-19 20:32:59 +01:00
|
|
|
"api:compile-docs": "$(npm bin)/hercule apib/dev-doc.apib -o apib/documentation.apib",
|
2018-04-02 10:38:16 +02:00
|
|
|
"api:publish-docs": "$(npm bin)/aglio --theme-variables streak --theme-full-width -i ./apib/documentation.apib -o ../public/api-docs.html",
|
2018-04-02 00:32:45 +02:00
|
|
|
"api:test-docs": "npm run api:docs && $(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",
|
2019-02-03 11:49:48 +01:00
|
|
|
"body-parser": "^1.18.3",
|
|
|
|
"buffer-image-size": "^0.6.4",
|
2017-10-06 20:11:18 +02:00
|
|
|
"cors": "^2.8.4",
|
2018-10-20 23:08:20 +02:00
|
|
|
"cron": "^1.3.0",
|
2018-02-04 15:58:28 +01:00
|
|
|
"debug": "^3.1.0",
|
2018-10-20 23:08:20 +02:00
|
|
|
"express": "^4.16.2",
|
2017-05-10 11:04:06 +02:00
|
|
|
"imagemin": "^5.2.2",
|
|
|
|
"imagemin-pngquant": "^5.0.0",
|
2019-02-03 11:49:48 +01:00
|
|
|
"jimp": "^0.6.0",
|
2018-10-20 23:08:20 +02:00
|
|
|
"jsonwebtoken": "^7.4.3",
|
2019-02-16 11:12:34 +01:00
|
|
|
"lodash": "^4.17.11",
|
2017-07-08 15:34:36 +02:00
|
|
|
"mkdirp": "^0.5.1",
|
2019-02-16 11:12:34 +01:00
|
|
|
"mongoose": "^5.4.13",
|
2019-02-03 11:49:48 +01:00
|
|
|
"morgan": "^1.9.1",
|
2017-05-10 11:04:06 +02:00
|
|
|
"multer": "^1.3.0",
|
2018-10-20 20:00:36 +02:00
|
|
|
"node-html-parser": "^1.1.10",
|
2017-05-10 11:04:06 +02:00
|
|
|
"node-sha1": "^1.0.1",
|
|
|
|
"q": "^1.5.0",
|
2019-02-03 11:49:48 +01:00
|
|
|
"serve-favicon": "^2.5.0",
|
2018-02-04 15:58:28 +01:00
|
|
|
"supports-color": "^5.1.0"
|
2017-05-10 11:04:06 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-03-12 16:28:24 +01:00
|
|
|
"aglio": "^2.3.0",
|
2017-05-10 11:04:06 +02:00
|
|
|
"chai": "^3.5.0",
|
|
|
|
"chai-http": "^3.0.0",
|
2018-04-01 10:59:09 +02:00
|
|
|
"dredd": "^5.1.5",
|
2018-03-12 09:23:13 +01:00
|
|
|
"eslint": "^4.18.2",
|
|
|
|
"eslint-config-google": "^0.9.1",
|
2018-03-19 16:02:56 +01:00
|
|
|
"hercule": "^4.1.1",
|
2018-10-21 15:34:48 +02:00
|
|
|
"mocha": "^5.2.0",
|
2018-10-20 23:00:43 +02:00
|
|
|
"mongodb-memory-server": "^1.7.3",
|
2018-02-04 15:58:28 +01:00
|
|
|
"nodemon": "^1.14.12"
|
2017-05-10 11:04:06 +02:00
|
|
|
}
|
|
|
|
}
|