Skip to content

Commit

Permalink
feat(tooling): add clean command, run prior to build (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman authored Jan 24, 2020
1 parent be47ac4 commit 6feeddd
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 4 deletions.
99 changes: 96 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"build:assets": "npm run assets:production",
"build:modules": "rollup -c",
"build:components": "fractal build",
"build": "run-s build:*",
"build": "run-s clean:* build:*",
"clean:assets": "rimraf public",
"clean:modules": "rimraf dist",
"clean:components": "rimraf build",
"clean": "npm-run-all clean:*",
"lint:js": "eslint *.js src/assets/scripts",
"lint:styles": "stylelint src/assets/styles",
"lint": "npm-run-all lint:*",
Expand Down Expand Up @@ -85,6 +89,7 @@
"lint-staged": "^10.0.2",
"npm-run-all": "^4.1.5",
"resolve-url-loader": "^3.1.1",
"rimraf": "^3.0.0",
"rollup": "^1.29.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
Expand Down

0 comments on commit 6feeddd

Please sign in to comment.