-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.64 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
{
"name": "npm-package-template",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint --fix 'src/**/*.{jsx,ts,tsx}'",
"format": "prettier --write src/**/*.{ts,tsx} --config ./.prettierrc.json",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"yarn eslint",
"yarn format"
]
},
"dependencies": {
"clsx": "^1.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@vanilla-extract/css": "^1.9.1",
"@vanilla-extract/vite-plugin": "^3.6.1",
"@vitejs/plugin-react": "^2.2.0",
"eslint": "^8.27.0",
"eslint-plugin-react": "^7.31.10",
"husky": "^8.0.2",
"prettier": "2.7.1",
"typescript": "*",
"vite": "^3.2.3",
"vite-plugin-dts": "^1.7.0",
"vite-tsconfig-paths": "^3.5.2"
},
"peerDependencies": {
"react": "16.8.0 || >=17.x",
"react-dom": "16.8.0 || >=17.x"
},
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/npm-package-template.es.js",
"require": "./dist/npm-package-template.cjs.js"
},
"./dist/style.css": "./dist/style.css"
},
"main": "./dist/npm-package-template.cjs.js",
"module": "./dist/npm-package-template.es.js",
"types": "./dist/index.d.ts"
}