diff --git a/package.json b/package.json index 9f4fa05..4ad04d0 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ , "scripts": { "pegjs": "node_modules/.bin/pegjs src/main/pegjs/SdpParser.pegjs src/main/js/SdpParser.js" , "test": "node_modules/.bin/jasmine" - , "prepublish": "npm run pegjs & npm run test" + , "postinstall": "npm run pegjs" + , "prepublish": "npm run pegjs & npm test" } }