Skip to content

Commit 4e95453

Browse files
committed
improve build
1 parent 5bfa684 commit 4e95453

File tree

5 files changed

+13
-93
lines changed

5 files changed

+13
-93
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["env"]
3+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ build/Release
2727
node_modules
2828

2929
# TestingBot specific files
30-
*.jar
30+
*.jar
31+
build/

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ test: clean lint
1212
mocha --exit --reporter spec $(MOCHAFLAGS)
1313

1414
version:
15-
node -e "console.log(require('./package.json').version)"
15+
node -e "console.log(require('./package.json').version)"
16+
17+
release:
18+
npm run build

gruntfile.js

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

package.json

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,17 @@
66
"homepage": "https://github.com/testingbot/testingbot-tunnel-launcher",
77
"scripts": {
88
"lint": "eslint .",
9-
"test": "make test"
9+
"test": "make test",
10+
"build": "babel lib -d build"
1011
},
1112
"dependencies": {
1213
"async": "^2.1.4"
1314
},
1415
"devDependencies": {
15-
"babel": "^6.23.0",
16-
"babel-core": "^6.23.1",
17-
"babel-eslint": "^4.1.1",
18-
"babel-plugin-rewire": "^1.0.0",
19-
"babel-plugin-transform-object-assign": "^6.22.0",
20-
"babel-eslint": "^8.0.2",
16+
"babel-cli": "^6.0.0",
17+
"babel-preset-env" : "^1.6.1",
2118
"eslint": "^4.1.0",
2219
"mocha": "^3.2.0",
23-
"grunt": "^1.0.1",
24-
"grunt-babel": "^7.0.0",
25-
"grunt-bump": "^0.8.0",
26-
"grunt-cli": "^1.2.0",
27-
"grunt-contrib-clean": "^1.0.0",
28-
"grunt-contrib-watch": "^1.0.0",
29-
"grunt-eslint": "^20.0.0",
30-
"grunt-mocha-istanbul": "^5.0.2",
31-
"grunt-npm": "0.0.2",
32-
"isparta": "^4.0.0",
33-
"load-grunt-tasks": "^3.2.0",
3420
"mocha": "^4.0.1",
3521
"mocha-junit-reporter": "^1.15.0"
3622
},

0 commit comments

Comments
 (0)