-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.38 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
{
"name": "backend-coding-test",
"version": "1.1.0",
"description": "A coding assessment for Xendit backend interviews",
"engines": {
"node": ">=12"
},
"directories": {
"test": "tests"
},
"scripts": {
"build": "npx tsc --project tsconfig.build.json",
"start:built": "node dist/app.js",
"start": "concurrently \"npx tsc --watch --project tsconfig.build.json\" \"nodemon -q ./dist/app.js\"",
"test": "NODE_ENV=test nyc mocha",
"pretest:load": "npm run build",
"test:load": "concurrently --success first \"npm:start:built\" \"artillery run --quiet .artillery/config.yml --output .artillery/summary.json\"",
"posttest:load": "artillery report .artillery/summary.json",
"lint": "eslint --ext .ts src",
"lint:fix": "npm run lint -- --fix",
"watch:docs": "npx @redocly/cli preview-docs docs/openapi.json",
"build:docs": "npx redoc-cli build docs/openapi.json --output docs/index.html",
"serve:docs": "npx serve docs",
"docs": "npm run build:docs && npm run serve:docs",
"prepare": "husky install"
},
"keywords": [
"Xendit"
],
"author": "Bo",
"license": "ISC",
"dependencies": {
"body-parser": "^1.19.2",
"express": "^4.17.3",
"http-json-errors": "^1.2.12",
"reflect-metadata": "^0.1.13",
"sqlite3": "^5.0.8",
"typeorm": "^0.3.6",
"winston": "^3.7.2"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/express": "^4.17.13",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.34",
"@types/sinon": "^10.0.11",
"@types/sinon-chai": "^3.2.8",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"artillery": "^2.0.0-16",
"artillery-plugin-faker": "^4.0.0",
"artillery-plugin-metrics-by-endpoint": "^1.0.2",
"chai": "^4.3.6",
"codecov": "^3.8.3",
"concurrently": "^7.2.0",
"eslint": "^8.15.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"husky": "^8.0.1",
"mocha": "^9.2.2",
"mocha-junit-reporter": "^2.0.2",
"mocha-multi": "^1.1.6",
"nodemon": "^2.0.16",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"sinon": "^14.0.0",
"sinon-chai": "^3.7.0",
"supertest": "^6.2.3",
"ts-node": "^10.7.0",
"typescript": "^4.6.4"
}
}