Skip to content

Commit

Permalink
test: Run sass-lint before css:build instead of build script
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Dec 2, 2018
1 parent 4efa811 commit 599ce44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"test": "sass-lint",
"version": "wp-update-project-version -p scss/style.scss && git add scss/style.scss",
"start": "npm run css:watch",
"build": "npm run test && npm run css:build && npm run copy && npm run zip && npm run clean",
"build": "npm run css:build && npm run copy && npm run zip && npm run clean",
"precss:build": "npm test",
"css:build": "node-sass --include-path scss --output-style compressed scss/style.scss style.css",
"css:watch": "watch 'npm run css:build' scss",
"postcss:build": "postcss style.css -o style.css",
Expand Down

0 comments on commit 599ce44

Please sign in to comment.