Bitwala babel preset.
Using npm:
npm install --save-dev --save-exact @bitwala/babel-preset
or using yarn:
yarn add --dev --exact @bitwala/babel-preset
Create a new babel.config.js
for your project and add the following configuration:
module.exports = {
presets: ["@bitwala/babel-preset"],
};
If you want to use the serverless preset, use the following configuration:
module.exports = {
presets: ["@bitwala/babel-preset/serverless"],
};
- Edit the version in the
package.json
file. git add package.json
.- Commit the changes
git commit -m vx.x.x
. - Create a new git tag
git tag -a vx.x.x -m vx.x.x
. - Run
yarn npm publish
to publish the package to the registry. - Push the changes
git push && git push --tags
.