-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.82 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 2.82 KB
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
{
"name": "use-tw-zipcode",
"version": "2.1.1",
"description": "React hook for getting Taiwan zip code.",
"license": "MIT",
"author": "Gary Lai <garylai1990@gmail.com>",
"homepage": "https://github.com/imgarylai/use-tw-zipcode#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/imgarylai/use-tw-zipcode"
},
"bugs": {
"url": "https://github.com/imgarylai/use-tw-zipcode/issues"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"commit": "git-cz",
"dev": "vite build --watch",
"lint": "eslint .",
"prepare": "husky",
"semantic-release": "semantic-release",
"test": "jest",
"test:coverage": "jest --coverage",
"type-check": "tsc --noEmit"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"types": "dist/index.d.ts",
"peerDependencies": {
"react": "19.2.4"
},
"devDependencies": {
"@commitlint/cli": "20.5.0",
"@commitlint/config-conventional": "20.5.0",
"@commitlint/prompt": "20.5.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "12.0.6",
"@testing-library/react": "16.3.2",
"@types/jest": "30.0.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "8.58.0",
"@typescript-eslint/parser": "8.58.0",
"@vitejs/plugin-react": "6.0.1",
"commitizen": "4.3.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "9.39.4",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.0.1",
"husky": "9.1.7",
"jest": "30.3.0",
"jest-environment-jsdom": "30.3.0",
"lint-staged": "16.4.0",
"prettier": "3.8.1",
"prettier-package-json": "2.8.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"semantic-release": "25.0.3",
"ts-jest": "29.4.9",
"typescript": "6.0.2",
"vite": "8.0.5",
"vite-plugin-dts": "4.5.4"
},
"keywords": [
"hook",
"react",
"taiwan"
],
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"tests/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"jest --bail --findRelatedTests"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.config.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
],
"package.json": [
"prettier-package-json --write"
]
}
}