From 039234a92964e7ab7b29c28b53383c3f0f8e8c1b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 17 Oct 2023 23:31:01 +0800 Subject: support multi together for build --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 71b62008..b422b545 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,11 @@ "description": "", "main": "index.js", "scripts": { - "build:css": "postcss dest/css/* --dir dest/css", - "watch:css": "postcss dest/css/* --dir dest/css --watch", - "build:js": "babel dest/js/* --out-dir dest/js", - "watch:js": "babel dest/js/* --out-dir dest/js --watch", - "build": "yarn build:css && yarn build:js", + "build:css": "postcss src/css/* --dir dest/css", + "watch:css": "postcss src/css/* --dir dest/css --watch", + "build:js": "babel src/js/* --out-dir dest/js", + "watch:js": "babel src/js/* --out-dir dest/js --watch", + "build": "yarn build:css & yarn build:js", "watch": "yarn watch:css & yarn watch:js", "dev": "./launch.sh", "check": "./launch.sh check" -- cgit v1.2.3