-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.23 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
{
"name": "react-lib",
"description": "🌋 lib/components boilerplate for projects made with React/Typescript, on top of Vite ⚡",
"author": "Eruption🌋",
"private": false,
"version": "0.0.1",
"license": "MIT",
"homepage": "https://github.com/eruption/react-lib",
"bugs": "https://github.com/eruption/react-lib",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/devmozao/poc.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"files": [
"dist"
],
"sideEffects": [
"**/*.css"
],
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc --p ./tsconfig-build-lib.json && vite build",
"preview": "vite preview",
"host": "vite --host",
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest --watch --coverage",
"test:ui": "vitest --watch --coverage --ui",
"lint": "npx eslint src",
"lint:fix": "npm run lint -- --fix",
"lint:css": "npx stylelint **/*.css --aei --color",
"prettier": "npx prettier src --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"format:check": "npm run prettier && npm run lint",
"lint-staged": "lint-staged",
"prepare": "husky install",
"commit": "commit",
"prepublishOnly": "npm run build"
},
"engines": {
"node": "^20.x.x",
"npm": "^10.x.x"
},
"peerDependencies": {
"react": "^18.x",
"react-dom": "^18.x"
},
"devDependencies": {
"@commitlint/cli": "^18.x",
"@commitlint/config-conventional": "^18.x",
"@commitlint/prompt-cli": "^18.x",
"@fvilers/disable-react-devtools": "^1.x",
"@testing-library/jest-dom": "^6.x",
"@testing-library/react": "^14.x",
"@testing-library/user-event": "^14.x",
"@trivago/prettier-plugin-sort-imports": "^4.x",
"@types/node": "^20.8.7",
"@types/react": "^18.x",
"@types/react-dom": "^18.x",
"@typescript-eslint/eslint-plugin": "^6.x",
"@typescript-eslint/parser": "^6.x",
"@vitejs/plugin-react-swc": "^3.x",
"@vitest/coverage-v8": "^0.x",
"@vitest/ui": "^0.x",
"c8": "^8.x",
"eslint": "^8.x",
"eslint-config-prettier": "^9.x",
"eslint-plugin-import": "^2.x",
"eslint-plugin-jsx-a11y": "^6.x",
"eslint-plugin-prettier": "^5.x",
"eslint-plugin-react": "^7.x",
"eslint-plugin-react-hooks": "^4.x",
"glob": "^10.3.10",
"happy-dom": "^12.x",
"husky": "^8.x",
"lint-staged": "^15.x",
"msw": "^1.x",
"prettier": "^3.x",
"react": "^18.x",
"react-dom": "^18.x",
"stylelint": "^15.x",
"stylelint-config-standard": "^34.x",
"typescript": "^5.x",
"vite": "^4.x",
"vite-plugin-dts": "^3.6.0",
"vite-plugin-lib-inject-css": "^1.3.0",
"vitest": "^0.x",
"web-vitals": "^3.x"
},
"msw": {
"workerDirectory": "public"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"keywords": [
"react",
"boilerplate",
"vite",
"bundle",
"typescript",
"starter",
"template"
]
}