-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.39 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "image_server",
"version": "1.0.0",
"description": "A image server for cybersecurity assignment CET324",
"main": "index.js",
"directories": {
"backend": "backend",
"configuration": "configuration",
"database": "database",
"documents": "documents",
"frontend": "frontend",
"library": "library"
},
"scripts": {
"setup:frontend": "cd ./frontend && npm install",
"setup:backend": "npm install",
"setup": "npm install snipercode.filesystem -G && npm run clean && npm run setup:backend && npm run setup:frontend",
"open:dev": "open-cli http://localhost:8079",
"open:dev-backend": "open-cli http://localhost:8080/docs",
"open:prod": "open-cli http://localhost:8080",
"clean": "set WORK_ENV=development && node cleanup.js",
"dev:frontend": "set WORK_ENV=development && npm run open:dev && cd frontend && npm run serve",
"dev:backend": "set WORK_ENV=development && npm run open:dev-backend && nodemon --ignore logs/ --ignore tests/ --ignore backend/config/ && index.js",
"dev": "concurrently \"npm run dev:frontend\" \"npm run dev:backend\"",
"build:frontend": "set WORK_ENV=production && cd ./frontend && npm run build",
"prod:backend": "set WORK_ENV=production && npm run open:prod && node index.js",
"prod": "set WORK_ENV=production && npm run build:frontend && npm run prod:backend"
},
"keywords": [
"Registration",
"Server",
"Security"
],
"license": "MIT",
"dependencies": {
"connect-history-api-fallback": "^1.6.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"csurf": "^1.11.0",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"express-session": "^1.17.3",
"express-validator": "^6.14.0",
"helmet": "^5.1.0",
"jsonwebtoken": "^8.5.1",
"multer": "^1.4.4-lts.1",
"node-fetch": "^3.2.5",
"nodemailer": "^6.7.5",
"open-cli": "^7.0.1",
"snipercode.filesystem": "^1.0.1",
"sqlite3": "^5.1.2",
"xss-clean": "^0.1.1"
},
"devDependencies": {
"concurrently": "^7.2.0",
"nodemon": "^2.0.16",
"swagger-jsdoc": "^6.2.1",
"swagger-ui-express": "^4.4.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/itSubeDibesh/ImageServer.git"
},
"author": "Dibesh Raj Subedi",
"bugs": {
"url": "https://github.com/itSubeDibesh/ImageServer/issues"
},
"homepage": "https://github.com/itSubeDibesh/ImageServer#readme"
}