UNPKG

firebase-dates-util

Version:

A util package to transform dates string, numbers or Date Objects to firebase Timestamp and viceversa

61 lines (60 loc) 1.63 kB
{ "name": "firebase-dates-util", "version": "0.5.0", "description": "A util package to transform dates string, numbers or Date Objects to firebase Timestamp and viceversa ", "scripts": { "test": "jest --config jestconfig.json", "build": "tsc", "watch": "tsc --watch", "format": "prettier --write \"src/**/*.{ts,js}\" ", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/raulzarzadev/firebase-date-util.git" }, "keywords": [ "firebase", "javascript", "typescript", "Timestamp", "date", "dates" ], "author": "Raul Zarza <raulzarza.dev@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/raulzarzadev/firebase-date-util/issues" }, "homepage": "https://github.com/raulzarzadev/firebase-date-util#readme", "devDependencies": { "@types/jest": "^28.1.3", "@types/uuid": "^8.3.4", "jest": "^28.1.1", "prettier": "^2.7.1", "ts-jest": "^28.0.5", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.7.4" }, "dependencies": { "date-fns": "^2.28.0", "dotenv": "^16.0.1", "firebase": "^9.8.3", "ts-node": "^10.8.1", "uuid": "^8.3.2" }, "bin": { "firebase-dates-utils": "bin/global.js" }, "files": [ "dist/**/*" ], "main": "dist/index.js", "types": "dist/index.d.ts" }