Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This configuration supplies publishing to npm along with making a release on GitHub with additional assets to be uploaded (in particular minified versions for both the module and nonmodule variants).
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
{ | ||
"git": { | ||
"commitMessage": "Craft v${version} release", | ||
"requireCleanWorkingDir": false, | ||
"tagAnnotation": "Release v${version}", | ||
"tagName": "v${version}" | ||
}, | ||
"github": { | ||
"release": true | ||
"assets": [ | ||
"dist/*.mjs", | ||
"dist/*.js" | ||
], | ||
"draft": true, | ||
"release": true, | ||
"releaseName": "v${version}" | ||
}, | ||
"hooks": { | ||
"after:bump": "npm run dist", | ||
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}.", | ||
"before:init": "npm test" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters