test: 💍 add some tests

This commit is contained in:
youxingzhi
2019-12-30 12:17:51 +08:00
parent 57be520b99
commit d4f911b7b5
11 changed files with 359 additions and 102 deletions

View File

@@ -6,7 +6,8 @@
"scripts": {
"serve": "vue-cli-service serve dev",
"build": "vue-cli-service build --target lib src/index.js",
"test:unit": "vue-cli-service test:unit",
"test:unit": "vue-cli-service test:unit --watch",
"test:coverage": "vue-cli-service test:unit --coverage",
"lint": "vue-cli-service lint",
"commit": "npx git-cz",
"prepublish": "npm run build"