Skip to content

Commit 1800bbd

Browse files
authored
Do not publish tests (#803)
We don't have to publish test files at all. ref: https://www.npmjs.com/package/@line/bot-sdk/v/9.0.4?activeTab=code (dist > messaging-api > tests)
1 parent 0f633ac commit 1800bbd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525
},
2626
"sideEffects": false,
2727
"files": [
28-
"dist"
28+
"dist",
29+
"lib",
30+
"!lib/**/tests",
31+
"!dist/*/tests",
32+
"!dist/cjs/*/tests"
2933
],
3034
"scripts": {
3135
"pretest": "npm run format && npm run build",

0 commit comments

Comments
 (0)