Archived
2
This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
definma-api/package.json
2020-08-28 09:36:00 +02:00

66 lines
2.0 KiB
JSON

{
"name": "definma-api",
"version": "0.7.2",
"description": "API for the digital fingerprint of plastics mongodb",
"main": "index.js",
"scripts": {
"tsc": "tsc",
"tsc-full": "del /q dist\\* & (for /d %x in (dist\\*) do @rd /s /q \"%x\") & tsc",
"build": "build.bat",
"build-push": "build.bat && timeout 3 && cf push",
"test": "mocha dist/**/**.spec.js",
"start": "node index.js",
"dev": "nodemon -e ts,yaml --exec \"tsc && node dist/index.js || exit 1\"",
"start-local": "node dist/index.js",
"loadDev": "node dist/test/loadDev.js",
"coverage": "tsc && nyc --reporter=html --reporter=text mocha dist/**/**.spec.js --timeout 5000",
"import": "node data_import/import.js",
"spectrum-fix": "node data_import/spectrum-fix.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^8.0.0",
"@apidevtools/swagger-parser": "^9.0.1",
"axios": "^0.19.2",
"basic-auth": "^2.0.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"cfenv": "^1.2.2",
"compression": "^1.7.4",
"content-filter": "^1.1.2",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^3.22.0",
"joi": "^17.1.1",
"json-schema": "^0.2.5",
"json2csv": "^5.0.1",
"lodash": "^4.17.15",
"mongoose": "^5.8.7",
"swagger-ui-dist": "^3.30.2"
},
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/body-parser": "^1.19.0",
"@types/express-serve-static-core": "^4.17.5",
"@types/lodash": "^4.14.150",
"@types/mocha": "^5.2.7",
"@types/mongoose": "^5.7.12",
"@types/node": "13.1.6",
"@types/qs": "^6.9.1",
"@types/serve-static": "^1.13.3",
"csv-parser": "^2.3.3",
"iconv-lite": "^0.6.0",
"mocha": "^7.1.2",
"nodemon": "^2.0.3",
"nyc": "^15.0.1",
"pdfreader": "^1.0.7",
"selenium-webdriver": "^4.0.0-alpha.7",
"should": "^13.2.3",
"supertest": "^4.0.2",
"tslint": "^5.20.1",
"typescript": "^3.7.4"
}
}