From 098da35a7649efd3686fc4fb5bb1debe029066d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=ADsli=20Konr=C3=A1=C3=B0=20Bj=C3=B6rnsson?= Date: Fri, 8 Dec 2023 10:46:43 +0000 Subject: [PATCH] changes how peggy is invoked on postinstall --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b8f2ca0..73c1af1 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"