-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.43 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
{
"name": "@productive-codebases/productive-vite-react-library",
"private": false,
"version": "1.0.1",
"type": "module",
"scripts": {
":d": "npm run dev",
"build": "tsc && vite build",
"check:code": "tsc --noEmit",
"dev": "vite",
"format": "prettier --write src//**/*.{ts,tsx,css} --config ./.prettierrc",
"lint:fix": "eslint --fix 'src/**/*.{jsx,ts,tsx}'",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"prepare": "husky install",
"preview": "vite preview",
"test": "echo \"Error: no test specified\" && exit 0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npm run lint",
"npm run format"
]
},
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/productive-vite-react-library.es.js",
"require": "./dist/productive-vite-react-library.umd.js"
},
"./dist/style.css": "./dist/style.css"
},
"main": "./dist/productive-vite-react-library.umd.js",
"module": "./dist/productive-vite-react-library.es.js",
"types": "./dist/index.d.ts",
"devDependencies": {
"@types/node": "^20.4.1",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vitejs/plugin-react": "^4.0.3",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.2",
"vite-plugin-dts": "^3.2.0",
"vite-plugin-linter": "^2.0.2",
"vite-tsconfig-paths": "^4.2.0"
},
"peerDependencies": {
"react": "16.8.0 || >=17.x",
"react-dom": "16.8.0 || >=17.x"
},
"repository": {
"type": "git",
"url": "https://github.com/productive-codebases/productive-vite-react-library"
},
"keywords": [],
"author": "Productive Codebases",
"bugs": {
"url": "https://github.com/productive-codebases/productive-vite-react-library/issues"
},
"homepage": "https://github.com/productive-codebases/productive-vite-react-library#readme",
"license": "MIT"
}