chore(pkg): add clean command (#4176)

This commit is contained in:
Pim 2018-10-23 20:07:23 +02:00 committed by Pooya Parsa
parent fd77b7e6d6
commit 3db27fe472

View File

@ -6,6 +6,10 @@
], ],
"scripts": { "scripts": {
"build": "node -r esm ./scripts/package", "build": "node -r esm ./scripts/package",
"clean": "yarn clean:build && yarn clean:examples && yarn clean:test",
"clean:build": "rimraf distributions/*/dist packages/*/dist",
"clean:examples": "rimraf examples/*/dist examples/*/.nuxt",
"clean:test": "rimraf test/fixtures/*/dist test/fixtures/*/.nuxt*",
"dev": "yarn build --watch", "dev": "yarn build --watch",
"coverage": "codecov", "coverage": "codecov",
"lint": "eslint --ext .js,.mjs,.vue .", "lint": "eslint --ext .js,.mjs,.vue .",