Skip to content

Commit cd82f47

Browse files
chore: stop publishing docs to npm (#186)
The upstream repo will publish the `docs` folder to npm when published. But most ESLint plugins nowadays do not do this. We can gain some space savings by removing `docs` from the published artifacts. Output from `npm pack` before removing `docs`: ```txt npm notice package size: 62.7 kB npm notice unpacked size: 378.7 kB ``` After removing `docs`: ```txt npm notice package size: 48.4 kB npm notice unpacked size: 298.8 kB ```
1 parent b69756e commit cd82f47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"module": "./dist/index.mjs",
4040
"types": "./dist/index.d.ts",
4141
"files": [
42-
"dist",
43-
"docs"
42+
"dist"
4443
],
4544
"scripts": {
4645
"build": "tsup",

0 commit comments

Comments
 (0)