-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from davewasmer/feature-refactor-plugin
Refactor plugin
- Loading branch information
Showing
17 changed files
with
7,440 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"root": true, | ||
"parserOptions": { | ||
"ecmaVersion": 8, | ||
"sourceType": "module" | ||
}, | ||
"extends": "eslint:recommended", | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
tmp | ||
dist/ | ||
node_modules/ | ||
tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
--- | ||
language: node_js | ||
node_js: | ||
- "0.12" | ||
- "10" | ||
|
||
sudo: false | ||
dist: trusty | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- $HOME/.npm | ||
|
||
before_install: | ||
- "npm config set spin false" | ||
- "npm install multidep -g" | ||
|
||
install: | ||
- npm install | ||
env: | ||
global: | ||
# See https://git.io/vdao3 for details. | ||
- JOBS=1 | ||
|
||
before_install: | ||
- npm config set spin false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const babel = require('broccoli-babel-transpiler'); | ||
const merge = require('broccoli-merge-trees'); | ||
const lint = require('broccoli-lint-eslint'); | ||
const mv = require('broccoli-stew').mv; | ||
|
||
const babelOptions = { | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"node": 4 | ||
} | ||
}] | ||
] | ||
} | ||
|
||
module.exports = merge([ | ||
mv(babel(lint('tests'), babelOptions), 'tests'), | ||
babel(lint('src'), babelOptions), | ||
]); |
Oops, something went wrong.