Skip to content

Commit 4f3a998

Browse files
Hadrien MilanoBigBlueHat
authored andcommitted
Use "files" field in package.json
Include only files relevant to the end user on npm.
1 parent 7e9ff0b commit 4f3a998

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
node_modules/*
2-
!node_modules/node-static
3-
npm-debug.log
2+
npm-debug.log

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"pretest": "common bin/http-server lib/ test",
1717
"test": "vows --spec --isolate"
1818
},
19+
"files": [
20+
"lib",
21+
"bin"
22+
],
1923
"contributors": [
2024
{
2125
"name": "Charlie Robbins",

0 commit comments

Comments
 (0)