Skip to content

Commit

Permalink
Merge 309de2b into 7ad6110
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Oct 4, 2020
2 parents 7ad6110 + 309de2b commit 3a35562
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
@@ -1,13 +1,14 @@
sudo: false
os: linux
dist: bionic

language: node_js

matrix:
jobs:
include:
- node_js: "node"
env: NPM_AUDIT=yes NPM_PACK=yes NPM_RUN_LINT=yes NYC="nyc --no-clean --reporter=lcov"
- node_js: "12"
- node_js: "10"
- node_js: "8"

install:
- set -e
Expand All @@ -16,9 +17,8 @@ install:

script:
- if [ -n "$NPM_RUN_LINT" ]; then npm run lint; fi
- echo "--reporter dot --color" > test/mocha.opts
- if [ -n "$NPM_PACK" ]; then npm pack; fi
- npm run test:spec
- npm run test:spec -- --reporter dot --color
- if [ -n "$NYC" ]; then npx nyc report --color && npx nyc report --reporter=text-lcov | npx coveralls; fi
- git diff --stat --exit-code
- for f in $(git ls-files --others --exclude-standard); do git diff --no-index --stat --exit-code /dev/null $next; done
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
## v3.0.0 YYYY-mm-dd

- `DEFAULT_EXT` and `DEFAULT_PART` are constant strings.
- Requires Node >= 10.
- Correct typings for updates @types/node.
- Converted from tslint to eslint.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -19,7 +19,7 @@ Features:

## Requirements

This module requires Node >= 8.
This module requires Node >= 10.

## Installation

Expand All @@ -36,7 +36,7 @@ npm install -D @types/node
## Usage

```js
const {FsBlobStorage} = require("fs-blob-storage")
const {FsBlobStorage, DEFAULT_EXT, DEFAULT_PART} = require("fs-blob-storage")
```

_Typescript:_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "http://github.com/dex4er/js-fs-blob-storage",
"engines": {
"node": ">=8.0.0"
"node": ">=10.0.0"
},
"dependencies": {
"fs.mkdir-shim": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Expand Up @@ -3,7 +3,7 @@
"declaration": true,
"esModuleInterop": true,
"importHelpers": true,
"lib": ["es2017"],
"lib": ["es2018"],
"module": "commonjs",
"noImplicitAny": true,
"noImplicitReturns": true,
Expand All @@ -12,7 +12,7 @@
"outDir": "./lib",
"sourceMap": true,
"strict": true,
"target": "es2017",
"target": "es2018",
"typeRoots": ["node_modules/@types"]
},
"exclude": ["./examples/**/*", "./lib/**/*", "./test/**/*"]
Expand Down

0 comments on commit 3a35562

Please sign in to comment.