-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.41 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.41 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
{
"name": "nanakshahi",
"version": "9.0.1",
"description": "A JavaScript Library to get Nanakshahi Dates and Gurpurabs",
"type": "module",
"main": "dist/index.js",
"browser": "dist/browser.js",
"unpkg": "dist/browser.min.js",
"jsdelivr": "dist/browser.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"scripts": {
"build": "bun run build:types && bun run build:esm && bun run build:browser && bun run build:browser:min",
"build:esm": "bun build ./index.ts --outdir dist --format=esm --target=node",
"build:browser": "bun build ./browser.ts --outfile dist/browser.js --format=iife --target=browser",
"build:browser:min": "bun build ./browser.ts --outfile dist/browser.min.js --format=iife --target=browser --minify",
"build:types": "tsc -p tsconfig.build.json",
"build-docs": "bun scripts/build-docs.mjs && markdown-toc -i README.md",
"typecheck": "tsc -p tsconfig.json --noEmit",
"lint": "biome check .",
"format": "biome check --write .",
"precommit": "bun run typecheck && bun run lint && bun run build-docs && git add --renormalize README.md",
"release": "release-it",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sarabveer/nanakshahi-js.git"
},
"author": "Sarabveer Singh <me@sarabveer.me>",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/sarabveer/nanakshahi-js/issues"
},
"homepage": "https://github.com/sarabveer/nanakshahi-js#readme",
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@commitlint/cli": "^20.4.3",
"@commitlint/config-conventional": "^20.4.3",
"husky": "^9.1.7",
"markdown-toc": "^1.2.0",
"release-it": "^19.2.4",
"typedoc": "^0.28.17",
"typedoc-plugin-markdown": "^4.10.0",
"typescript": "^5.9.3"
},
"release-it": {
"hooks": {
"before:release": "bun run build"
},
"github": {
"release": true,
"assets": [
"dist/index.js",
"dist/browser.js",
"dist/browser.min.js"
]
},
"git": {
"commitMessage": "chore: release v${version}"
}
},
"keywords": [
"nanakshahi",
"sikhi",
"sikhism",
"sikh",
"sikh-holidays",
"nanakshahi-api",
"bikrami",
"gurpurab",
"gurpurabs",
"gurmukhi"
]
}