Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Explicitly define what files to include in npm package

Sindre Sorhusb51782b595cc
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index 7c93063a..00000000
--- a/.npmignore
+++ /dev/null
@@ -1,6 +0,0 @@
-test
-examples
-*.sock
-lib-cov
-editors
-support
diff --git a/package.json b/package.json
index 11225cd2..17ce9917 100644
--- a/package.json
+++ b/package.json
@@ -38,5 +38,13 @@
"devDependencies": {
"should": "*",
"coffee-script": "1.2"
- }
+ },
+ "files": [
+ "bin",
+ "images",
+ "lib",
+ "index.js",
+ "mocha.css",
+ "mocha.js"
+ ]
}