Skip to content

Commit 6d9d52e

Browse files
author
Matt Karl
committed
Cleans up build process
1 parent df8d749 commit 6d9d52e

File tree

3 files changed

+8
-24
lines changed

3 files changed

+8
-24
lines changed

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
presets: ["es2015"],
3+
plugins: ["transform-async-to-generator"]
4+
}

lib/build.js

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"bin"
2323
],
2424
"scripts": {
25-
"build": "./lib/build.js"
25+
"build": "babel lib --out-dir bin -s",
26+
"clean": "rimraf bin"
2627
},
2728
"bin": "./bin/checkpack.js",
2829
"dependencies": {
@@ -40,10 +41,9 @@
4041
"yargs": "~8.0.2"
4142
},
4243
"devDependencies": {
43-
"babel-core": "^6.26.0",
44+
"babel-cli": "^6.26.0",
4445
"babel-plugin-transform-async-to-generator": "^6.24.1",
4546
"babel-preset-es2015": "~6.24.1",
46-
"glob": "~7.1.2",
47-
"mkdirp": "~0.5.1"
47+
"rimraf": "^2.6.1"
4848
}
4949
}

0 commit comments

Comments
 (0)