-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 3.26 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "phantom-techode",
"version": "1.0.0",
"description": "(backend) Application that allows simulating bus movements and enabling passengers to track their locations & movements.",
"main": "app.js",
"scripts": {
"start": "cross-env NODE_ENV=production ENVIRONMENT=production npm run migrate && cross-env NODE_ENV=production ENVIRONMENT=production babel-node app.js",
"dev": "cross-env NODE_ENV=development ENVIRONMENT=development nodemon --exec npm run compile",
"compile": "babel-node app.js",
"lint": "eslint --ext .js",
"test": "cross-env NODE_ENV=test ENVIRONMENT=test npm run migrate:undo && cross-env NODE_ENV=test ENVIRONMENT=test npm run migrate && cross-env NODE_ENV=test ENVIRONMENT=test npm run seedAll && cross-env NODE_ENV=test ENVIRONMENT=test c8 --check-coverage mocha test/*.test.js --timeout 20000 --require @babel/register --ignore ./models/index.js --exit",
"coverage": "c8 --check-coverage -r lcov npm test",
"migrate": "npx sequelize db:migrate",
"seedAll": "npx sequelize db:seed:all",
"migrate:undo": "npx sequelize db:migrate:undo:all",
"undoseed": "npx sequelize db:seed:undo:all",
"create:model": "npx sequelize model:generate --name ",
"create:seed": "npx sequelize seed:generate --name ",
"migration:generate": "npx sequelize migration:generate --name "
},
"keywords": [
"mocha",
"chai"
],
"repository": {
"type": "git",
"url": "git+https://github.com/atlp-rwanda/phatom-be-techode.git"
},
"author": "Techode",
"license": "ISC",
"bugs": {
"url": "https://github.com/atlp-rwanda/phatom-be-techode/issues"
},
"homepage": "https://github.com/atlp-rwanda/phatom-be-techode#readme",
"dependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.7",
"@babel/node": "^7.16.8",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"bcrypt": "^5.0.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"c8": "^7.11.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^6.2.0",
"express": "^4.17.3",
"express-validator": "^6.14.0",
"generate-password": "^1.7.0",
"i18next": "^21.6.14",
"i18next-fs-backend": "^1.1.4",
"i18next-http-middleware": "^3.2.0",
"joi": "^17.6.0",
"jsonwebtoken": "^8.4.0",
"morgan": "^1.9.1",
"nodemailer": "^6.7.3",
"pg": "^8.7.3",
"pg-hstore": "^2.3.4",
"redis": "^3.1.2",
"redis-om": "^0.3.1",
"reflect-metadata": "^0.1.13",
"sequelize": "^6.16.2",
"sequelize-cli": "^6.4.1",
"sequelize-redis": "^1.0.12",
"socket.io": "^4.5.0",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.3.0",
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/node": "^16.11.10",
"chai": "^4.3.6",
"chai-http": "^4.3.0",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"faker": "^6.6.6",
"mocha": "^9.2.2",
"nodemon": "^2.0.15",
"prettier": "^2.6.1",
"sinon": "^13.0.1",
"typeorm-cli": "^1.0.7",
"typescript": "4.5.2"
}
}