Skip to content

Commit 5ced6af

Browse files
committed
chore: use 'files' instead of .npmignore
1 parent ab8e7a0 commit 5ced6af

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.npmignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"Brett Zamir",
2222
"Aadit M Shah <[email protected]> (https://aadit.codes/)"
2323
],
24+
"main": "index.js",
25+
"files": [
26+
"rules/**/*.js",
27+
"index.js"
28+
],
2429
"scripts": {
2530
"format": "prettier --write . && eslint . --fix",
2631
"lint": "npm-run-all \"lint:*\"",

0 commit comments

Comments
 (0)