Skip to content

Commit cfe7a6d

Browse files
authored
build(release): Add the prepack script back so that yarn pack also builds the library as it used to (#3161)
1 parent 9c433b0 commit cfe7a6d

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
@@ -51,6 +51,7 @@
5151
"lint:fix": "tsc && eslint src --fix && stylelint \"src/**/*.{css,scss}\" --fix",
5252
"format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,css,scss,json,md}\"",
5353
"format:fix": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,scss,json,md}\"",
54+
"prepack": "yarn lint && yarn test && yarn build",
5455
"happo": "happo run --config ./.happo.js",
5556
"happo-ci": "HAPPO_CONFIG_FILE='./.happo.js' npx -p happo.io happo-ci-github-actions --config ./.happo.js",
5657
"contributors:add": "all-contributors add"

0 commit comments

Comments
 (0)