Skip to content

Commit 0d201c3

Browse files
author
Hyunje Jun
committed
Use "files" field in package.json instead of npmignore
1 parent 0b8ddec commit 0d201c3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.npmignore

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

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
},
88
"main": "dist/index.js",
99
"types": "types/index.d.ts",
10+
"files": [
11+
"dist",
12+
"docs",
13+
"exceptions.js",
14+
"exceptions.ts",
15+
"lib",
16+
"types"
17+
],
1018
"scripts": {
1119
"pretest": "npm run build",
1220
"test": "API_BASE_URL=http://localhost:1234/ TEST_PORT=1234 mocha -r ts-node/register test/*.spec.ts",

0 commit comments

Comments
 (0)