diff --git a/package-lock.json b/package-lock.json index 900cb2c..691d54b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,6 +51,9 @@ "typescript": "^4.3.5", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" + }, + "engines": { + "node": ">=12 <20.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 12a92f2..4c96a9a 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint:js": "eslint 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' cucumber.js", "lint:md": "remark .", "lint:fix": "eslint 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' --fix", - "pretest": "npm run lint && npm run conformance", + "pretest": "npm run lint && npm run build && npm run conformance", "test": "mocha --require ts-node/register ./test/integration/**/*.ts", "test:one": "mocha --require ts-node/register", "conformance": "cucumber-js ./conformance/features/*-protocol-binding.feature -p default",