Permalink
Browse files

package the commonjs file in the npm package

  • Loading branch information...
1 parent cc87b62 commit 2f179358ab82fb3c8eb11137a4710fba16e66fa2 @jneen committed Mar 10, 2014
Showing with 3 additions and 2 deletions.
  1. +1 −0 .npmignore
  2. +2 −2 package.json
View
@@ -0,0 +1 @@
+# empty - here to override the automatic usage of .gitignore
View
@@ -6,7 +6,7 @@
"author": "Jay Adkisson <jjmadkisson at gmail dot com>",
"repository": "git://github.com/jayferd/parsimmon",
- "files": ["index.js", "src", "test", "Makefile", "package.json"],
+ "files": ["index.js", "src", "test", "Makefile", "package.json", "build/parsimmon.commonjs.js"],
"main": "index.js",
"devDependencies": {
"mocha": "1.8.x",
@@ -17,7 +17,7 @@
"pjs": "3.x"
},
"scripts": {
- "install": "make commonjs",
+ "prepublish": "make commonjs",
"test": "make test"
}
}

0 comments on commit 2f17935

Please sign in to comment.