Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit 1de4ae3

Browse files
committed
fix(package.json): copying too many files to lib
[skip ci]
1 parent 980f515 commit 1de4ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"node": ">=5.0.0"
6767
},
6868
"scripts": {
69-
"build": "rm -rf lib && mkdir -p lib && cp -pR src/ lib && babel lib --out-dir lib && find lib -type f -name '*.jsx' -delete",
69+
"build": "rm -rf lib && mkdir -p lib && rsync -av --exclude='test' src/ lib && babel lib --out-dir lib && find lib -type f -name '*.jsx' -delete",
7070
"lint": "eslint src/. --ext .js,.jsx --cache",
7171
"manual-test": "webpack --config config/webpack.manual-test.config.js --watch --display-error-details",
7272
"push-to-npm": "cp package.json README.md LICENSE lib && (cd lib ; npm publish)",

0 commit comments

Comments
 (0)