Skip to content

Commit

Permalink
use babel-runtime and transform-runtime instead of babel polyfill, Close
Browse files Browse the repository at this point in the history
  • Loading branch information
soda-x committed Jul 18, 2016
1 parent d1ba79d commit 67f9097
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
.DS_Store
tmp
node_modules/*
src/__tests__/fixtures/**/dist
coverage
lib
1 change: 0 additions & 1 deletion bin/dora
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ if (!process.send) {

// Child Process
else {
require('babel-polyfill');
var program = require('commander');

program
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "dora",
"version": "0.3.3",
"description": "A fully pluggable server for development.",
"repository": {
"type": "git",
"url": "https://github.com/dora-js/dora"
Expand All @@ -13,9 +14,9 @@
"dora": "./bin/dora"
},
"scripts": {
"build": "rm -rf lib && babel src --out-dir lib --ignore __tests__",
"test": "babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha --no-timeouts",
"debug": "./node_modules/.bin/mocha --require babel-core/register --require babel-polyfill --no-timeouts",
"build": "rm -rf lib && babel src --out-dir lib",
"test": "babel-node $(npm bin)/babel-istanbul cover $(npm bin)/_mocha -- --no-timeouts",
"debug": "$(npm bin)/mocha --require babel-core/register --no-timeouts",
"lint": "eslint --ext .js src",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
Expand All @@ -25,7 +26,6 @@
"dependencies": {
"async": "^1.5.0",
"atool-monitor": "0.x",
"babel-polyfill": "^6.8.0",
"co": "^4.6.0",
"commander": "~2.9.0",
"is-generator-fn": "^1.0.0",
Expand All @@ -43,8 +43,10 @@
"babel-eslint": "^6.0.4",
"babel-istanbul": "^0.7.0",
"babel-plugin-add-module-exports": "~0.1.2",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-es2015": "~6.6.0",
"babel-preset-stage-0": "~6.5.0",
"babel-runtime": "^6.9.2",
"coveralls": "~2.11.4",
"eslint": "^2.7.0",
"eslint-config-airbnb": "^6.2.0",
Expand All @@ -59,7 +61,8 @@
"stage-0"
],
"plugins": [
"add-module-exports"
"add-module-exports",
"transform-runtime"
]
},
"files": [
Expand Down

0 comments on commit 67f9097

Please sign in to comment.