UNPKG

light-date

Version:

Blazing fast & lightweight (180 bytes) date formatting for Node.js and the browser.

107 lines (106 loc) 2.9 kB
{ "name": "light-date", "version": "1.2.0", "description": "Blazing fast & lightweight (180 bytes) date formatting for Node.js and the browser.", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist/**/*" ], "author": "Antoni Kepinski <a@kepinski.me> (https://kepinski.me)", "bugs": { "url": "https://github.com/xxczaki/light-date/issues" }, "scripts": { "prebuild": "del-cli dist", "esm": "tsc --module esnext && cpy dist/index.js dist --rename index.esm.js", "cjs": "tsc --module commonjs", "build": "npm run esm && npm run cjs", "size": "size-limit", "test": "xo && c8 ava && c8 report --reporter=lcov", "benchmark": "ts-node -T benchmark.ts", "prepublishOnly": "npm run build" }, "engines": { "node": ">=10" }, "license": "MIT", "repository": "xxczaki/light-date", "homepage": "https://github.com/xxczaki/light-date", "keywords": [ "light-date", "date-format", "format-date", "date", "date-fns", "dayjs", "date-formatting", "formatting-date", "format", "moment", "format-time", "time-format", "time", "dayjs", "typescript", "date-time-format" ], "devDependencies": { "@akepinski/tsconfig": "0.0.2", "@size-limit/preset-small-lib": "^4.7.0", "@types/benchmark": "^1.0.33", "@typescript-eslint/eslint-plugin": "^4.6.0", "@typescript-eslint/parser": "^4.6.0", "ava": "^3.13.0", "benchmark": "^2.1.4", "c8": "^7.3.5", "cli-table3": "^0.6.0", "coveralls": "^3.1.0", "cpy-cli": "^3.1.1", "date-fns": "^2.16.1", "date-format": "^3.0.0", "dayjs": "^1.9.4", "del-cli": "^3.0.1", "eslint-config-xo-typescript": "^0.35.0", "moment": "^2.29.1", "size-limit": "^4.7.0", "ts-node": "^9.0.0", "type-fest": "^0.18.0", "typescript": "^4.0.5", "xo": "^0.34.1" }, "sideEffects": false, "ava": { "extensions": [ "ts" ], "require": [ "ts-node/register" ] }, "xo": { "extends": "xo-typescript", "extensions": [ "ts" ], "rules": { "import/no-anonymous-default-export": 0 } }, "size-limit": [ { "name": "format", "path": "dist/index.esm.js", "import": "{format}", "limit": "180 B" }, { "name": "localeFormat", "path": "dist/index.esm.js", "import": "{localeFormat}", "limit": "193 B" } ], "dependencies": {} }