Skip to content

Commit

Permalink
Update dist and clean cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
ndresx committed Oct 13, 2020
1 parent e44e586 commit 42d90af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"scripts": {
"build": "yarn build:clean && yarn rollup --config",
"build:clean": "rm -rf ./dist mkdir dist",
"build:clean": "rm -rf ./dist && yarn test:e2e:clean && mkdir dist",
"build:watch": "yarn build --watch",
"clean": "rm -rf ./node_modules && rm -rf ./coverage && yarn build:clean",
"lint": "yarn lint:prettier && yarn lint:tslint && yarn lint:tsc",
Expand All @@ -37,8 +37,9 @@
"prettier": "prettier --write ./src/**/*.{ts,tsx}",
"test": "jest --coverage",
"test:e2e": "yarn start-server-and-test test:e2e:server http://localhost:1234 \"cypress run\"",
"test:e2e:clean": "rm -rf ./e2e/dist",
"test:e2e:dev": "yarn start-server-and-test test:e2e:server http://localhost:1234 \"cypress open\"",
"test:e2e:server": "yarn build && parcel ./e2e/index.html",
"test:e2e:server": "yarn build && parcel ./e2e/index.html --out-dir ./e2e/dist",
"test:watch": "jest --watch"
},
"dependencies": {
Expand Down

0 comments on commit 42d90af

Please sign in to comment.