Leo Lamprecht
7 years ago
3 changed files with 22 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||
#!/usr/bin/env node
|
|||
|
|||
try { |
|||
// eslint-disable-next-line import/no-unassigned-import
|
|||
require('../dist/now.js') |
|||
} catch (err) { |
|||
if (err.code === 'ENOENT' && err.syscall === 'uv_cwd') { |
|||
console.error(`Current path doesn't exist!`) |
|||
process.exit(1) |
|||
} |
|||
} |
@ -0,0 +1,9 @@ |
|||
{ |
|||
"name": "now", |
|||
"license": "MIT", |
|||
"description": "The command line interface for Now", |
|||
"repository": "zeit/now", |
|||
"bin": { |
|||
"now": "link.js" |
|||
} |
|||
} |
Loading…
Reference in new issue