From 25800888041378479e8b828ce3e7b9bdd9b2866f Mon Sep 17 00:00:00 2001 From: pengfeizhou Date: Tue, 23 Feb 2021 10:19:12 +0800 Subject: [PATCH] doric-cli:update package.json,depend doric-cli instead --- doric-cli/assets/_package.json | 7 ++++--- doric-demo/package.json | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) 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",