-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.82 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
{
"name": "easy-react-component-library-template",
"description": "Vite, Storybook, Jest, Tailwind, Prettier, ESLint, Husky, and more",
"version": "0.0.1",
"license": "UNLICENSED",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"dev": "yarn storybook",
"build": "rm -rf dist && tsc && vite build",
"serve": "vite preview",
"format": "prettier --write \"src/**/*.ts\" ",
"lint": "eslint ./src --fix",
"test": "jest --passWithNoTests",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"prepack": "json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\""
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,scss,less}": [
"prettier --ignore-path ./.prettierignore --write "
],
"*.{js,jsx,ts,tsx}": [
"eslint"
]
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "3.1.6"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@storybook/addon-actions": "^6.5.10",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-interactions": "^6.5.10",
"@storybook/addon-links": "^6.5.10",
"@storybook/builder-vite": "^0.2.2",
"@storybook/react": "^6.5.10",
"@storybook/testing-library": "^0.0.13",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.4",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"@vitejs/plugin-react-refresh": "1.3.6",
"autoprefixer": "10.4.7",
"eslint": "8.20.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-storybook": "^0.6.3",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-transform-css": "^4.0.1",
"json": "^11.0.0",
"lint-staged": "13.0.3",
"postcss": "8.4.14",
"postcss-import": "14.1.0",
"prettier": "2.7.1",
"tailwindcss": "3.1.6",
"ts-jest": "^28.0.7",
"typescript": "4.7.4",
"vite": "3.0.2",
"vite-plugin-checker": "0.4.9",
"vite-plugin-dts": "^1.4.1",
"vite-tsconfig-paths": "3.5.0"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
],
"testEnvironment": "jsdom",
"transform": {
".+\\.(css|styl|less|sass|scss)$": "jest-transform-css",
"\\.tsx?$": "ts-jest"
}
},
"files": [
"dist"
]
}