Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

Commit 584832f

Browse files
committed
Changed node base to 8.9
1 parent d4f7040 commit 584832f

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

bin/build

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
#!/usr/bin/env bash
22

3-
rm -fr lib && mkdir -p lib/lts lib/node7
3+
rm -fr lib && mkdir -p lib
44

5-
echo "Building for Node 6"
6-
BABEL_TARGET_VERSION=6.9 babel -s inline -d lib/lts/ src/ --copy-files
7-
8-
echo "Building for Node 7+"
9-
BABEL_TARGET_VERSION=7.0 babel -s inline -d lib/node7/ src/ --copy-files
10-
11-
echo "if(Number.parseFloat(process.version.substring(1)) >= 7) {" > lib/index.js
12-
echo " module.exports = require('./node7/index.js')" >> lib/index.js
13-
echo "} else {" >> lib/index.js
14-
echo " module.exports = require('./lts/index.js')" >> lib/index.js
15-
echo "}" >> lib/index.js
5+
echo "Building"
6+
BABEL_TARGET_VERSION=8.9 babel -s inline -d lib/ src/ --copy-files

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"grind-framework": "^0.7.1"
3434
},
3535
"engines": {
36-
"node": ">=6.9"
36+
"node": ">=8.9"
3737
},
3838
"scripts": {
3939
"prepublish": "bin/build",

0 commit comments

Comments
 (0)