-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
102 lines (102 loc) · 3.48 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
96
97
98
99
100
101
102
{
"name": "priznanie-digital",
"version": "0.1.0",
"engines": {
"node": "22"
},
"scripts": {
"clean": "rm -rf ./.next && rm ./__tests__/**/*.output.*",
"dev": "next dev",
"dev:cy": "start-server-and-test dev http://localhost:3000/ cy:open",
"build": "next build",
"start": "node node_modules/next/dist/bin/next start -p $PORT",
"start:next": "next start",
"test:watch": "yarn test -- -- watch",
"test": "jest",
"coverage:html": "yarn test --coverage --coverageDirectory='public/coverage' --collectCoverageFrom='src/**/*.ts' && echo 'You can find the coverage report at http://localhost:3000/coverage/lcov-report/lib/index.html'",
"ci": "yarn lint && yarn test -- --ci&& yarn build && yarn cy:ci",
"prettier": "prettier --check './{src,__tests__,cypress}/**/*.{ts,tsx,js,css}'",
"prettier:write": "prettier --write './{src,__tests__,cypress}/**/*.{ts,tsx,js,css}'",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run:dashboard": "cypress run --record --parallel",
"cy:ci": "PORT=3000 start-server-and-test start http://localhost:3000/ cy:run:dashboard",
"lint": "eslint . --format pretty --ext .js,.jsx,.ts,.tsx",
"check:ts": "tsc --noEmit",
"git-comit-hash": "echo {\\\"gitCommit\\\":\\\"$(git rev-parse --short HEAD)\\\"} > ./git-commit.json && git add ./git-commit.json"
},
"dependencies": {
"base64-js": "^1.5.1",
"classnames": "2.3.1",
"decimal.js": "10.3.1",
"eslint-config-next": "^13.0.6",
"formik": "2.2.9",
"fuse.js": "6.5.3",
"iban": "0.0.14",
"js-file-download": "0.4.12",
"lodash.clonedeep": "4.5.0",
"navody-digital-frontend": "^0.1.9",
"next": "^13.5.0",
"nookies": "2.5.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rodnecislo": "1.6.0",
"sass": "^1.75.0",
"webpack": "^5.76.0",
"xml-js": "1.6.11",
"yup": "0.32.11"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@types/classnames": "2.3.1",
"@types/iban": "0.0.35",
"@types/jest": "^29.5.14",
"@types/lodash.clonedeep": "4.5.6",
"@types/node": "17.0.18",
"@types/react": "^17.0.83",
"@types/xml2js": "0.4.14",
"@types/yup": "0.29.13",
"@typescript-eslint/eslint-plugin": "5.12.0",
"@typescript-eslint/parser": "5.12.0",
"babel-eslint": "10.1.0",
"cypress": "13.15.2",
"eslint": "8.9.0",
"eslint-config-react-app": "7.0.0",
"eslint-formatter-pretty": "4.1.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "26.1.1",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-only-warn": "1.0.3",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-sonarjs": "0.11.0",
"eslint-plugin-unicorn": "41.0.0",
"husky": "7.0.4",
"jest": "^27.5.1",
"jest-raw-loader": "^1.0.1",
"lint-staged": "12.3.4",
"prettier": "2.5.1",
"start-server-and-test": "1.14.0",
"typescript": "4.5.5",
"xml2js": "0.4.23"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn check:ts && yarn git-comit-hash"
}
},
"lint-staged": {
"*.{js,ts,tsx,css,json,md}": [
"prettier --write"
],
"*.{js,ts,tsx}": [
"yarn lint"
]
},
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}