File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "presets" : [
3- " es2015 "
3+ " @babel/preset-env "
44 ],
55 "env" : {
66 "development" : {
99 ]
1010 }
1111 }
12- }
12+ }
Original file line number Diff line number Diff line change 1414 "build" : " gitbook build" ,
1515 "eslint" : " eslint --cache 'src/**/*.js'" ,
1616 "textlint" : " textlint --cache 'ja/**/*.md' -f pretty-error" ,
17- "test:js" : " mocha" ,
17+ "test:js" : " mocha test/ " ,
1818 "test" : " npm-run-all --parallel test:js textlint eslint build"
1919 },
2020 "keywords" : [
2121 " gitbook" ,
2222 " textlint"
2323 ],
2424 "devDependencies" : {
25- "babel-cli" : " ^6.7.7" ,
26- "babel-preset-es2015" : " ^6.6.0" ,
27- "babel-preset-power-assert" : " ^2.0.0" ,
28- "babel-register" : " ^6.7.2" ,
25+ "@babel/cli" : " ^7.0.0" ,
26+ "@babel/core" : " ^7.0.0" ,
27+ "@babel/preset-env" : " ^7.0.0" ,
28+ "@babel/register" : " ^7.0.0" ,
29+ "babel-preset-power-assert" : " ^3.0.0" ,
2930 "eslint" : " ^5.0.0" ,
3031 "gitbook-cli" : " ^2.3.2" ,
3132 "gitbook-plugin-include-codeblock" : " ^3.0.0" ,
32- "mocha" : " ^5.0.0 " ,
33+ "mocha" : " ^6.1.4 " ,
3334 "npm-run-all" : " ^4.0.0" ,
3435 "power-assert" : " ^1.3.1" ,
3536 "textlint" : " ^11.0.0" ,
Original file line number Diff line number Diff line change 1- --compilers js: babel- register
1+ --require @ babel/ register
You can’t perform that action at this time.
0 commit comments