-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
103 lines (103 loc) · 3.41 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
103
{
"name": "drg-editor",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --open",
"commit": "cz",
"build": "vite build",
"preview": "vite preview",
"preview:test": "start-server-and-test preview http://localhost:4173/drg-editor",
"test": "vitest",
"test:ci": "vitest run",
"test:e2e": "npm run preview:test 'cypress open'",
"test:e2e:headless": "npm run preview:test 'cypress run'",
"test:e2e:ci": "vite build && npm run preview:test 'cypress run --record'",
"bench": "vitest bench",
"prepare": "husky install",
"lint": "run-p run-tsc run-eslint run-stylelint",
"run-tsc": "tsc",
"run-stylelint": "stylelint --cache --fix --ignore-path .gitignore **/*.css",
"run-eslint": "eslint --cache --fix --ignore-path .gitignore --ext .ts,.tsx .",
"format": "prettier -uw --cache --ignore-path .gitignore .",
"validate": "run-p lint test:ci test:e2e:headless"
},
"lint-staged": {
"*": "prettier -uw --cache",
"*.css": "stylelint --cache --fix",
"*.{ts,tsx}": [
"eslint --cache --fix",
"vitest related --run --coverage=false"
]
},
"browserslist": {
"production": "Edge >= 18, Firefox >= 60, Chrome >= 61, Safari >= 11, Opera >= 48",
"development": [
"last 1 chrome version",
"last 1 firefox version"
]
},
"dependencies": {
"clsx": "^1.2.1",
"countapi-js": "^1.0.2",
"daisyui": "^2.31.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.2",
"react-icons": "^4.4.0",
"time-constants": "^1.0.3",
"zustand": "^4.1.1"
},
"devDependencies": {
"@nabla/vite-plugin-eslint": "^1.5.0",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest-image-snapshot": "^5.1.0",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"@types/time-constants": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"@vitejs/plugin-react": "^2.1.0",
"@vitest/coverage-istanbul": "^0.26.2",
"autoprefixer": "^10.4.12",
"commitizen": "^4.2.6",
"cypress": "^12.2.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.25.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-prefer-function-component": "^3.1.0",
"eslint-plugin-testing-library": "^5.9.1",
"eslint-plugin-unicorn": "^45.0.2",
"husky": "^8.0.1",
"jest-image-snapshot": "^5.2.0",
"jsdom": "^20.0.3",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.17",
"prettier": "2.7.1",
"prettier-plugin-tailwindcss": "^0.2.1",
"puppeteer": "^18.2.1",
"react-test-renderer": "^18.2.0",
"start-server-and-test": "^1.15.2",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^29.0.0",
"tailwindcss": "^3.1.8",
"typescript": "^4.6.4",
"vite": "^3.1.0",
"vite-tsconfig-paths": "^3.6.0",
"vitest": "^0.24.0"
}
}