Skip to content

Commit

Permalink
perf(npm): remove superfluous files from npm package (#328)
Browse files Browse the repository at this point in the history
* perf(npm): remove superfluous files from npm package

* test: fix TS tests to point to the right file
  • Loading branch information
sheerlox authored Aug 11, 2023
1 parent b440182 commit 61f8ec7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion index.d.ts

This file was deleted.

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "4.8.1",
"description": "Node.js library for parsing crontab instructions",
"main": "lib/parser.js",
"types": "index.d.ts",
"types": "types/index.d.ts",
"typesVersions": {
"<4.1": {
"*": [
Expand Down Expand Up @@ -81,5 +81,11 @@
"dom"
]
}
}
},
"files": [
"lib",
"types",
"LICENSE",
"README.md"
]
}
2 changes: 1 addition & 1 deletion test/index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
parseString,
fieldsToExpression,
StringResult
} from '../index';
} from '../types';

const interval = parseExpression('0 1 2 3 * 1-3,5');
const intervalIterator = parseExpression('0 1 2 3 * 1-3,5', {iterator: true});
Expand Down

0 comments on commit 61f8ec7

Please sign in to comment.