UNPKG

json-stringify-date

Version:

Like JSON.stringify, but preserve timezones in date objects and parse dates into Date object

56 lines (55 loc) 1.59 kB
{ "name": "json-stringify-date", "version": "1.0.16", "description": "Like JSON.stringify, but preserve timezones in date objects and parse dates into Date object", "main": "dist/index.js", "type": "module", "browser": "browser.js", "dependencies": { "moment": "^2.27.0" }, "devDependencies": { "@babel/preset-env": "^7.26.9", "@babel/preset-typescript": "^7.27.0", "@eslint/js": "^9.24.0", "@types/jest": "^29.5.12", "@types/node": "^22.14.1", "@typescript-eslint/eslint-plugin": "^8.29.1", "@typescript-eslint/parser": "^8.29.1", "babel-jest": "^29.7.0", "babelify": "^10.0.0", "browserify": "^17.0.1", "eslint": "^9.24.0", "esmify": "^2.1.1", "jest": "^29.7.0", "jest-environment-node": "^29.7.0", "puppeteer": "^22.12.0", "should": "^13.2.3", "ts-jest": "^29.1.2", "tsx": "^4.19.3", "typescript": "^5.8.3" }, "scripts": { "check:coverage": "jest --coverage", "test": "jest", "check:lint": "eslint . --ext .ts", "check:build": "./scripts/check.sh", "check": "npm run check:lint && npm run check:build && npm run check:coverage", "build:tsc": "tsc", "build:browser": "tsx ./scripts/build.ts", "build": "npm run build:tsc && npm run build:browser", "prepare": "npm run build" }, "repository": "git://github.com/fmenezes/json-stringify-date", "keywords": [ "json", "stringify", "date", "parse" ], "author": "Filipe Constantinov Menezes <fcmenezes87@gmail.com>", "license": "MIT", "engines": { "node": ">=20.0.0" } }