Skip to content

Commit 1cb0889

Browse files
committed
(chore) add reset script
1 parent 0ad9384 commit 1cb0889

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

demo/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"s": "npm run serve",
1010
"build": "vue-cli-service build",
1111
"lint": "vue-cli-service lint",
12+
"reset": "rm -rf node_modules && rm -rf package-lock.json && npm i --force",
1213
"gpages": "sh deploy.sh",
1314
"latest": "npm i https://github.com/antoine92190/vue-advanced-chat/tarball/master"
1415
},

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"prepublish": "npm run lint && npm run build",
3838
"publish-beta": "npm publish --tag beta",
3939
"lint": "vue-cli-service lint",
40-
"test": "jest"
40+
"test": "jest",
41+
"reset": "rm -rf node_modules && rm -rf package-lock.json && npm i --force"
4142
},
4243
"typings": "types/index.d.ts",
4344
"files": [

0 commit comments

Comments
 (0)