-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.84 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": "react-nextjs-rest-api",
"version": "1.0.0",
"dependencies": {
"axios": "^0.26.1",
"bootstrap": "*",
"next": "^12.1.0",
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "*",
"babel-jest": "^27.5.1",
"cypress": "^9.5.2",
"cypress-grep": "^2.13.1",
"jest": "^27.5.1",
"jest-stare": "*",
"mocha": "^9.2.2",
"mochawesome": "^7.1.2",
"mochawesome-merge": "*",
"mochawesome-report-generator": "^6.1.1",
"msw": "^0.39.2",
"open-api-mocker": "^1.11.1",
"react-test-renderer": "*",
"serve": "*",
"start-server-and-test": "*",
"npm-check-updates": "*"
},
"scripts": {
"postinstall": "npx next telemetry disable",
"dev": "next dev -p ${PORT:-3000}",
"build": "next build",
"export": "next export -o ${OUT_DIR:-out}",
"start": "next start -p ${PORT:-3000}",
"serve": "serve --listen ${PORT:-3000} ${SERVE_DIR:-out}",
"test": "jest --watchAll=true --config=./jest.config.json",
"test:run-ci": "jest --watchAll=false --config=./jest-ci.config.json",
"cypress": "cypress open --config-file cypress-functional.json",
"cypress:run-ci": "cypress run --config-file cypress-functional.json",
"start-server-and-test": "start-server-and-test serve ${PORT:-3000} cypress:run-ci",
"open-api-mocker": "open-api-mocker --port 8180 --schema open_api_spec/OpenApiSpec.json",
"mochawesome-merge": "mochawesome-merge ./cypress-report/mochawesome-report/*.json -o ./cypress-report/report/cypress_full.json",
"marge": "marge -i --saveHtml -f cypress_full -o ./cypress-report/report ./cypress-report/report/cypress_full.json",
"ncu": "ncu -u"
}
}