Skip to content

Commit

Permalink
Merge pull request #7 from azinasili/iife-fix
Browse files Browse the repository at this point in the history
iife fix
  • Loading branch information
azinasili committed Oct 12, 2018
2 parents 6e0807c + 0bdda8f commit 98eac7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cache:
directories:
- node_modules
script:
- npm run publish
- npm build
deploy:
provider: npm
email: hello@azinasili.com
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "a11ytab",
"version": "2.0.2",
"realname": "A11yTab",
"version": "2.0.3",
"description": "A fully accessible and customizable tabs front-end component.",
"homepage": "https://github.com/azinasili/a11ytab",
"author": "Azin Asili <hello@azinasili.com>",
Expand Down
6 changes: 2 additions & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import { eslint } from 'rollup-plugin-eslint';
import babel from 'rollup-plugin-babel';
import pkg from './package.json';

const capitalizeFirstLetter = string => string.charAt(0).toUpperCase() + string.slice(1);

const banner = `/*!
* ${capitalizeFirstLetter(pkg.name)} v${pkg.version}
* ${pkg.realname} v${pkg.version}
* (c) 2017-${new Date().getFullYear()} ${pkg.author}
* MIT License.
*/
Expand All @@ -18,7 +16,7 @@ export default {
banner,
file: pkg.main,
format: 'iife',
name: `${capitalizeFirstLetter(pkg.name)}`,
name: pkg.realname,
},
{
banner,
Expand Down

0 comments on commit 98eac7c

Please sign in to comment.