Skip to content

Commit 87cb30a

Browse files
committed
add build script
1 parent e5ac8e7 commit 87cb30a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"copy-assets": "echo '\u001b[34mℹ\u001b[0m Copying assets to distributed directory' && cp -R src/assets dist/assets && echo '\u001b[32m✓\u001b[0m Finished copying assets'",
1515
"copy-styles": "echo '\u001b[34mℹ\u001b[0m Copying scss files to distributed directory' && cp -R src/styles dist/scss && echo '\u001b[32m✓\u001b[0m Finished copying styles'",
1616
"lint": "stylelint '**/*.scss' --max-warnings 0",
17-
"preversion": "yarn && yarn lint",
17+
"preversion": "yarn && yarn lint && yarn build",
1818
"postversion": "git push && git push --tags && npm publish",
1919
"start": "yarn build && sass --watch src/styles/index.scss dist/css/index.css"
2020
},

0 commit comments

Comments
 (0)