You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2020/11/19 04:07:46 UTC

[incubator-echarts-examples] 01/01: fix(scripts): `dev` script cannot run successfully on Windows.

This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch fix-scripts
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-examples.git

commit 0b9b49f9b2561bf113a7244a474977209522295b
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Thu Nov 19 12:07:14 2020 +0800

    fix(scripts): `dev` script cannot run successfully on Windows.
---
 package.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 506f9c7..bd67a94 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,9 @@
     "watch": "npx webpack --config build/webpack.config.js --mode development --devtool sourcemap --watch",
     "localsite": "npm run build && node build/copyResource.js --env localsite",
     "release": "npm run build && node build/copyResource.js --env asf",
-    "dev": "npx concurrently --kill-others \"npm run watch\" \"node build/server.js\"",
-    "build:example": "node tool/build-example.js"
+    "dev": "npx concurrently --kill-others \"npm:watch\" \"npm:server\"",
+    "build:example": "node tool/build-example.js",
+    "server": "node build/server.js"
   },
   "devDependencies": {
     "@babel/core": "^7.10.2",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org