-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.3 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
{
"name": "example-http-api",
"description": "An example HTTP API for the Pairwise Async Challenges",
"version": "1.0.0",
"main": "build/app.js",
"private": true,
"author": "Pairwise Team",
"scripts": {
"prepare": "yarn gcp-build",
"gcp-build": "yarn build",
"build": "rimraf build && tsc",
"start": "node build/app.js",
"watch": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/app.ts",
"prettier": "prettier --list-different './src/**/*.{ts,tsx,json}'",
"prettier:fix": "prettier --write './src/**/*.{ts,tsx,json}'",
"format": "yarn prettier:fix",
"tsc": "tsc",
"test:unit": "jest",
"test:watch": "jest --watch",
"test": "yarn format && yarn test:unit"
},
"dependencies": {
"@types/cors": "2.8.10",
"@types/express": "4.17.12",
"@types/jest": "26.0.3",
"@types/node": "15.12.5",
"cors": "2.8.5",
"express": "4.17.1",
"jest": "26.1.0",
"prettier": "2.3.2",
"rimraf": "3.0.2",
"ts-jest": "26.1.1",
"ts-node": "10.0.0",
"typescript": "4.3.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".test.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}