generated from fewlines-education/game-catalog-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.06 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "game-catalog-starter",
"version": "1.0.3",
"main": "index.ts",
"license": "MIT",
"scripts": {
"build": "tsc",
"dev": "nodemon",
"start": "node build/index.js",
"populate-db": "ts-node ./src/scripts/populate-db.ts",
"destroy-db": "ts-node ./src/scripts/destroy-db.ts",
"format": "prettier --write .",
"lint": "eslint \"{src,tests}/**/*.{js,ts,jsx,tsx}\"",
"test": "yarn test:unit && yarn test:e2e",
"test:unit": "jest --runInBand tests/unit",
"test:e2e": "jest --runInBand tests/e2e"
},
"dependencies": {
"dotenv": "10.0.0",
"express": "^4.17.3",
"mongodb": "^4.4.0",
"nunjucks": "^3.2.3",
"ts-node": "^10.5.0",
"typescript": "^4.6.2"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^27.0.3",
"@types/node": "^17.0.21",
"@types/nunjucks": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"devtools-protocol": "^0.0.977936",
"eslint": "^7.10.0",
"jest": "^27.4.3",
"nodemon": "^2.0.15",
"prettier": "2.5.1",
"taiko": "^1.2.8",
"ts-jest": "^27.0.7"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"env": {
"browser": true,
"node": true
},
"ignorePatterns": [
"jest.config.js",
"node_modules/",
"*.test.ts",
"src.sample/*"
]
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"diagnostics": {
"warnOnly": true
}
}
},
"testEnvironment": "node",
"testPathIgnorePatterns": [
"dist"
]
},
"nodemon": {
"watch": [
"src/",
"index.ts",
"views/"
],
"ext": "ts,njk",
"ignore": [],
"exec": "ts-node index.ts"
}
}