UNPKG

chronoshift

Version:

A tiny library for shifting time with timezones

85 lines (84 loc) 2.42 kB
{ "name": "chronoshift", "version": "1.2.1", "description": "A tiny library for shifting time with timezones", "keywords": [ "date", "timezone", "duration", "time", "range", "IS08601", "8601" ], "author": { "name": "Vadim Ogievetsky", "url": "http://vadim.ogievetsky.com" }, "license": "Apache-2.0", "repository": { "type": "git", "url": "http://github.com/implydata/chronoshift.git" }, "main": "build/index.js", "module": "lib/index.js", "typings": "types/index.d.ts", "husky": { "hooks": { "pre-commit": "npm run eslint-changed-only" } }, "scripts": { "pretest": "npm run compile", "test": "npm run eslint && jest", "compile": "rm -rf build/* && tsc", "compile-lib": "rm -rf lib/* types/* && tsc --module esnext --outDir lib/", "prepublishOnly": "npm run compile && npm run compile-lib", "watch": "tsc --watch", "eslint": "eslint 'src/**/*.ts?(x)'", "eslint-fix": "npm run eslint -- --fix --report-unused-disable-directives", "eslint-changed-only": "git diff --diff-filter=ACMR --cached --name-only | grep -E \\.tsx\\?$ | xargs ./node_modules/.bin/eslint", "eslint-fix-changed-only": "npm run eslint-changed-only -- --fix", "prettify": "prettier --write 'src/**/*.{ts,tsx,scss}'", "prettify-check": "prettier --check 'src/**/*.{ts,tsx,scss}'" }, "volta": { "node": "20.18.1" }, "jest": { "preset": "ts-jest", "testMatch": [ "**/*.spec.ts" ], "setupFilesAfterEnv": [ "jest-expect-message" ] }, "prettier": "@awesome-code-style/prettier-config", "dependencies": { "@internationalized/date": "^3.5.6", "tslib": "^2.8.1" }, "devDependencies": { "@awesome-code-style/eslint-config": "^6.0.0", "@awesome-code-style/prettier-config": "^5.0.0", "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.10", "@types/d3-time": "^2.1.4", "@types/jest": "^29.5.14", "@types/jest-expect-message": "^1.0.3", "@types/node": "^20.0.0", "d3-time": "^2.1.1", "eslint": "^9.15.0", "eslint-plugin-notice": "^1.0.0", "globals": "^15.12.0", "husky": "^2.4.1", "immutable-class": "^0.11.0", "immutable-class-tester": "^0.7.2", "jest": "^29.7.0", "jest-expect-message": "^1.1.3", "prettier": "^3.4.1", "ts-jest": "^29.2.5", "typescript": "^5.7.2" } }