2017-12-09 21:51:18 +00:00
|
|
|
{
|
|
|
|
"name": "storage-upload",
|
2022-08-14 14:03:14 +00:00
|
|
|
"version": "2.2.1",
|
2022-08-13 22:19:31 +00:00
|
|
|
"description": "Micro service for uploading and image resizing files to a storage server.",
|
2017-12-09 21:51:18 +00:00
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2021-10-11 03:39:01 +00:00
|
|
|
"start": "node api/server.mjs",
|
|
|
|
"start:bunyan": "node api/server.mjs | bunyan",
|
2021-10-11 00:21:57 +00:00
|
|
|
"test": "set NODE_ENV=test&& eltro test/**/*.test.mjs -r dot",
|
2022-04-07 11:35:29 +00:00
|
|
|
"test:linux": "NODE_ENV=test eltro 'test/**/*.test.mjs' -r dot",
|
2022-08-13 21:52:45 +00:00
|
|
|
"test:watch": "npm-watch test",
|
|
|
|
"dev": "npm-watch dev:server",
|
|
|
|
"dev:server": "node dev.mjs | bunyan"
|
2022-04-07 11:35:29 +00:00
|
|
|
},
|
|
|
|
"watch": {
|
2022-08-13 21:52:45 +00:00
|
|
|
"dev:server": {
|
|
|
|
"patterns": [
|
|
|
|
"api/*",
|
|
|
|
"{index,dev}.mjs"
|
|
|
|
],
|
|
|
|
"extensions": "js,mjs",
|
|
|
|
"quiet": true,
|
|
|
|
"inherit": true
|
|
|
|
},
|
2022-04-07 11:35:29 +00:00
|
|
|
"test": {
|
|
|
|
"patterns": [
|
|
|
|
"{api,test}/*"
|
|
|
|
],
|
|
|
|
"extensions": "js,mjs",
|
|
|
|
"quiet": true,
|
|
|
|
"inherit": true
|
|
|
|
}
|
2017-12-09 21:51:18 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/nfp-projects/storage-upload.git"
|
|
|
|
},
|
|
|
|
"author": "Jonatan Nilsson",
|
|
|
|
"license": "WTFPL",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/nfp-projects/storage-upload/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/nfp-projects/storage-upload#readme",
|
|
|
|
"dependencies": {
|
2022-04-07 11:35:29 +00:00
|
|
|
"flaska": "^1.2.3",
|
2021-10-11 00:56:22 +00:00
|
|
|
"formidable": "^1.2.2",
|
2022-01-05 14:47:51 +00:00
|
|
|
"nconf-lite": "^2.0.0",
|
2022-04-07 17:15:27 +00:00
|
|
|
"sharp": "^0.30.3"
|
2017-12-09 21:51:18 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-13 21:52:45 +00:00
|
|
|
"eltro": "^1.2.3",
|
|
|
|
"service-core": "^3.0.0"
|
2017-12-09 21:51:18 +00:00
|
|
|
}
|
|
|
|
}
|