diff --git a/package.json b/package.json index df88fda..807230e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "badge": "mocha --reporter mocha-badge-generator", "coverage": "npx nyc --reporter=text mocha", - "build-condition-parser": "npx mkdirp build && ./node_modules/peggy/bin/peggy.js -o build/ConditionParser.js lib/peggy/Apigee-Condition.pegjs", + "build-condition-parser": "npx mkdirp build && npx peggy -o build/ConditionParser.js lib/peggy/Apigee-Condition.pegjs", "postinstall": "npm run build-condition-parser", "pretest": "npm run build-condition-parser", "test": "mocha"