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 .",