Skip to content

Commit

Permalink
Repackage with flat structure (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanve authored Jan 1, 2018
1 parent 8fd1013 commit d481280
Show file tree
Hide file tree
Showing 12 changed files with 305 additions and 255 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

2 changes: 0 additions & 2 deletions GruntFile.js

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![CC0 1.0](http://i.creativecommons.org/p/zero/1.0/88x31.png)](http://creativecommons.org/publicdomain/zero/1.0/)
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,3 @@ var emitter = new energy()
## Compatibility

Works in [node](http://nodejs.org) **and** in any browser. Tested in node, Chrome, FF, Opera, IE8

## Contribute
To make edits, first [fork the repo](https://help.github.com/articles/fork-a-repo), clone your fork, and `cd` into it. Run [tests](test) via the commands below and/or in a [browser](test/index.html). Make edits in [src](src) and [test](test) as needed. Push your changes and then submit a [pull request](https://help.github.com/articles/using-pull-requests). Builds (in the [project root](../../)) are created later via `grunt` and should not be changed in pull requests. CLI commands require [node](http://nodejs.org) and the [grunt-cli](http://gruntjs.com/getting-started) on your system.

<a name="cli"></a>
```sh
$ npm install -g grunt-cli # install grunt-cli if you haven't already
$ npm install # install devDependencies from package.json
$ grunt jshint:sub # lint sub dirs
$ grunt test # run tests
```

## Fund
Support this project by [tipping the developer](https://www.gittip.com/ryanve/) <samp><b>=)</b></samp>

## License
MIT
6 changes: 1 addition & 5 deletions energy.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
/*!
* energy 0.7.1+201509080043
* https://github.com/ryanve/energy
* @license MIT
*/
/** @preserve npm.im/energy */
!function(root, name, make) {
if (typeof module != 'undefined' && module.exports) module.exports = make()
else root[name] = make()
Expand Down
6 changes: 0 additions & 6 deletions energy.min.js

This file was deleted.

271 changes: 271 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 24 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,39 @@
"description": "Simple cross-platform event emitter",
"version": "0.7.1",
"homepage": "https://github.com/ryanve/energy",
"license": "MIT",
"license": "CC0-1.0",
"author": "Ryan Van Etten",
"keywords": [
"eventemitter",
"events",
"event",
"listener",
"emitter",
"emit",
"ender",
"server",
"browser",
"simple"
],
"main": "./energy.js",
"main": "energy.js",
"ender": "noop",
"repository": {
"type": "git",
"url": "https://github.com/ryanve/energy.git"
},
"scripts": {
"pretest": "jshint energy.js && jshint test.js",
"test": "node test"
},
"devDependencies": {
"aok": "^1.9.0",
"universal": "^0.1.1",
"grunt-contrib-uglify": "^0.9.2",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-jshint": "^0.11.0",
"deep-equal": "^1.0.1"
"deep-equal": "^1.0.1",
"jshint": "^2.9.5"
},
"keywords": [
"event-emitter",
"eventemitter",
"events",
"event",
"emitter",
"emit",
"ender",
"listener",
"listeners",
"on",
"pubsub",
"javascript",
"observer",
"trigger"
],
"jshintConfig": {
"asi": true,
"boss": true,
Expand Down
Loading

0 comments on commit d481280

Please sign in to comment.