2020-01-14 13:25:13 +01:00
|
|
|
{
|
2020-08-06 11:31:02 +02:00
|
|
|
"name": "definma-api",
|
2020-09-03 16:28:52 +02:00
|
|
|
"version": "0.9.0",
|
2020-01-14 13:25:13 +01:00
|
|
|
"description": "API for the digital fingerprint of plastics mongodb",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2020-04-23 13:59:45 +02:00
|
|
|
"tsc": "tsc",
|
2020-05-27 14:31:17 +02:00
|
|
|
"tsc-full": "del /q dist\\* & (for /d %x in (dist\\*) do @rd /s /q \"%x\") & tsc",
|
2020-06-05 10:51:03 +02:00
|
|
|
"build": "build.bat",
|
2020-07-23 14:55:41 +02:00
|
|
|
"build-push": "build.bat && timeout 3 && cf push",
|
2020-01-14 13:25:13 +01:00
|
|
|
"test": "mocha dist/**/**.spec.js",
|
2020-07-10 09:42:05 +02:00
|
|
|
"start": "node index.js",
|
2020-06-05 10:51:03 +02:00
|
|
|
"dev": "nodemon -e ts,yaml --exec \"tsc && node dist/index.js || exit 1\"",
|
2020-08-04 13:54:14 +02:00
|
|
|
"start-local": "node dist/index.js",
|
2020-05-27 14:31:17 +02:00
|
|
|
"loadDev": "node dist/test/loadDev.js",
|
2020-06-25 10:44:55 +02:00
|
|
|
"coverage": "tsc && nyc --reporter=html --reporter=text mocha dist/**/**.spec.js --timeout 5000",
|
2020-08-24 12:37:19 +02:00
|
|
|
"import": "node data_import/import.js",
|
|
|
|
"spectrum-fix": "node data_import/spectrum-fix.js"
|
2020-01-14 13:25:13 +01:00
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"dependencies": {
|
2020-04-21 10:53:07 +02:00
|
|
|
"@apidevtools/json-schema-ref-parser": "^8.0.0",
|
2020-05-13 17:28:18 +02:00
|
|
|
"@apidevtools/swagger-parser": "^9.0.1",
|
2020-04-23 17:46:00 +02:00
|
|
|
"axios": "^0.19.2",
|
2020-04-23 13:59:45 +02:00
|
|
|
"basic-auth": "^2.0.1",
|
2020-04-22 17:24:15 +02:00
|
|
|
"bcryptjs": "^2.4.3",
|
|
|
|
"body-parser": "^1.19.0",
|
2020-01-14 13:25:13 +01:00
|
|
|
"cfenv": "^1.2.2",
|
2020-06-05 10:51:03 +02:00
|
|
|
"compression": "^1.7.4",
|
2020-04-23 13:59:45 +02:00
|
|
|
"content-filter": "^1.1.2",
|
2020-07-09 13:48:27 +02:00
|
|
|
"cors": "^2.8.5",
|
2020-01-14 13:25:13 +01:00
|
|
|
"express": "^4.17.1",
|
2020-06-05 10:51:03 +02:00
|
|
|
"helmet": "^3.22.0",
|
2020-08-06 13:58:12 +02:00
|
|
|
"joi": "^17.1.1",
|
2020-04-21 10:53:07 +02:00
|
|
|
"json-schema": "^0.2.5",
|
2020-06-29 12:27:39 +02:00
|
|
|
"json2csv": "^5.0.1",
|
2020-05-12 17:15:36 +02:00
|
|
|
"lodash": "^4.17.15",
|
2020-01-14 13:25:13 +01:00
|
|
|
"mongoose": "^5.8.7",
|
2020-08-31 16:20:22 +02:00
|
|
|
"node-cron": "^2.0.3",
|
2020-07-28 10:30:10 +02:00
|
|
|
"swagger-ui-dist": "^3.30.2"
|
2020-01-14 13:25:13 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-06-05 10:51:03 +02:00
|
|
|
"@types/bcrypt": "^3.0.0",
|
|
|
|
"@types/body-parser": "^1.19.0",
|
|
|
|
"@types/express-serve-static-core": "^4.17.5",
|
2020-05-12 17:15:36 +02:00
|
|
|
"@types/lodash": "^4.14.150",
|
2020-06-05 10:51:03 +02:00
|
|
|
"@types/mocha": "^5.2.7",
|
|
|
|
"@types/mongoose": "^5.7.12",
|
2020-08-06 13:58:12 +02:00
|
|
|
"@types/node": "13.1.6",
|
2020-06-05 10:51:03 +02:00
|
|
|
"@types/qs": "^6.9.1",
|
|
|
|
"@types/serve-static": "^1.13.3",
|
2020-06-25 10:44:55 +02:00
|
|
|
"csv-parser": "^2.3.3",
|
|
|
|
"iconv-lite": "^0.6.0",
|
2020-04-27 15:10:14 +02:00
|
|
|
"mocha": "^7.1.2",
|
2020-06-05 10:51:03 +02:00
|
|
|
"nodemon": "^2.0.3",
|
2020-05-27 14:31:17 +02:00
|
|
|
"nyc": "^15.0.1",
|
2020-06-25 10:44:55 +02:00
|
|
|
"pdfreader": "^1.0.7",
|
|
|
|
"selenium-webdriver": "^4.0.0-alpha.7",
|
2020-01-14 13:25:13 +01:00
|
|
|
"should": "^13.2.3",
|
2020-06-05 10:51:03 +02:00
|
|
|
"supertest": "^4.0.2",
|
|
|
|
"tslint": "^5.20.1",
|
|
|
|
"typescript": "^3.7.4"
|
2020-01-14 13:25:13 +01:00
|
|
|
}
|
|
|
|
}
|