Skip to content

Commit

Permalink
Merge pull request #39 from davewasmer/feature-refactor-plugin
Browse files Browse the repository at this point in the history
Refactor plugin
  • Loading branch information
Exelord authored Aug 29, 2018
2 parents b850519 + 79c8ef7 commit 0ea8b9a
Show file tree
Hide file tree
Showing 17 changed files with 7,440 additions and 163 deletions.
12 changes: 12 additions & 0 deletions .eslintrc
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
}
}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
tmp
dist/
node_modules/
tmp/
30 changes: 0 additions & 30 deletions .jshintrc

This file was deleted.

17 changes: 9 additions & 8 deletions .travis.yml
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
19 changes: 19 additions & 0 deletions Brocfile.js
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),
]);
73 changes: 0 additions & 73 deletions index.js

This file was deleted.

Loading

0 comments on commit 0ea8b9a

Please sign in to comment.