Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 3.3 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 3.3 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "taiwan-validator",
"version": "1.2.0",
"description": "A comprehensive validator for Taiwan identification numbers and codes (身分證字號、統一編號、居留證號、手機號碼、自然人憑證、電子發票條碼、車牌號碼)",
"license": "MIT",
"author": "Gary Lai <garylai1990@gmail.com>",
"homepage": "https://laigary.com/labs/taiwan-validator",
"repository": {
"type": "git",
"url": "git+https://github.com/imgarylai/taiwan-validator.git"
},
"bugs": {
"url": "https://github.com/imgarylai/taiwan-validator/issues"
},
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsup",
"clean": "rimraf dist coverage",
"dev": "tsup --watch",
"predocs": "rimraf docs",
"docs": "typedoc",
"docs:watch": "typedoc --watch",
"lint": "eslint .",
"prepack": "pnpm run build",
"prepare": "husky",
"test": "jest",
"test:coverage": "jest --coverage",
"type-check": "tsc --noEmit"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"sideEffects": false,
"types": "./dist/index.d.ts",
"devDependencies": {
"@eslint/js": "^10.0.0",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.0",
"@semantic-release/npm": "^13.0.0",
"@semantic-release/release-notes-generator": "^14.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-jest": "29.15.4",
"husky": "9.1.7",
"jest": "^30.0.0",
"lint-staged": "17.1.0",
"prettier": "^3.2.5",
"prettier-package-json": "^2.4.11",
"rimraf": "^6.0.0",
"semantic-release": "^25.0.0",
"sort-package-json": "4.0.0",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typedoc": "^0.28.2",
"typescript": "6.0.3"
},
"keywords": [
"business-number",
"citizen-certificate",
"einvoice",
"id",
"identification",
"license-plate",
"mobile-phone",
"national-id",
"resident-certificate",
"taiwan",
"validation",
"validator",
"vehicle",
"台灣",
"居留證",
"手機",
"統一編號",
"自然人憑證",
"身分證",
"車牌",
"電子發票",
"驗證"
],
"engines": {
"node": ">=22.0.0",
"pnpm": ">=10"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"src/**/*.{js,jsx,ts,tsx}": [
"jest --bail --findRelatedTests"
],
"*.{json,md}": [
"prettier --write"
],
"package.json": [
"prettier-package-json --write"
]
},
"packageManager": "pnpm@10.34.5",
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
}
}