forked from gregjopa/express-app-testing-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.43 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
{
"name": "express-app-testing-demo",
"description": "a simple express app for demonstrating testing and code coverage.",
"version": "1.0.0",
"engines": {
"node": ">=12"
},
"private": true,
"main": "app/server.js",
"scripts": {
"start": "nodemon app/server.js",
"test": "npm run lint && npm run jest",
"test:e2e": "jest --runInBand e2e_tests/*.test.js",
"jest": "jest --coverage app/__tests__/*.test.js",
"lint": "eslint app/*.js e2e_tests/*.js",
"ci:lint": "npx eslint -f junit \"./{app,e2e_tests}/**/*.{js,jsx}\" > eslint.xml",
"ci:lint-no-dep": "npm ci --prefer-offline --no-audit && npx eslint -f junit \"./{app,e2e_tests}/**/*.{js,jsx}\" > eslint.xml",
"ci:test": "npx jest --ci --reporters=default --reporters=jest-junit",
"ci:coverage": "jest --coverage app/__tests__/*.test.js",
"prettier": "prettier --write app/*.js app/__{tests,mocks}__/*.js e2e_tests/*.js"
},
"dependencies": {
"ejs": "~3.1.6",
"express": "~4.17.3",
"got": "^12.0.1",
"serve-favicon": "^2.5.0"
},
"devDependencies": {
"eslint": "^8.10.0",
"jest": "^27.5.1",
"jest-junit": "13.0.0",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"supertest": "~6.2.2"
},
"repository": {
"type": "git",
"url": "https://github.com/gregjopa/express-app-testing-demo"
},
"jest": {
"testEnvironment": "node",
"verbose": true
},
"prettier": {
"singleQuote": true
}
}