-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.8 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
{
"name": "superheroes-api-ts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "rimraf ./dist && tsc",
"ts-node": "NODE_ENV=development ts-node ./src/index.ts",
"start:dev": "nodemon",
"start": "npm run build && node dist/index.js",
"lint": "eslint . --ext .ts",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prettier-watch": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
"test": "NODE_ENV=test jest --forceExit",
"test:watch": "npm run test -- --watchAll --coverage",
"json-server": "json-server --port 3004 --watch src/test/json-server/db.json --routes src/test/json-server/routes.json"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.6",
"@types/jest": "^26.0.3",
"@types/mongodb": "^3.5.25",
"@types/node": "^14.0.14",
"@types/supertest": "^2.0.9",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.1.0",
"json-server": "^0.16.1",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"supertest": "^4.0.2",
"ts-jest": "^26.1.1",
"ts-node": "^8.10.2",
"typescript": "^3.9.5"
},
"dependencies": {
"axios": "^0.19.2",
"body-parser": "^1.19.0",
"camelcase-keys": "^6.2.2",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"moment": "^2.27.0",
"mongodb": "^3.5.9",
"uuid": "^8.2.0"
},
"jest": {
"verbose": true,
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
}
}