-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.85 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
{
"name": "best-holiday",
"version": "1.1.6",
"description": "Holidays and JavaScript, now Customizable and Effortless",
"scripts": {
"build:cjs": "tsc --project tsconfig.cjs.json || true",
"minify:cjs": "terser dist/cjs/index.js --compress --mangle --output dist/cjs/index.js",
"build:esm": "tsc --project tsconfig.esm.json || true",
"minify:esm": "terser dist/esm/index.js --compress --mangle --output dist/esm/index.js",
"build:browser": "esbuild src/browser.ts --bundle --minify --format=iife --platform=browser --target=es2015 --outfile=dist/browser/best-holiday.min.js",
"minify": "npm run minify:cjs && npm run minify:esm",
"build": "rm -rf dist && npm run build:cjs && npm run build:esm && npm run build:browser && npm run minify",
"test": "node test/index.js",
"prepublishOnly": "npm run build"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"browser": "./dist/browser/best-holiday.min.js",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"browser": "./dist/browser/best-holiday.min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/The-Best-Codes/best-holiday.git"
},
"bugs": {
"url": "https://github.com/The-Best-Codes/best-holiday/issues"
},
"homepage": "https://github.com/The-Best-Codes/best-holiday#readme",
"keywords": [
"bestcodes",
"holidays",
"holiday",
"javascript",
"js",
"customizable",
"effortless",
"easy"
],
"author": "The-Best-Codes",
"license": "GPL-3.0-or-later",
"devDependencies": {
"@types/node": "^22.10.1",
"esbuild": "^0.24.0",
"terser": "^5.37.0",
"typescript": "^5.7.2"
}
}