-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.96 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.96 KB
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
{
"name": "pairwise-database-challenge-api",
"description": "An HTTP server equipped to run SQL and MongoDB queries for Pairwise database challenges.",
"version": "1.0.0",
"main": "build/app.js",
"private": true,
"author": "Pairwise Team",
"scripts": {
"setup": "cp sample.env .env",
"prepare": "yarn gcp-build",
"gcp-build": "yarn build",
"build": "rimraf build && tsc",
"start": "node build/app.js",
"watch": "nodemon --watch '**/*.ts' --exec 'ts-node' src/app.ts",
"prettier": "prettier --list-different './src/**/*.{ts,tsx,json}'",
"prettier:fix": "prettier --write './src/**/*.{ts,tsx,json}'",
"lint": "yarn prettier",
"format": "yarn prettier:fix",
"tsc": "tsc",
"test:unit": "jest",
"test:watch": "jest --watch",
"test": "yarn lint && yarn test:unit",
"up": "docker-compose up -d",
"down": "docker-compose down",
"create-production-env": "printenv > .env",
"fetch-movies": "yarn build && node build/tools/fetchMovies.js && yarn copy-movies",
"copy-movies": "cp build/data/movies_source.json src/data/movies_source.json && cp build/data/movies.json src/data/movies.json"
},
"dependencies": {
"@types/cors": "2.8.10",
"@types/express": "4.17.12",
"@types/getenv": "1.0.0",
"@types/jest": "26.0.3",
"@types/mongodb": "3.6.18",
"@types/node": "15.12.5",
"@types/pg": "8.6.0",
"axios": "0.21.1",
"cors": "2.8.5",
"dotenv": "10.0.0",
"express": "4.17.1",
"getenv": "1.0.0",
"jest": "26.1.0",
"mongodb": "3.6.9",
"nodemon": "2.0.7",
"pg": "8.6.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"
}
}