Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
WindomZ committed Oct 30, 2018
1 parent 48713bc commit cfe4c0f
Show file tree
Hide file tree
Showing 4 changed files with 1,417 additions and 526 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
rules: {
indent: ['error', 2],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
// quotes: ['error', 'single'],
semi: ['error', 'always'],
},
};
8 changes: 4 additions & 4 deletions ci-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const shell = require('./shell');
const pkg = require('./package.json');
prog.version(pkg.version).description(pkg.description);

prog.argument('[directory]', 'The workspace directory').action((argv, opts) => {
prog.argument('[directory]', 'The workspace directory').action(argv => {
let dir = argv['directory'] || '';

process.stdout.write('>>> ci-script start...' + os.EOL);
Expand All @@ -24,14 +24,14 @@ prog.argument('[directory]', 'The workspace directory').action((argv, opts) => {
process.stdout.write('>>> ci-script complete!' + os.EOL);
})
.catch(e => {
console.error(e.message);
process.stderr.write(e.message);
});
});

prog
.command('init', 'init...')
.argument('[directory]', 'The workspace directory', prog.STRING)
.action((argv, opts) => {
.action(argv => {
let dir = argv['directory'] || '';

process.stdout.write('>>> ci-script init start...' + os.EOL);
Expand All @@ -41,7 +41,7 @@ prog
process.stdout.write('>>> ci-script init complete!' + os.EOL);
})
.catch(e => {
console.error(e.message);
process.stderr.write(e.message);
});
});

Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
"homepage": "https://github.com/WindomZ/ci-script#readme",
"dependencies": {
"caporal": "^0.10.0",
"js-yaml": "^3.10.0",
"shelljs": "^0.8.0"
"js-yaml": "^3.12.0",
"shelljs": "^0.8.2"
},
"devDependencies": {
"ava": "^0.25.0",
"coveralls": "^3.0.0",
"eslint": "^4.16.0",
"coveralls": "^3.0.2",
"eslint": "^5.8.0",
"eslint-config-prettier": "^3.0.0",
"husky": "^1.0.0",
"lint-staged": "^7.0.0",
"nyc": "^12.0.1",
"prettier": "^1.10.2"
"husky": "^1.1.2",
"lint-staged": "^8.0.2",
"nyc": "^13.1.0",
"prettier": "^1.14.3"
}
}
Loading

0 comments on commit cfe4c0f

Please sign in to comment.