Initial Commit
This commit is contained in:
143
packages/foundation/timing/cron/package.json
Normal file
143
packages/foundation/timing/cron/package.json
Normal file
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"name": "@suaveplan/cron",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Universal cron expression parser, next-fire calculator with timezone + DST support, and lightweight in-process scheduler",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./errors/cron-error": {
|
||||
"import": {
|
||||
"types": "./dist/errors/cron-error.d.ts",
|
||||
"default": "./dist/errors/cron-error.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/errors/cron-error.d.ts",
|
||||
"default": "./dist/errors/cron-error.js"
|
||||
}
|
||||
},
|
||||
"./parse/parse-cron": {
|
||||
"import": {
|
||||
"types": "./dist/parse/parse-cron.d.ts",
|
||||
"default": "./dist/parse/parse-cron.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parse/parse-cron.d.ts",
|
||||
"default": "./dist/parse/parse-cron.js"
|
||||
}
|
||||
},
|
||||
"./fields/cron-fields": {
|
||||
"import": {
|
||||
"types": "./dist/fields/cron-fields.d.ts",
|
||||
"default": "./dist/fields/cron-fields.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/fields/cron-fields.d.ts",
|
||||
"default": "./dist/fields/cron-fields.js"
|
||||
}
|
||||
},
|
||||
"./macros/macros": {
|
||||
"import": {
|
||||
"types": "./dist/macros/macros.d.ts",
|
||||
"default": "./dist/macros/macros.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/macros/macros.d.ts",
|
||||
"default": "./dist/macros/macros.js"
|
||||
}
|
||||
},
|
||||
"./next-run/next-run": {
|
||||
"import": {
|
||||
"types": "./dist/next-run/next-run.d.ts",
|
||||
"default": "./dist/next-run/next-run.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/next-run/next-run.d.ts",
|
||||
"default": "./dist/next-run/next-run.js"
|
||||
}
|
||||
},
|
||||
"./timezone/timezone": {
|
||||
"import": {
|
||||
"types": "./dist/timezone/timezone.d.ts",
|
||||
"default": "./dist/timezone/timezone.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/timezone/timezone.d.ts",
|
||||
"default": "./dist/timezone/timezone.js"
|
||||
}
|
||||
},
|
||||
"./scheduler/cron-scheduler": {
|
||||
"import": {
|
||||
"types": "./dist/scheduler/cron-scheduler.d.ts",
|
||||
"default": "./dist/scheduler/cron-scheduler.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/scheduler/cron-scheduler.d.ts",
|
||||
"default": "./dist/scheduler/cron-scheduler.js"
|
||||
}
|
||||
},
|
||||
"./otel/cron-otel": {
|
||||
"import": {
|
||||
"types": "./dist/otel/cron-otel.d.ts",
|
||||
"default": "./dist/otel/cron-otel.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/otel/cron-otel.d.ts",
|
||||
"default": "./dist/otel/cron-otel.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms",
|
||||
"@opentelemetry/api": "catalog:observability"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "catalog:testing",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:build",
|
||||
"vite-plugin-dts": "catalog:build",
|
||||
"vitest": "catalog:testing"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://npmjs.fq.io/",
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"src",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user