Skip to content

Commit c1403fc

Browse files
authored
refactor(deps): upgrade babel 7 (#17)
Upgrade to Babel 7
1 parent bd58825 commit c1403fc

File tree

4 files changed

+1654
-1461
lines changed

4 files changed

+1654
-1461
lines changed

.babelrc

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,18 @@
2222
"test": "test"
2323
},
2424
"scripts": {
25-
"test": "mocha test/",
26-
"build": "NODE_ENV=production babel src --out-dir lib --source-maps",
27-
"watch": "babel src --out-dir lib --watch --source-maps",
25+
"test": "textlint-scripts test",
26+
"build": "textlint-scripts build",
27+
"watch": "textlint-scripts build --watch",
2828
"prepublish": "npm run --if-present build"
2929
},
3030
"keywords": [
3131
"eslint",
3232
"textlint"
3333
],
3434
"devDependencies": {
35-
"babel-cli": "6.26.0",
36-
"babel-preset-es2015": "6.24.1",
37-
"babel-preset-jsdoc-to-assert": "4.0.0",
38-
"babel-preset-power-assert": "2.0.0",
39-
"babel-register": "6.26.0",
40-
"eslint": "5.0.0",
41-
"mocha": "5.2.0",
42-
"power-assert": "1.6.0",
43-
"textlint-tester": "4.1.3"
35+
"eslint": "5.6.1",
36+
"textlint-scripts": "^2.1.0"
4437
},
4538
"peerDependencies": {
4639
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0"

test/mocha.opts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)