Skip to content

Commit 756d292

Browse files
committed
make sure dist/primer.css exists before linting
1 parent ba9c393 commit 756d292

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"fresh": "rm -rf node_modules; npm install",
2626
"dist": "script/dist.js",
2727
"lint": "npm-run-all -s lint-css lint-js",
28+
"prelint-css": "npm run dist",
2829
"lint-css": "stylelint --quiet --syntax scss src/**/*.scss && constyble dist/primer.css --config=.constyblerc.json",
2930
"lint-js": "eslint script docs deprecations.js lib .storybook",
3031
"postpublish": "script/postpublish",

0 commit comments

Comments
 (0)