Skip to content

Commit 79f2d7a

Browse files
committed
Added prepublish scripts
1 parent fa1353a commit 79f2d7a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/container-query/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"build:cjs": "BABEL_ENV=production rollup -c rollup/rollup.cjs.js",
1717
"build:umd": "BABEL_ENV=production rollup -c rollup/rollup.umd.js",
1818
"build": "npm-run-all build:*",
19-
"size": "size-limit"
19+
"size": "size-limit",
20+
"prepublish": "yarn build"
2021
},
2122
"devDependencies": {
2223
"babel-plugin-external-helpers": "^6.22.0",

packages/postcss-container-query/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"scripts": {
1616
"test": "jest",
1717
"build": "rollup -c",
18-
"prebuild": "flow check"
18+
"prebuild": "flow check",
19+
"prepublish": "yarn build"
1920
},
2021
"devDependencies": {
2122
"babel-plugin-external-helpers": "^6.22.0",

packages/react-container-query/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build:esm": "rollup -c rollup/rollup.esm.js",
1313
"build:cjs": "rollup -c rollup/rollup.cjs.js",
1414
"build": "npm-run-all build:*",
15-
"size": "size-limit"
15+
"size": "size-limit",
16+
"prepublish": "yarn build"
1617
},
1718
"dependencies": {
1819
"@zeecoder/container-query": "^2.1.0",

0 commit comments

Comments
 (0)