diff --git a/doric-cli/assets/_package.json b/doric-cli/assets/_package.json index 2addb107..ad628c1d 100644 --- a/doric-cli/assets/_package.json +++ b/doric-cli/assets/_package.json @@ -4,13 +4,14 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc -p .&& rollup -c", - "dev": "tsc -w -p . & rollup -c -w", - "clean": "rm -rf build && rm -rf bundle" + "build": "doric build", + "dev": "doric dev", + "clean": "doric clean" }, "license": "Apache-2.0", "dependencies": { "doric": "__$Version__", + "doric-cli": "__$Version__", "reflect-metadata": "^0.1.13", "rollup": "^1.27.14", "tslib": "^1.10.0", diff --git a/doric-demo/package.json b/doric-demo/package.json index d50960fb..f85e1d61 100644 --- a/doric-demo/package.json +++ b/doric-demo/package.json @@ -4,13 +4,14 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc -p .&& rollup -c", - "dev": "tsc -w -p . & rollup -c -w", - "clean": "rm -rf build && rm -rf bundle" + "build": "doric build", + "dev": "doric dev", + "clean": "doric clean" }, "license": "Apache-2.0", "dependencies": { "doric": "file:../doric-js", + "doric-cli": "file:../doric-cli", "reflect-metadata": "^0.1.13", "rollup": "^2.23.0", "tslib": "^2.0.0",