diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-17 23:31:01 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-17 23:31:01 +0800 |
| commit | 039234a92964e7ab7b29c28b53383c3f0f8e8c1b (patch) | |
| tree | ab1158b89852afdcb711461f8886caf52af7d37a /package.json | |
| parent | 297cf413c656a16c8fcb8eaa50769e7eb395d01c (diff) | |
support multi together for build
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 10 |
1 files changed, 5 insertions, 5 deletions
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" |
