Skip to content

Commit

Permalink
Repo cleanup
Browse files Browse the repository at this point in the history
* tweaks to fixup repo

* simplified build process

* flipped comment

* added travis file

* moved defaults

* fixed demo link

* possibly fix travis?

* removed some travis npm rules

* made babelrc follow json better

* specify node version to be the latest
  • Loading branch information
azinasili authored Apr 4, 2018
1 parent 68ae461 commit beda368
Show file tree
Hide file tree
Showing 20 changed files with 342 additions and 238 deletions.
13 changes: 3 additions & 10 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
{
"presets": [
[
"env",
{
"modules": false
}
]
["env", { "modules": false }]
],
"env": {
"test": {
"presets": [
[
"env"
]
["env"]
]
}
},
}
}
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ charset = utf-8
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
insert_final_newline
7 changes: 2 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
.DS_Store
.editorconfig
node_modules/
coverage/

.editorconfig
.vscode

.DS_Store
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: node_js
node_js:
- "node"
cache:
directories:
- node_modules
script:
- npm run build
deploy:
provider: npm
email: [email protected]
api_key: $NPM_TOKEN
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# A11yTrap
Trap keyboard navigation within a component. A11yTrap makes it easy to add accessibility support for modals, dropdowns and other web components.

[DEMO](https://codepen.io/azinasili/pen/MKGwgX?editors=0100)
[DEMO](https://codepen.io/azinasili/pen/MVBPxL?editors=1010)

## Installation
With [NPM](https://www.npmjs.com/package/a11ytrap):
Expand Down
8 changes: 0 additions & 8 deletions build/banner.js

This file was deleted.

23 changes: 0 additions & 23 deletions build/build.js

This file was deleted.

16 changes: 0 additions & 16 deletions build/build.min.js

This file was deleted.

9 changes: 0 additions & 9 deletions build/esm.js

This file was deleted.

9 changes: 0 additions & 9 deletions build/umd.js

This file was deleted.

9 changes: 0 additions & 9 deletions build/umd.min.js

This file was deleted.

Loading

0 comments on commit beda368

Please sign in to comment.