UNPKG

downtimer

Version:
64 lines (63 loc) 1.66 kB
{ "name": "downtimer", "version": "0.2.5", "description": "Timeouts, but a little more relaxing", "keywords": [ "downtime", "downtimer", "setTimeout", "deferred execution", "timeout", "timer" ], "homepage": "https://github.com/MaddyGuthridge/downtimer#readme", "bugs": { "url": "https://github.com/MaddyGuthridge/downtimer/issues" }, "repository": { "type": "git", "url": "git+https://github.com/MaddyGuthridge/downtimer.git" }, "license": "MIT", "author": "Maddy Guthridge", "files": [ "dist" ], "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "scripts": { "test": "vitest run", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage", "lint": "eslint src tests", "lint:watch": "watch -c -n 1 npm run lint", "lint:fix": "eslint --fix src tests", "preattw": "npm run build", "attw": "attw --pack .", "tsc": "tsc --noEmit", "build": "rm -rf dist && npm run build:esm && npm run build:cjs", "build:esm": "tsc", "build:cjs": "tsc --module CommonJS --outDir dist/cjs", "prepare": "npm run build", "tsx": "tsx" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.25.1", "@types/node": "^22.15.3", "@types/uuid": "^10.0.0", "@vitest/coverage-v8": "^3.1.2", "eslint": "^9.25.1", "execa": "^9.5.3", "tsx": "^4.19.4", "typescript": "^5.8.3", "typescript-eslint": "^8.31.0", "vitest": "^3.1.2" }, "dependencies": { "date-fns": "^4.1.0", "picocolors": "^1.1.1", "uuid": "^11.1.0" } }