Skip to content

Commit 9162229

Browse files
committed
package.json: explicitly set the files to install.
No need for an extra .npmignore file
1 parent 3a3d694 commit 9162229

2 files changed

Lines changed: 11 additions & 17 deletions

File tree

.npmignore

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

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@
66
"types": "lib/index.d.ts",
77
"author": "Jonas Kello",
88
"license": "MIT",
9-
"repository": "https://github.com/dividab/tsconfig-paths",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/dividab/tsconfig-paths.git"
12+
},
13+
"files": [
14+
"/src/**/*.{js,ts}",
15+
"/lib/**/*.{js,ts}",
16+
"register.js",
17+
"CHANGELOG.md",
18+
"!**/__tests__/**"
19+
],
1020
"engines": {
1121
"node": ">=6"
1222
},

0 commit comments

Comments
 (0)