UNPKG

best-holiday

Version:

Holidays and JavaScript, now Customizable and Effortless

60 lines (59 loc) 1.89 kB
{ "name": "best-holiday", "version": "1.1.8", "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": "^25.0.3", "esbuild": "^0.27.2", "terser": "^5.44.1", "typescript": "^5.9.3" } }