Skip to content

Commit 4daad75

Browse files
committed
chore: update dependencies and remove support for Node.js 6
BREAKING CHANGE: Node.js 6 is no longer supported.
1 parent ba5d8c0 commit 4daad75

11 files changed

Lines changed: 387 additions & 5972 deletions

File tree

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"plugins": ["transform-es2015-modules-commonjs"]
2+
"plugins": ["@babel/plugin-transform-modules-commonjs"]
33
}

.eslintrc.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
extends: 'eslint-config-cheminfo'
1+
extends: cheminfo
22
parserOptions:
33
sourceType: module
4-
env:
5-
jest: true

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: node_js
22
node_js:
3+
- 12
4+
- 10
35
- 8
4-
- 6
56
after_success:
6-
- bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION
7-
script:
8-
- npm run test-travis
7+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# sparse-matrix
22

3-
[![NPM version][npm-image]][npm-url]
4-
[![build status][travis-image]][travis-url]
5-
[![coverage status][codecov-image]][codecov-url]
6-
[![npm download][download-image]][download-url]
3+
[![NPM version][npm-image]][npm-url]
4+
[![build status][travis-image]][travis-url]
5+
[![coverage status][codecov-image]][codecov-url]
6+
[![npm download][download-image]][download-url]
77

88
Sparse matrix library.
99

1010
## Installation
1111

12-
`$ npm install --save ml-sparse-matrix`
12+
`$ npm i ml-sparse-matrix`
1313

1414
## Usage
1515

1616
```js
17-
import {SparseMatrix} from 'ml-sparse-matrix';
17+
import { SparseMatrix } from 'ml-sparse-matrix';
1818

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

2626
## License
2727

28-
[MIT](./LICENSE)
28+
[MIT](./LICENSE)
2929

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

0 commit comments

Comments
 (0)