Skip to content

Commit c043fc8

Browse files
author
progdesigner
committed
- apply babel-preset-env
1 parent 8cb3416 commit c043fc8

File tree

7 files changed

+6
-13
lines changed

7 files changed

+6
-13
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["es2015"]
2+
"presets": ["env"]
33
}

lib/Command.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
'use strict';
3-
42
class Command {
53
get name() {
64
return this._name;

lib/CommandManager.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
'use strict';
3-
42
const Command = require('./Command.js');
53

64
class CommandManager {

lib/Macro.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
'use strict';
3-
42
const Debug = require('debug');
53
const MacroManager = require('./MacroManager.js');
64

lib/MacroManager.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
'use strict';
3-
42
const CommandManager = require('./CommandManager.js');
53
const MacroSequence = require('./MacroSequence.js');
64
const Debug = require('debug');

lib/MacroSequence.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
'use strict';
3-
42
const Debug = require('debug');
53
const UUID = require('uuid/v1');
64

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "node-macro",
33
"description": "Macros for nodejs",
4-
"version": "0.9.3",
4+
"version": "0.9.4",
55
"homepage": "https://github.com/progdesigner/macro-js",
66
"repository": {
77
"type": "git",
@@ -17,5 +17,8 @@
1717
"debug": ">= 2.6.9",
1818
"uuid": ">= 3.2.1"
1919
},
20-
"devDependencies": {}
20+
"devDependencies": {
21+
"babel-cli": "^6.26.0",
22+
"babel-preset-env": "^1.6.1"
23+
}
2124
}

0 commit comments

Comments
 (0)