This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
130 changed files
with
19,269 additions
and
2,311 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,26 @@ | ||
test | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directory | ||
# Deployed apps should consider commenting this line out: | ||
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git | ||
node_modules |
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,9 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- "5.0" | ||
- "4.0" | ||
- "0.12" | ||
- "0.11" | ||
- "0.10" | ||
- "8" | ||
- "7" | ||
- "6" | ||
- "5" | ||
- "4" | ||
after_success: | ||
- npm run coveralls |
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
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,15 +1,39 @@ | ||
#!/usr/bin/env node | ||
#!/bin/sh | ||
":" //# http://sambal.org/?p=1014 ; exec /usr/bin/env node --harmony "$0" "$@" | ||
|
||
var ConfigStore = require('configstore'); | ||
var updateNotifier = require('update-notifier'); | ||
|
||
var notifier = updateNotifier( | ||
{ | ||
pkg: require('../package.json') | ||
} | ||
); | ||
var deprecationCheck = require('../lib/deprecation'); | ||
|
||
var pkg = require('../package.json'); | ||
|
||
var notifier = updateNotifier({pkg}); | ||
|
||
if (notifier.update) { | ||
notifier.notify(); | ||
} | ||
|
||
require('../lib/cli').init(); | ||
var config = new ConfigStore( | ||
pkg.name, | ||
{ | ||
lastPackageVersion: pkg.version, | ||
lastUpdateCheck: Date.now() | ||
} | ||
); | ||
|
||
var cli = require('../lib/cli').init().then( | ||
function() { | ||
var deprecated = deprecationCheck( | ||
{ | ||
config, | ||
pkg, | ||
scriptName: process.argv[1] | ||
} | ||
); | ||
|
||
if (deprecated) { | ||
console.log(deprecated); | ||
} | ||
} | ||
); |
Oops, something went wrong.