UNPKG

cookiesjs

Version:

Intuitive cookie manipulation library for the front-end

40 lines (39 loc) 1.16 kB
{ "name": "cookiesjs", "version": "4.0.2", "description": "Intuitive cookie manipulation library for the front-end", "repository": "github:franciscop/cookies", "funding": "https://www.paypal.me/franciscopresencia/19", "author": "Francisco Presencia <public@francisco.io> (https://francisco.io/)", "license": "MIT", "main": "index.min.js", "files": [ "index.min.js", "index.d.ts" ], "types": "index.d.ts", "scripts": { "build": "bun run build:bundle && bun run build:types", "build:bundle": "rolldown src/index.ts -f umd -n cookies -o index.min.js -m --exports default", "build:types": "dts-bundle-generator --out-file index.d.ts --project tsconfig.json src/index.ts", "lint": "tsc", "size": "echo $(gzip -c index.min.js | wc -c) bytes", "start": "bun test --watch", "test": "bun test" }, "keywords": [ "cookies", "js", "javascript", "frontend", "expiration", "secure" ], "devDependencies": { "@happy-dom/global-registrator": "^20.9.0", "@types/bun": "^1.3.0", "dts-bundle-generator": "^9.5.1", "rolldown": "^1.0.1", "typescript": "^6.0.0" } }