Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 3df6aba

Browse files
committed
build: remove old files before building
1 parent c18fb13 commit 3df6aba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Offical blog plugin for VuePress",
55
"scripts": {
66
"lint": "xo",
7-
"dev": "concurrently \"npm:dev:client\" \"npm:dev:node\" \"npm:build:components\"",
8-
"build": "concurrently \"npm:build:client\" \"npm:build:node\" \"npm:build:components\"",
7+
"dev": "concurrently \"rimraf lib\" \"npm:dev:client\" \"npm:dev:node\" \"npm:build:components\"",
8+
"build": "concurrently \"rimraf lib\" \"npm:build:client\" \"npm:build:node\" \"npm:build:components\"",
99
"dev:client": "tsc -p tsconfig.client.json --watch",
1010
"dev:node": "tsc -p tsconfig.node.json --watch",
1111
"build:client": "tsc -p tsconfig.client.json",
@@ -40,6 +40,7 @@
4040
"conventional-changelog-cli": "^2.0.1",
4141
"inquirer": "^6.3.1",
4242
"nodemon": "^1.18.7",
43+
"rimraf": "^3.0.0",
4344
"ts-node": "^7.0.1",
4445
"typescript": "3.1.4",
4546
"vuepress": "^1.0.0"

0 commit comments

Comments
 (0)