-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
67 lines (67 loc) · 1.82 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
{
"name": "thai-id-validator",
"version": "1.1.6",
"description": "Thai Citizen ID validator with 0 dependencies",
"keywords": [
"thai-citizen-id",
"id-validator",
"validator",
"national-id"
],
"files": [
"dist"
],
"type": "module",
"types": "./index.d.ts",
"main": "./dist/esm/validator.js",
"module": "./dist/esm/validator.js",
"exports": "./dist/esm/validator.js",
"homepage": "https://github.com/jukbot/thai-citizen-id-validator#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/jukbot/thai-citizen-id-validator.git"
},
"bugs": {
"url": "https://github.com/jukbot/thai-citizen-id-validator/issues"
},
"directories": {
"dist": "dist",
"src": "src",
"test": "tests"
},
"scripts": {
"build": "bun run build:browser && bun run build:node",
"build:browser": "bun build ./src/validator.ts --outdir dist/browser --target browser --minify",
"build:node": "bun build ./src/validator.ts --outdir dist/esm --target node --format esm --minify",
"dev:docs": "vite --config vite-docs.config.cjs",
"build:docs": "vite build --config vite-docs.config.cjs",
"lint": "standard",
"test": "bun test",
"coverage": "nyc --reporter=lcov --reporter=text-summary bun test --coverage",
"type-check": "tsc --noEmit"
},
"author": "Juk V. <[email protected]>",
"license": "MIT",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/bun": "^1.1.9",
"@types/node": "^22.5.5",
"eslint": "^9.10.0",
"nyc": "^17.0.0",
"source-map-support": "^0.5.21",
"standard": "^17.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"vite": "^5.4.6"
},
"standard": {
"ignore": [
"dist/**",
"docs/**"
]
},
"browserslist": [
"last 1 version",
"> 1%"
]
}