Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split index into smaller files #66

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
upgrade eslint-config-airbnb-base to 14.0.0
solves #15
  • Loading branch information
georgettica authored and calebmchenry committed Oct 20, 2019
commit 6efd6f278c1d1f2fffe1e6891bc4a480b3b8f953
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ nabs.Task = class Task {
let rawActions = [];

function npmify(arr) {
return arr.map(key => `npm run ${key}`);
return arr.map((key) => `npm run ${key}`);
}

// generate dependencies
Expand Down Expand Up @@ -165,7 +165,7 @@ nabs.buildTasks = function buildTasks(tasks, name) {
}

Object.keys(tasks)
.filter(item => !item.startsWith('$'))
.filter((item) => !item.startsWith('$'))
.forEach((key) => {
scripts = scripts.concat(nabs.buildTasks(tasks[key], name.concat(key)));
task.addChild(key);
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^5.3.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"mocha": "^6.2.0",
"testdouble": "^3.12.2"
Expand Down