Skip to content

Commit

Permalink
package the commonjs file in the npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
jneen committed Mar 10, 2014
1 parent cc87b62 commit 2f17935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# empty - here to override the automatic usage of .gitignore
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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.