Skip to content

Commit

Permalink
📦 release: 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cheap-glitch committed Sep 27, 2020
1 parent 6283e4b commit 4bef930
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ parseCron.nextDate = function(exp: string | CronSchedule, from = new Date()): Da

const date: CronDate = {
years: from.getUTCFullYear(),
// For whatever reason, months are numbered from 0 to 11...
// For whatever reason, UTC months are numbered from 0 to 11...
months: from.getUTCMonth() + 1,
days: from.getUTCDate(),
hours: from.getUTCHours(),
Expand Down
12 changes: 7 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 25 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
{
"name": "mi-cron",
"description": "A microscopic parser for standard cron expressions.",
"version": "1.0.0",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/cheap-glitch/mi-cron.git"
},
"bugs": {
"url": "https://github.com/cheap-glitch/mi-cron/issues"
},
"author": "cheap glitch <[email protected]> (https://github.com/cheap-glitch)",
"homepage": "https://github.com/cheap-glitch/mi-cron#readme",
"keywords": [
"cron",
"cron-expression",
"crontable",
"parser"
],
"main": "index.min.js",
"directories": {
"test": "test"
},
"scripts": {
"build": "npm run build:ts && npm run build:minify",
"build:ts": "tsc",
"build:minify": "terser --compress --mangle toplevel --comments '/^!/' --output index.min.js -- index.js",
"build:ts": "tsc",
"coverage": "nyc npm test",
"coverage:report": "npm run coverage && nyc report --reporter=text-lcov | codecov --pipe --disable=gcov",
"lint": "eslint . --ext .ts",
Expand All @@ -13,7 +36,7 @@
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"chai": "^4.2.0",
"eslint": "^7.9.0",
"eslint": "^7.10.0",
"mocha": "^8.1.3",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
Expand Down

0 comments on commit 4bef930

Please sign in to comment.