-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 4.24 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 4.24 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": "waris",
"version": "1.0.4",
"description": "Islamic inheritance calculator (faraidh) and Indonesian number-to-words converter (terbilang) with BigInt precision",
"type": "module",
"main": "./dist/waris.umd.js",
"module": "./dist/waris.es.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/waris.es.mjs",
"require": "./dist/waris.cjs",
"default": "./dist/waris.umd.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"islamic",
"inheritance",
"faraidh",
"terbilang",
"indonesia",
"bigint",
"typescript",
"tree-shakeable",
"syafii",
"madzhab"
],
"author": {
"name": "Ibrahim Nurul Huda",
"email": "ibrahim@sarbeh.com",
"url": "https://github.com/herbras"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/herbras/waris.git"
},
"bugs": {
"url": "https://github.com/herbras/waris/issues"
},
"homepage": "https://github.com/herbras/waris#readme",
"scripts": {
"dev": "bun run vite",
"build": "bun run clean && bun run vite build",
"build:types": "echo 'Types generated by vite-plugin-dts'",
"build:fast": "bun run vite build",
"build:prod": "bun run clean && bun run vite build --minify",
"build:test": "bun run build && bun scripts/test-build.js",
"test:build": "bun scripts/test-build.js",
"test:dist": "bun scripts/test-dist.js",
"test:dist:full": "bun run build && bun scripts/test-dist.js",
"test:dist:comprehensive": "bun scripts/test-dist-comprehensive.js",
"test:dist:all": "bun run build && bun scripts/test-dist-comprehensive.js",
"test:dist:simple": "bun scripts/test-dist-simple.js",
"clean": "bun x rimraf dist",
"preview": "bun run vite preview",
"prepublishOnly": "bun run build",
"test": "bun test",
"test:run": "bun test --run",
"test:watch": "bun test --watch",
"test:terbilang": "bun test test/terbilang/",
"test:accounting": "bun test test/terbilang/Terbilang.accounting.test.ts",
"test:performance": "bun test test/terbilang/Terbilang.performance.test.ts",
"test:faraidh": "bun test test/faraidh/",
"test:faraidh:basic": "bun test test/faraidh/faraidh.basic.test.ts",
"test:faraidh:advanced": "bun test test/faraidh/faraidh.advanced.test.ts",
"test:all": "bun test test/",
"test:complete": "bun test test/ --timeout 30000",
"test:ci": "bun test --timeout 30000 --reporter junit",
"test:coverage": "bun test --coverage",
"test:silent": "bun test --bail 1",
"test:quick": "bun test --timeout 10000",
"test:slow": "bun test --timeout 60000",
"test:bail": "bun test --bail 1",
"validate": "bun x tsc --noEmit && bun run test:complete && bunx biome lint",
"check": "bunx biome check --fix && bun run test:complete",
"full-check": "bun run validate && echo '✅ All validations passed!'",
"build:validate": "bun run build:test",
"pre-release": "bun run test:complete && bun run build && bun run test:dist:simple && echo '🚀 Ready for release!'",
"test-all": "echo '🧪 Running comprehensive tests...' && bun run test:complete && echo '✅ All 118 tests passed!'",
"verify": "echo '🔍 Verifying project...' && bun x tsc --noEmit && bun run test:complete && echo '✅ TypeScript OK + All tests passed!'",
"quality": "echo '📊 Running quality checks...' && bunx biome format --write && bun run test:complete && echo '✅ Code formatted + All tests passed!'",
"pre-commit": "echo '🚀 Pre-commit validation...' && bun run test:complete && echo '✅ Source tests passed!' && bun run build && echo '✅ Build completed!' && bun run test:dist:all && echo '🎉 All pre-commit checks passed!'",
"commit-ready": "echo '📋 Checking commit readiness...' && bun run pre-commit",
"size": "bun run build && bun run --shell \"du -sh dist/*\"",
"analyze": "bun run build && bunx vite-bundle-analyzer dist",
"update-version": "bun scripts/update-version-refs.js",
"release": "bun run build && npm publish",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@microsoft/api-extractor": "^7.52.8",
"husky": "^9.1.7",
"typescript": "~5.8.3",
"vite": "^6.3.5",
"vite-plugin-dts": "4.5.4",
"vitest": "^3.1.4"
},
"dependencies": {
"decimal.js": "^10.5.0"
},
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false
}