Skip to content

Commit

Permalink
Require Node.js >= 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Hattori committed Feb 26, 2019
1 parent 647c5fd commit 2183e6d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jsx-slack would allow building message blocks with predictable HTML-like markup.

## Install

Require Node.js >= 8.

```bash
# npm
npm install --save @speee/jsx-slack
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
],
coveragePathIgnorePatterns: ['/node_modules/', '.*\\.d\\.ts'],
coverageThreshold: { global: { lines: 95 } },
testEnvironment: 'node',
testRegex: '(/(test|__tests__)/(?![_.]).*|(\\.|/)(test|spec))\\.[jt]sx?$',
transform: { ...tsjPreset.transform },
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"bugs": {
"url": "https://github.com/speee/jsx-slack/issues"
},
"engines": {
"node": ">=8"
},
"main": "lib/index.js",
"types": "types/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"esModuleInterop": true,
"jsx": "react",
"lib": ["es2016", "dom"],
"lib": ["es2016", "es2017", "dom"],
"module": "commonjs",
"noImplicitAny": false,
"outDir": "lib",
Expand Down

0 comments on commit 2183e6d

Please sign in to comment.