croner 11.0.0-dev.8 → 11.0.0-dev.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +24 -4
package/README.md CHANGED
@@ -73,13 +73,13 @@ const { Cron } = require("croner");
73
73
  Using Deno
74
74
 
75
75
  ```typescript
76
- import { Cron } from "jsr:@hexagon/croner@11.0.0-dev.8";
76
+ import { Cron } from "jsr:@hexagon/croner@11.0.0-dev.9";
77
77
  ```
78
78
 
79
79
  In a webpage using the UMD-module
80
80
 
81
81
  ```html
82
- <script src="https://cdn.jsdelivr.net/npm/croner@11.0.0-dev.8/dist/croner.umd.js"></script>
82
+ <script src="https://cdn.jsdelivr.net/npm/croner@11.0.0-dev.9/dist/croner.umd.js"></script>
83
83
  ```
84
84
 
85
85
  ## Documentation
package/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "croner",
3
+ "version": "11.0.0-dev.9",
3
4
  "description": "Trigger functions and/or evaluate cron expressions in JavaScript. No dependencies. Most features. All environments.",
4
5
  "author": "Hexagon <github.com/hexagon>",
5
6
  "homepage": "https://croner.56k.guru",
@@ -23,7 +24,7 @@
23
24
  },
24
25
  {
25
26
  "type": "github",
26
- "url": "https://github.com/sponsors/Hexagon"
27
+ "url": "https://github.com/sponsors/hexagon"
27
28
  }
28
29
  ],
29
30
  "files": [
@@ -68,6 +69,25 @@
68
69
  "browser": "./dist/croner.umd.js"
69
70
  }
70
71
  },
71
- "license": "MIT",
72
- "version": "11.0.0-dev.8"
73
- }
72
+ "scripts": {
73
+ "test": "tsx --test test/*.test.ts",
74
+ "typecheck": "tsc -p tsconfig.json",
75
+ "pre-commit": "npm run typecheck && npm test",
76
+ "build:clean": "tsx build/build.ts clean",
77
+ "build:dist": "tsx build/build.ts build",
78
+ "build": "npm run build:clean && npm run check-version && npm run typecheck && npm test && npm run build:dist",
79
+ "check-version": "tsx build/build.ts check-version",
80
+ "version": "tsx build/build.ts sync-version && git add deno.json"
81
+ },
82
+ "devDependencies": {
83
+ "@cross/test": "npm:@jsr/cross__test@~0.0.14",
84
+ "@std/assert": "npm:@jsr/std__assert@~1.0.6",
85
+ "@typescript/typescript6": "~6.0.2",
86
+ "esbuild": "0.28.2",
87
+ "rollup": "~4.65.0",
88
+ "rollup-plugin-dts": "~6.5.1",
89
+ "tsx": "^4.20.0",
90
+ "typescript": "~7.0.0"
91
+ },
92
+ "license": "MIT"
93
+ }