This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
Change build-dist output and support S3 and Github Release deploys #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed the output of the
dist
folder so all output files are in thesame folder, and now have the type (umd, amd, commonjs, system) in
their filename. The es6 target still has its own folder.
Updated the webpack output to only create a minified version of files
that are used in the browser (normal and umd), because other files will
only be used in a build system that can do the minification.
Added a
package-dist.js
script that prepares the dist for deploys tos3 and GitHub release. It moves the files in the dist folder to a name +
version folder to mimic the s3 folder structure. It also packages the
es6 folder into a zip file so it can be linked.
For the GitHub release it creates a .zip and .tar.gz file with the
contents of the original dist folder.
Updated the
.travis.yml
to run thebuild-dist
andpackage-dist
scripts before the deploy, and added configurations and tokens for the
s3 and Github Release deploys.
Updated the
npm run clean
,.gitignore
and.npmignore
to alsoclean/ignore the two dist archives in the root.
re #11