Skip to content

Commit

Permalink
chore: update dependencies and remove support for Node.js 6
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

Node.js 6 is no longer supported.
  • Loading branch information
targos committed Jun 29, 2019
1 parent ba5d8c0 commit 4daad75
Show file tree
Hide file tree
Showing 11 changed files with 387 additions and 5,972 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"plugins": ["transform-es2015-modules-commonjs"]
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
4 changes: 1 addition & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
extends: 'eslint-config-cheminfo'
extends: cheminfo
parserOptions:
sourceType: module
env:
jest: true
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: node_js
node_js:
- 12
- 10
- 8
- 6
after_success:
- bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION
script:
- npm run test-travis
- bash <(curl -s https://codecov.io/bash)
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# sparse-matrix

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![coverage status][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![coverage status][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]

Sparse matrix library.

## Installation

`$ npm install --save ml-sparse-matrix`
`$ npm i ml-sparse-matrix`

## Usage

```js
import {SparseMatrix} from 'ml-sparse-matrix';
import { SparseMatrix } from 'ml-sparse-matrix';

const matrix1 = new SparseMatrix([[1, 2], [3, 4]]);
const matrix2 = new SparseMatrix([[0, 5], [6, 7]]);
Expand All @@ -25,7 +25,7 @@ const product = matrix1.kroneckerProduct(matrix2);

## License

[MIT](./LICENSE)
[MIT](./LICENSE)

[npm-image]: https://img.shields.io/npm/v/ml-sparse-matrix.svg?style=flat-square
[npm-url]: https://npmjs.org/package/ml-sparse-matrix
Expand Down
Loading

0 comments on commit 4daad75

Please sign in to comment.