Skip to content

Commit ef19403

Browse files
committed
fix(publish): Do not publish tests
1 parent 8334eeb commit ef19403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
},
7777
"scripts": {
7878
"build": "yarn build:js && yarn build:es",
79-
"build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore __tests__ --copy-files",
80-
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files",
79+
"build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore **/__tests__,**/__mocks__",
80+
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore **/__tests__,**/__mocks__",
8181
"build:storybook": "build-storybook -o .docs",
8282
"lint": "spire lint",
8383
"prepublishOnly": "yarn build",

0 commit comments

Comments
 (0)