-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
71 lines (71 loc) · 3.02 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
70
71
{
"name": "unipal-backend",
"version": "1.0.0",
"description": "[![BadgeNodeJS](https://img.shields.io/badge/MADE%20WITH-NODEJS-brightgreen?style=for-the-badge&logo=Node.js)](https://shields.io/) [![BadgeExpress](https://img.shields.io/badge/USES-EXPRESS-red?style=for-the-badge)](https://shields.io/) [![BadgeMySQL](https://img.shields.io/badge/USES-MYSQL-4479A1?style=for-the-badge&logo=MySQL)](https://shields.io/) [![BadgeAzure](https://img.shields.io/badge/DATABASE-AZURE-0078D4?style=for-the-badge&logo=microsoftazure&logoColor=007FFF)](https://shields.io/) [![BadgeAzureAppService](https://img.shields.io/badge/DEPLOYED-AZURE%20APP%20SERVICE-2560E0?style=for-the-badge&logo=azurepipelines&logoColor=007FFF)](https://shields.io/) [![BadgeHeroku](https://img.shields.io/badge/STAGING-HEROKU-430098?style=for-the-badge&logo=Heroku)](https://shields.io/)",
"main": "src/index.js",
"engines": {
"node": ">=12"
},
"scripts": {
"start": "node -r dotenv-flow/config src/index.js -- --dotenv-flow-path=envs",
"production": "cross-env NODE_ENV=production npm start",
"dev": "cross-env NODE_ENV=dev DOTENV_FLOW_PATH=envs nodemon -r dotenv-flow/config",
"test:coverage": "nyc --reporter=lcov --reporter=text-summary npm run test",
"test": "npm run test:unit && npm run test:intg",
"test:unit": "cross-env NODE_ENV=test DOTENV_FLOW_PATH=envs mocha test/unit/**/*.test.js --reporter-options reportDir=test/unit/report,reportFilename=unit-tests-report,json=false,autoOpen=true -r dotenv-flow/config",
"test:intg": "cross-env NODE_ENV=test DOTENV_FLOW_PATH=envs mocha --timeout 20000 test/integration --reporter-options reportDir=test/integration/report,reportFilename=integration-tests-report,json=false,autoOpen=true -r dotenv-flow/config",
"lint": "eslint src/",
"fixlint": "eslint src/ --fix"
},
"nyc":{
"exclude": "test",
"include": "src",
"report-dir": "test/coverage",
"temp-dir": "test/.nyc_output"
},
"mocha": {
"exit": true,
"inline-diffs": true,
"reporter": "mochawesome",
"require": "mochawesome/register"
},
"keywords": [],
"author": "Abdur Rafay Saleem",
"license": "ISC",
"dependencies": {
"@sendgrid/mail": "^7.7.0",
"@sentry/node": "^7.61.0",
"@sentry/tracing": "^7.66.0",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"deep-email-validator": "^0.1.21",
"dotenv-flow": "^3.2.0",
"express": "^4.18.2",
"express-validator": "^6.15.0",
"jsonwebtoken": "^9.0.1",
"mysql2": "^3.2.0",
"otp-generator": "^4.0.1"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.5",
"chai": "^4.3.7",
"decache": "^4.6.2",
"eslint": "^8.48.0",
"eslint-config-strongloop": "^2.1.0",
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"sinon": "^15.2.0",
"supertest": "^6.3.3"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/cyntaria/UniPal-Backend"
}
}