UNPKG

date-limits

Version:

Check if a date is before a flexible limit.

67 lines (66 loc) 1.92 kB
{ "name": "date-limits", "version": "1.1.0", "description": "Check if a date is before a flexible limit.", "files": [ "/dist" ], "exports": { ".": { "types": "./dist/types/index.d.ts", "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js", "default": "./dist/esm/index.js" } }, "scripts": { "test": "karma start karma.conf.js", "start": "watch \"cls && tsc --project tsconfig.cjs.json && node dist/cjs/index.js\" ./src/", "clean": "rmdir /s /Q dist", "build": "npm run clean && tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json && node ./scripts/prepare-package-json.js", "build:cjs": "tsc --project tsconfig.cjs.json", "build:esm": "tsc --project tsconfig.esm.json", "build:web": "npm run clean && tsc --project tsconfig.esm.json && npm exec webpack", "build-publish": "npm run build && npm publish", "preinstall": "only-allow pnpm" }, "repository": { "type": "git", "url": "https://github.com/joker876/date-limits.git" }, "bugs": { "url": "https://github.com/joker876/date-limits/issues" }, "homepage": "https://github.com/joker876/date-limits#readme", "author": "joker876", "license": "MIT", "devDependencies": { "@types/jasmine": "^4.0.3", "@types/jest": "^29.2.3", "cross-env": "^7.0.3", "jasmine": "^4.1.0", "jasmine-core": "^5.4.0", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", "karma-firefox-launcher": "^2.1.3", "karma-jasmine": "^5.1.0", "karma-jasmine-html-reporter": "^2.1.0", "karma-typescript": "^5.5.4", "only-allow": "^1.2.1", "ts-node-dev": "^1.1.8", "typescript": "^4.6.3", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" }, "keywords": [ "date", "limit", "limits", "date-limits", "before", "after", "date-check", "checker", "time" ] }