Comparing version 0.0.0-work-in-progress to 0.1.0
@@ -1,1 +0,3 @@ | ||
"use strict"; | ||
'use strict'; | ||
throw new Error('`mve` is a command-line program. Look into `mv` if you’re after a ' + 'library: <http://npm.im/mv>.'); |
{ "name": "mve" | ||
, "version": "0.0.0-work-in-progress" | ||
, "version": "0.1.0" | ||
, "description": "Move a file or folder. Platform-independent." | ||
, "bin": | ||
{ "mve": "bin/mve.js" | ||
} | ||
, "dependencies": | ||
{} | ||
{ "chalk": "^1.1.0" | ||
, "minimist": "^1.1.1" | ||
, "mv": "^2.1.1" | ||
} | ||
@@ -15,5 +22,6 @@ , "scripts": | ||
, "test": "jshint . && npm run test:transpile && node .es5/test.js | tap-spec" | ||
, "test:transpile": "rm -rf .es5 && babel test.js module/*.js --out-dir .es5" | ||
, "test:lite": "babel-node test.js | tap-spec" | ||
, "transpile": "cd module && babel --out-dir ../ *.js" | ||
, "test:transpile": "rm -rf .es5 && babel test.js test/*.js test/bin/*.js module/*.js module/bin/*.js module/bin/*/*.js --out-dir .es5; chmod +x .es5/module/bin/*.js; cpy 'test/mock-cwd/{a,b}' .es5/test/mock-cwd; cpy 'test/mock-cwd/c/c' .es5/test/mock-cwd/c" | ||
, "test:lite": "npm run test:transpile && node .es5/test.js | tap-spec" | ||
, "transpile": "cd module; babel --out-dir ../ *.js bin/*.js bin/*/*.js; cd ..; chmod +x bin/*.js" | ||
, "usage": "npm run transpile && babel-node build/usage.js" | ||
, "view-coverage": "echo 'Generating coverage reports...'; npm run coverage >/dev/null && echo '...done.' && xdg-open ./coverage/lcov-report/index.html >/dev/null" | ||
@@ -23,10 +31,11 @@ } | ||
, "devDependencies": | ||
{ "tap-spec": "2.2.2" | ||
, "tape": "4.0.0" | ||
{ "babel": "5.6.14" | ||
, "coveralls": "2.11.2" | ||
, "nodangel": "1.3.8" | ||
, "cpy": "3.3.0" | ||
, "istanbul": "0.3.17" | ||
, "jshint": "2.8.0" | ||
, "babel": "5.6.14" | ||
, "nodangel": "1.3.8" | ||
, "tap-spec": "2.2.2" | ||
, "1-liners": "0.3.5" | ||
, "tape-catch": "1.0.4" | ||
@@ -33,0 +42,0 @@ } |
[![Coveralls – test coverage | ||
](https://img.shields.io/coveralls/studio-b12/….svg?style=flat-square) | ||
](https://coveralls.io/r/studio-b12/…) | ||
](https://img.shields.io/coveralls/studio-b12/mve.svg?style=flat-square) | ||
](https://coveralls.io/r/studio-b12/mve) | ||
[![Travis – build status | ||
](https://img.shields.io/travis/studio-b12/…/master.svg?style=flat-square) | ||
](https://travis-ci.org/studio-b12/…) | ||
](https://img.shields.io/travis/studio-b12/mve/master.svg?style=flat-square) | ||
](https://travis-ci.org/studio-b12/mve) | ||
[![David – status of dependencies | ||
](https://img.shields.io/david/studio-b12/….svg?style=flat-square) | ||
](https://david-dm.org/studio-b12/…) | ||
[![Stability: experimental | ||
](https://img.shields.io/badge/stability-experimental-yellow.svg?style=flat-square) | ||
](https://nodejs.org/api/documentation.html#documentation_stability_index) | ||
](https://img.shields.io/david/studio-b12/mve.svg?style=flat-square) | ||
](https://david-dm.org/studio-b12/mve) | ||
[![Stability: unstable | ||
](https://img.shields.io/badge/stability-unstable-yellowgreen.svg?style=flat-square) | ||
](https://github.com/studio-b12/mve/milestones/1.0) | ||
[![Code style: airbnb | ||
@@ -59,7 +59,27 @@ ](https://img.shields.io/badge/code%20style-airbnb-blue.svg?style=flat-square) | ||
… | ||
<!-- @usage start --> | ||
SYNOPSIS | ||
Usage: mve [options] <source> <target> | ||
OPTIONS | ||
-h --help Print a short synopsis (-h) or this usage info (--help) | ||
EXAMPLES | ||
# Rename a file: | ||
$ mve Readdme.md Readme.md | ||
# Move a directory: | ||
$ mve --mkdirp source/directory target/directory | ||
# Read from a file, then pipe into it: | ||
$ format-json package.json > .temp; mve --force .temp package.json | ||
<!-- @usage end --> | ||
License | ||
@@ -66,0 +86,0 @@ ------- |
@@ -1,1 +0,2 @@ | ||
const test = require('tape-catch'); | ||
import './test/bin.test'; | ||
import './test/index.test'; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
10373
18
188
91
3
9
1
2
+ Addedchalk@^1.1.0
+ Addedminimist@^1.1.1
+ Addedmv@^2.1.1
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedglob@6.0.4(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedmv@2.1.1(transitive)
+ Addedncp@2.0.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedrimraf@2.4.5(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedwrappy@1.0.2(transitive)