-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.74 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 1.74 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
{
"name": "wareki",
"version": "1.0.0",
"description": "Japanese era (wareki) converter",
"keywords": [
"date",
"era",
"heisei",
"japanese",
"meiji",
"reiwa",
"showa",
"taisho",
"wareki"
],
"homepage": "https://github.com/tohashi/wareki#readme",
"bugs": {
"url": "https://github.com/tohashi/wareki/issues"
},
"license": "MIT",
"author": "tohashi",
"repository": {
"type": "git",
"url": "git+https://github.com/tohashi/wareki.git"
},
"files": [
"lib"
],
"type": "module",
"sideEffects": false,
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm/index.d.ts",
"default": "./lib/esm/index.js"
},
"require": {
"types": "./lib/cjs/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"scripts": {
"build": "pnpm build:esm && pnpm build:cjs",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > lib/cjs/package.json",
"check": "tsc --noEmit",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "oxlint",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"prepare": "husky",
"prepublishOnly": "pnpm build"
},
"devDependencies": {
"@vitest/coverage-v8": "^4.0.0",
"husky": "^9.0.0",
"lint-staged": "^16.4.0",
"oxfmt": "^0.41.0",
"oxlint": "^1.56.0",
"typescript": "^5.9.0",
"vitest": "^4.0.0"
},
"lint-staged": {
"*.ts": [
"oxlint",
"oxfmt --write"
]
},
"engines": {
"node": ">=20.0.0"
},
"packageManager": "pnpm@9.15.0"
}