generated from CodelyTV/typescript-react_best_practices-vite_template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
126 lines (126 loc) · 3.18 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@codelytv/typescript-react-library-template",
"author": "codelytv",
"license": "MIT",
"version": "1.0.0",
"type": "module",
"files": [
"dist"
],
"main": "./dist/my-component.umd.cjs",
"module": "./dist/my-component.js",
"types": "./dist/index.d.ts",
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"scripts": {
"build": "vite build",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint --ignore-path .gitignore . && stylelint **/*.scss",
"lint:fix": "eslint --fix --ignore-path .gitignore . && stylelint --fix **/*.scss",
"docs": "storybook dev -p 6006",
"build:docs": "storybook build",
"cy:open": "cypress open",
"cy:run": "cypress run --component"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"eslint-config-codely/typescript",
"plugin:storybook/recommended"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
},
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"parserOptions": {
"project": [
"./tsconfig.json"
]
}
},
{
"files": [
"tests/**/*.cy.tsx",
"tests/tests-config/cypress/**/*.ts"
],
"parserOptions": {
"project": [
"./tests/tsconfig.json"
]
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@storybook/addon-essentials": "^7.0.17",
"@storybook/addon-interactions": "^7.0.17",
"@storybook/addon-links": "^7.0.17",
"@storybook/blocks": "^7.0.17",
"@storybook/react": "^7.0.17",
"@storybook/react-vite": "^7.0.17",
"@storybook/testing-library": "^0.1.0",
"@swc/core": "^1.3.42",
"@swc/jest": "^0.2.24",
"@testing-library/cypress": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.21",
"@types/react": "^18.0.30",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"cypress": "^12.9.0",
"eslint": "^8.36.0",
"eslint-config-codely": "^2.1.3",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-storybook": "^0.6.12",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-transform-stub": "^2.0.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.60.0",
"storybook": "^7.0.17",
"stylelint": "^14.16.1",
"stylelint-config-rational-order": "^0.0.4",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.9.5",
"vite": "^4.3.8",
"vite-plugin-css-injected-by-js": "^3.1.1",
"vite-plugin-dts": "^2.3.0"
}
}