|
7 | 7 | "start": "node -r module-alias/register ./dist --env=production", |
8 | 8 | "start:debug": "node --inspect=0.0.0.0:9229 ./node_modules/.bin/ts-node -r tsconfig-paths/register ./src", |
9 | 9 | "start:dev": "nodemon", |
10 | | - "test": "nodemon --config ./spec/nodemon.json" |
| 10 | + "test": "mocha --exit -r ts-node/register spec/*.spec.ts" |
11 | 11 | }, |
12 | 12 | "nodemonConfig": { |
13 | 13 | "watch": [ |
|
66 | 66 | "dotenv": "^8.2.0", |
67 | 67 | "express": "^4.17.1", |
68 | 68 | "express-async-errors": "^3.1.1", |
| 69 | + "form-data": "^3.0.0", |
69 | 70 | "helmet": "^4.5.0", |
70 | 71 | "http-status-codes": "^2.1.4", |
71 | 72 | "jet-logger": "^1.0.4", |
|
75 | 76 | "morgan": "^1.10.0" |
76 | 77 | }, |
77 | 78 | "devDependencies": { |
| 79 | + "@types/chai": "^4.3.0", |
| 80 | + "@types/chai-http": "^4.2.0", |
78 | 81 | "@types/command-line-args": "^5.0.0", |
79 | 82 | "@types/cookie-parser": "^1.4.2", |
| 83 | + "@types/eslint": "^8.4.0", |
80 | 84 | "@types/express": "^4.17.11", |
81 | 85 | "@types/find": "^0.2.1", |
82 | 86 | "@types/fs-extra": "^9.0.11", |
83 | | - "@types/jasmine": "^3.6.10", |
84 | 87 | "@types/jsonfile": "^6.0.0", |
| 88 | + "@types/mocha": "^9.0.0", |
85 | 89 | "@types/morgan": "^1.9.2", |
| 90 | + "@types/nock": "^11.1.0", |
86 | 91 | "@types/node": "^15.0.1", |
87 | 92 | "@types/supertest": "^2.0.11", |
88 | 93 | "@typescript-eslint/eslint-plugin": "^4.22.0", |
89 | 94 | "@typescript-eslint/parser": "^4.22.0", |
90 | | - "eslint": "^7.25.0", |
| 95 | + "chai": "^4.3.4", |
| 96 | + "chai-http": "^4.3.0", |
| 97 | + "eslint": "^8.7.0", |
| 98 | + "eslint-config-airbnb": "^19.0.4", |
| 99 | + "eslint-config-airbnb-typescript": "^16.1.0", |
| 100 | + "eslint-plugin-import": "^2.25.4", |
91 | 101 | "find": "^0.3.0", |
92 | 102 | "fs-extra": "^9.1.0", |
93 | | - "jasmine": "^3.7.0", |
| 103 | + "mocha": "^9.1.3", |
| 104 | + "nock": "^13.2.2", |
94 | 105 | "nodemon": "^2.0.7", |
95 | 106 | "supertest": "^6.1.3", |
96 | 107 | "ts-node": "^9.1.1", |
|
0 commit comments