Skip to content

Commit

Permalink
Remove component and browser publishing support
Browse files Browse the repository at this point in the history
  • Loading branch information
janogonzalez committed May 8, 2020
1 parent 9381811 commit ca1b86f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 81 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Component
components
build
# NPM
# NPM
node_modules
package-lock.json
5 changes: 5 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.0.0 / TBD
==================

* Stop supporting component and browser builds.

1.0.0 / 2015-02-23
==================

Expand Down
11 changes: 0 additions & 11 deletions Makefile

This file was deleted.

23 changes: 2 additions & 21 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
# priorityqueue.js

A simple priority queue data structure for Node.js and the browser.
A simple priority queue data structure for Node.js.

## Installation

As component for the browser:

```
$ component install janogonzalez/priorityqueuejs
```

As npm for Node.js:

```
$ npm install priorityqueuejs
```

If you just want a pre-built file for using in the web, check the [releases](
https://github.com/janogonzalez/priorityqueuejs/releases) section.

## Example

```js
Expand Down Expand Up @@ -85,16 +74,8 @@ Returns the size of the priority queue.

## Testing

As component in the browser, open test/test.html in your browser:

```
$ make
$ open test/test.html
```

As npm package:

```
$ npm install
$ npm test
```

Expand Down
19 changes: 0 additions & 19 deletions component.json

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
},
"readmeFilename": "README.md",
"main": "index.js",
"dependencies": {
},
"dependencies": {},
"scripts": {
"test": "mocha"
},
Expand Down
2 changes: 0 additions & 2 deletions test/bootstrap.js

This file was deleted.

3 changes: 3 additions & 0 deletions test/priorityqueue.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
var expect = require('expect.js');
var PriorityQueue = require('..')

describe('PriorityQueue()', function() {
it('returns an new PriorityQueue', function() {
expect(new PriorityQueue()).to.be.a(PriorityQueue);
Expand Down
22 changes: 0 additions & 22 deletions test/test.html

This file was deleted.

0 comments on commit ca1b86f

Please sign in to comment.