From a8076e3803e39631d58f52181f5c77e0a693178c Mon Sep 17 00:00:00 2001 From: Tom Brunet Date: Fri, 6 Oct 2023 15:43:48 -0500 Subject: [PATCH] Copy the type definitions for the various engine imports --- accessibility-checker-engine/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/accessibility-checker-engine/package.json b/accessibility-checker-engine/package.json index aa2cabef8..4682c5d4a 100644 --- a/accessibility-checker-engine/package.json +++ b/accessibility-checker-engine/package.json @@ -4,10 +4,10 @@ "description": "IBM Equal Access Accessibility Checker Engine", "private": false, "scripts": { - "build-node": "npm run prebuild && npx webpack --config webpack-node.config.js", - "build-node-debug": "npm run prebuild && npx webpack --config webpack-node-debug.config.js", - "build": "npm run prebuild && npx webpack --config webpack.config.js", - "build-debug": "npm run prebuild && npx webpack --config webpack-debug.config.js", + "build-node": "npm run prebuild && npx webpack --config webpack-node.config.js && shx cp dist/index.d.ts dist/ace-node.d.ts", + "build-node-debug": "npm run prebuild && npx webpack --config webpack-node-debug.config.js && shx cp dist/index.d.ts dist/ace-node-debug.d.ts", + "build": "npm run prebuild && npx webpack --config webpack.config.js && shx cp dist/index.d.ts dist/ace.d.ts", + "build-debug": "npm run prebuild && npx webpack --config webpack-debug.config.js && shx cp dist/index.d.ts dist/ace-debug.d.ts", "prebuild": "ts-node src/genRuleIndex.ts", "test": "npm run prebuild && karma start", "serve": "serve .",