Skip to content

Commit

Permalink
copy files after standard version
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Oct 25, 2019
1 parent e977ae9 commit 3a5500c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci-scripts/publish-rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ npm run std-version -- --prerelease rc --no-verify

git push --follow-tags "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG" "$TRAVIS_BRANCH" > /dev/null 2>&1;

npm run build
npm run build:copy-files

npm publish lib --tag prerelease
2 changes: 1 addition & 1 deletion ci-scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "$std_ver"

git push --follow-tags "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG" master > /dev/null 2>&1;

npm run build
npm run build:copy-files

npm publish lib

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build:lint:fix": "npm run build:lint -- --fix",
"build:lint": "eslint 'src/**' --ext .js,.jsx --env browser,node",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel src --out-dir lib --ignore \"src/**/*.spec.js\",\"src/**/*.test.js\",\"src/**/*.Component.js\",\"src/_playground/*\",\"src/**/*.stories.js\"",
"build": "npm run build:index && rm -rf lib && npm run build:cjs && npm run build:copy-files",
"build": "npm run build:index && rm -rf lib && npm run build:cjs",
"config:lint": "eslint 'config/**' --ext .js,.jsx --env browser,node",
"deploy": "gh-pages -d build",
"devtools:lint": "eslint 'devtools/**' --ext .js,.jsx --env browser,node",
Expand Down

0 comments on commit 3a5500c

Please sign in to comment.