-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.35 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
{
"name": "contact-api",
"version": "1.0.0",
"description": "",
"main": "src/index.ts",
"scripts": {
"build": "tsc --build && mkdir -p ./dist/data && cp ./src/data/mock-data.csv ./dist/data/mock-data.csv",
"clean": "rm -rf ./dist && rm -rf ./node_modules && rm -rf ./coverage",
"start": "tsc --build && node ./dist/index.js",
"stop": "pkill contact-api",
"test": "jest --config ./jestconfig.json"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@tsconfig/node14": "^1.0.1",
"@types/csv-parse": "^1.2.2",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/node": "^14.0.0",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
},
"dependencies": {
"csv-parse": "^5.0.4",
"express": "^4.17.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "test",
"testRegex": ".spec.ts(x?)$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.{ts,tsx}"
],
"moduleNameMapper": {
"~/(.*)$": "<rootDir>/$1",
"^csv-parse/sync": "<rootDir>/../node_modules/csv-parse/dist/cjs/sync.cjs"
},
"coverageDirectory": "../coverage",
"testEnvironment": "jsdom",
"resetMocks": true,
"verbose": false
}
}