Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore58
-rw-r--r--package.json21
2 files changed, 69 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index da10ace10..36feb5f9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,7 @@ npm-debug.log
/node_modules/require-inject/
/node_modules/sprintf-js/
/node_modules/tap/
+/node_modules/standard/
# dev dependency subdeps
@@ -120,3 +121,60 @@ npm-debug.log
/node_modules/window-size/
/node_modules/wordwrap/
/node_modules/yargs/
+
+# standard
+/node_modules/cli-width/
+/node_modules/d/
+/node_modules/disparity/
+/node_modules/doctrine/
+/node_modules/es5-ext/
+/node_modules/es6-iterator/
+/node_modules/es6-map/
+/node_modules/es6-set/
+/node_modules/es6-symbol/
+/node_modules/es6-weak-map/
+/node_modules/escope/
+/node_modules/esformatter-eol-last/
+/node_modules/esformatter-literal-notation/
+/node_modules/esformatter-quotes/
+/node_modules/esformatter-semicolon-first/
+/node_modules/esformatter-spaced-lined-comment/
+/node_modules/esformatter/
+/node_modules/eslint-config-standard-react/
+/node_modules/eslint-config-standard/
+/node_modules/eslint-plugin-react/
+/node_modules/eslint/
+/node_modules/espree/
+/node_modules/esrecurse/
+/node_modules/estraverse-fb/
+/node_modules/event-emitter/
+/node_modules/figures/
+/node_modules/find-root/
+/node_modules/globals/
+/node_modules/ignore/
+/node_modules/inquirer/
+/node_modules/mout/
+/node_modules/npm-path/
+/node_modules/npm-run/
+/node_modules/object-assign/
+/node_modules/pkg-config/
+/node_modules/protochain/
+/node_modules/readline2/
+/node_modules/rocambole-indent/
+/node_modules/rocambole-linebreak/
+/node_modules/rocambole-node/
+/node_modules/rocambole-token/
+/node_modules/rocambole-whitespace/
+/node_modules/rocambole/
+/node_modules/run-parallel/
+/node_modules/rx/
+/node_modules/serializerr/
+/node_modules/standard-format/
+/node_modules/stdin/
+/node_modules/string.prototype.endswith/
+/node_modules/strip-json-comments/
+/node_modules/sync-exec/
+/node_modules/through/
+/node_modules/uniq/
+/node_modules/user-home/
+/node_modules/xml-escape/
diff --git a/package.json b/package.json
index e959f48fd..293321cf0 100644
--- a/package.json
+++ b/package.json
@@ -3,9 +3,9 @@
"name": "npm",
"description": "a package manager for JavaScript",
"keywords": [
- "package manager",
- "modules",
"install",
+ "modules",
+ "package manager",
"package.json"
],
"preferGlobal": true,
@@ -22,10 +22,10 @@
"url": "http://github.com/npm/npm/issues"
},
"directories": {
+ "bin": "./bin",
"doc": "./doc",
- "man": "./man",
"lib": "./lib",
- "bin": "./bin"
+ "man": "./man"
},
"main": "./lib/npm.js",
"bin": "./bin/npm-cli.js",
@@ -172,16 +172,17 @@
"npm-registry-mock": "~1.0.0",
"require-inject": "~1.2.0",
"sprintf-js": "~1.0.2",
+ "standard": "~4.3.2",
"tap": "~1.2.0"
},
"scripts": {
- "test-legacy": "node ./test/run.js",
- "test": "tap --timeout 240 test/tap/*.js",
- "tap": "tap --timeout 240 test/tap/*.js",
- "test-all": "npm run test-legacy && npm test",
- "preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
+ "dumpconf": "env | grep npm | sort | uniq",
"prepublish": "bash scripts/installable.sh && node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc",
- "dumpconf": "env | grep npm | sort | uniq"
+ "preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
+ "tap": "tap --timeout 240 test/tap/*.js",
+ "test": "standard && tap --timeout 240 test/tap/*.js",
+ "test-all": "standard && npm run test-legacy && npm test",
+ "test-legacy": "node ./test/run.js"
},
"license": "Artistic-2.0"
}