Skip to content

Commit 0030cf0

Browse files
committed
fix(publish): Do not publish tests
1 parent 2805ecd commit 0030cf0

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
@@ -75,8 +75,8 @@
7575
},
7676
"scripts": {
7777
"build": "yarn build:js && yarn build:es",
78-
"build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore __tests__ --copy-files",
79-
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files",
78+
"build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore **/__tests__",
79+
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore **/__tests__",
8080
"build:storybook": "build-storybook -o .docs",
8181
"lint": "spire lint",
8282
"prepublishOnly": "yarn build",

0 commit comments

Comments
 (0)