Skip to content

Commit 8818d1d

Browse files
fix(package): filter published files (#212)
Currently, the `.github` folder and many other development-related files are published which isn't intended. Filter the list of published files by using the [files](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#files) parameter in the `package.json`.
1 parent 8615855 commit 8818d1d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
"name": "suite-js-sdk",
33
"description": "",
44
"main": "index.js",
5+
"files": [
6+
"api/",
7+
"authentication/",
8+
"lib/",
9+
"translations/",
10+
"config.js"
11+
],
512
"scripts": {
613
"test": "npm run test:unit",
714
"test:unit": "NODE_ENV=test mocha --reporter spec --ui bdd $(find . -name \"*.spec.js\" -not -path \"./node_modules/*\")",

0 commit comments

Comments
 (0)