File tree Expand file tree Collapse file tree 3 files changed +22
-10
lines changed Expand file tree Collapse file tree 3 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "presets" : [" es2015" ],
3
- "plugins" : [" add-module-exports" ]
2
+ "presets" : [
3
+ " es2015"
4
+ ],
5
+ "plugins" : [
6
+ " add-module-exports"
7
+ ],
8
+ "env" : {
9
+ "development" : {
10
+ "presets" : [
11
+ " power-assert"
12
+ ]
13
+ }
14
+ }
4
15
}
Original file line number Diff line number Diff line change 9
9
},
10
10
"dependencies" : {
11
11
"kuromojin" : " ^1.1.0" ,
12
- "sentence-splitter" : " ^1.2 .0" ,
12
+ "sentence-splitter" : " ^2.0 .0" ,
13
13
"textlint-rule-helper" : " ^1.1.5" ,
14
14
"textlint-util-to-string" : " ^1.2.0"
15
15
},
16
16
"devDependencies" : {
17
17
"babel-cli" : " ^6.5.1" ,
18
- "babel-plugin-add-module-exports" : " ^0.1.2 " ,
18
+ "babel-plugin-add-module-exports" : " ^0.2.0 " ,
19
19
"babel-preset-es2015" : " ^6.5.0" ,
20
- "espower-babel" : " ^4.0.1" ,
20
+ "babel-preset-power-assert" : " ^1.0.0" ,
21
+ "babel-register" : " ^6.8.0" ,
21
22
"mocha" : " ^2.4.5" ,
22
- "power-assert" : " ^1.2 .0" ,
23
- "textlint" : " ^5.2.1 " ,
24
- "textlint-tester" : " ^0.4.1 "
23
+ "power-assert" : " ^1.4 .0" ,
24
+ "textlint" : " ^6.6.0 " ,
25
+ "textlint-tester" : " ^1.2.0 "
25
26
},
26
27
"scripts" : {
27
- "build" : " babel src --out-dir lib --source-maps" ,
28
+ "build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
28
29
"watch" : " babel src --out-dir lib --watch --source-maps" ,
29
30
"prepublish" : " npm run --if-present build" ,
30
31
"test" : " mocha" ,
Original file line number Diff line number Diff line change 1
- --compilers js:espower- babel/guess
1
+ --compilers js:babel-register
You can’t perform that action at this time.
0 commit comments