-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
95 lines (95 loc) · 3.96 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
92
93
94
95
{
"name": "nextjs-fullstack-app-template",
"author": {
"name": "Jiří Hofman",
"url": "https://nextjs-fullstack-app-template-potato.vercel.app"
},
"description": "A template for creating a production-ready fullstack Next.js application with: React Bootstrap and Clerk using Cypress and GitHub Actions",
"displayName": "My Next App Template",
"version": "0.9.0",
"private": false,
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"dev": "next dev -p 4100",
"build": "next build",
"start": "next start -p 5100",
"lint": "next lint",
"prepare": "husky install",
"migrate:make": "knex migrate:make --esm",
"migrate:latest": "knex migrate:latest --esm",
"migrate:up": "knex migrate:up --esm",
"migrate:down": "knex migrate:down --esm",
"migrate:rollback-all": "knex migrate:rollback --all --esm",
"migrate:status": "knex migrate:status --esm",
"seed:create": "knex seed:make --esm",
"seed:run": "knex seed:run --esm",
"test": "npm run test:coverage:jest && npm run test:coverage:component && npm run test:coverage:e2e",
"test:jest": "jest --watch",
"test:build": "NODE_ENV=test next build",
"test:start": "NODE_ENV=test next start -p 5100",
"test:wait-on": "wait-on http://127.0.0.1:5100",
"test:cy:run": "CYPRESS_BASE_URL=http://localhost:5100 CYPRESS_NODE_ENV=test cypress run --browser chrome --env coverage=true",
"test:db:clear": "NODE_ENV=test npm run migrate:rollback-all",
"test:db:init": "NODE_ENV=test npm run migrate:latest && NODE_ENV=test npm run seed:run",
"test:ci": "npm run pretest && npm run test:coverage:jest && npm run test:coverage:component && npm run test:db:clear && npm run test:db:init && npm run test:build && npm run test:start & npm run test:wait-on && npm run test:cy:run && npm run posttest",
"pretest": "rm -rf coverage jest-coverage cypress-coverage .nyc_output || true",
"posttest": "npm run report:combined",
"mkdir:reports": "mkdir reports || true",
"test:coverage:prepare-folders": "npm run pretest && (mkdir .nyc_output || true) && (mkdir reports || true)",
"combine:reports": "npx nyc merge reports && mv coverage.json .nyc_output/out.json",
"prereport:combined": "npm run combine:reports",
"report:combined": "npx nyc report --reporter lcov --reporter text --report-dir coverage",
"test:coverage:jest": "NODE_ENV=test jest && cp jest-coverage/coverage-final.json reports/from-jest.json",
"test:coverage:component": "NODE_ENV=test cypress run --component --browser chrome --env coverage=true && cp cypress-coverage/coverage-final.json reports/from-cypress-component.json",
"test:coverage:e2e": "cypress run --browser chrome --env coverage=true && cp cypress-coverage/coverage-final.json reports/from-cypress.json"
},
"dependencies": {
"@clerk/nextjs": "^4.31.5",
"@prisma/client": "^5.13.0",
"@vercel/analytics": "^1.1.1",
"@vercel/postgres": "^0.9.0",
"bootstrap": "^5.3.3",
"lodash": "^4.17.21",
"next": "^14.2.13",
"next-intl": "^3.24.0",
"notiflix": "^3.2.6",
"react": "^18.2.0",
"react-bootstrap": "^2.10.5",
"react-bootstrap-icons": "^1.8.2",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.2.2",
"@cypress/code-coverage": "^3.13.4",
"@types/react": "18.3.12",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"cypress": "^13.13.3",
"eslint": "8.12.0",
"eslint-config-next": "^14.2.6",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-jest": "^28.5.0",
"husky": "^9.1.6",
"jest": "latest",
"prisma": "^5.20.0",
"wait-on": "^8.0.1"
},
"nyc": {
"report-dir": "cypress-coverage",
"exclude": [
"pages/api/__coverage__.js",
"jest.setup.js",
"**/__tests__/**"
]
},
"resolutions": {
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0"
}
}