Skip to content

Commit 532dfc1

Browse files
othiym23iarna
authored andcommittedJun 26, 2015
standard@4.3.2
Also add it to the test stanzas in package.json.
1 parent b50be6a commit 532dfc1

File tree

2 files changed

+69
-10
lines changed

2 files changed

+69
-10
lines changed
 

‎.gitignore

+58
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ npm-debug.log
3232
/node_modules/require-inject/
3333
/node_modules/sprintf-js/
3434
/node_modules/tap/
35+
/node_modules/standard/
3536

3637
# dev dependency subdeps
3738

@@ -120,3 +121,60 @@ npm-debug.log
120121
/node_modules/window-size/
121122
/node_modules/wordwrap/
122123
/node_modules/yargs/
124+
125+
# standard
126+
/node_modules/cli-width/
127+
/node_modules/d/
128+
/node_modules/disparity/
129+
/node_modules/doctrine/
130+
/node_modules/es5-ext/
131+
/node_modules/es6-iterator/
132+
/node_modules/es6-map/
133+
/node_modules/es6-set/
134+
/node_modules/es6-symbol/
135+
/node_modules/es6-weak-map/
136+
/node_modules/escope/
137+
/node_modules/esformatter-eol-last/
138+
/node_modules/esformatter-literal-notation/
139+
/node_modules/esformatter-quotes/
140+
/node_modules/esformatter-semicolon-first/
141+
/node_modules/esformatter-spaced-lined-comment/
142+
/node_modules/esformatter/
143+
/node_modules/eslint-config-standard-react/
144+
/node_modules/eslint-config-standard/
145+
/node_modules/eslint-plugin-react/
146+
/node_modules/eslint/
147+
/node_modules/espree/
148+
/node_modules/esrecurse/
149+
/node_modules/estraverse-fb/
150+
/node_modules/event-emitter/
151+
/node_modules/figures/
152+
/node_modules/find-root/
153+
/node_modules/globals/
154+
/node_modules/ignore/
155+
/node_modules/inquirer/
156+
/node_modules/mout/
157+
/node_modules/npm-path/
158+
/node_modules/npm-run/
159+
/node_modules/object-assign/
160+
/node_modules/pkg-config/
161+
/node_modules/protochain/
162+
/node_modules/readline2/
163+
/node_modules/rocambole-indent/
164+
/node_modules/rocambole-linebreak/
165+
/node_modules/rocambole-node/
166+
/node_modules/rocambole-token/
167+
/node_modules/rocambole-whitespace/
168+
/node_modules/rocambole/
169+
/node_modules/run-parallel/
170+
/node_modules/rx/
171+
/node_modules/serializerr/
172+
/node_modules/standard-format/
173+
/node_modules/stdin/
174+
/node_modules/string.prototype.endswith/
175+
/node_modules/strip-json-comments/
176+
/node_modules/sync-exec/
177+
/node_modules/through/
178+
/node_modules/uniq/
179+
/node_modules/user-home/
180+
/node_modules/xml-escape/

‎package.json

+11-10
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"name": "npm",
44
"description": "a package manager for JavaScript",
55
"keywords": [
6-
"package manager",
7-
"modules",
86
"install",
7+
"modules",
8+
"package manager",
99
"package.json"
1010
],
1111
"preferGlobal": true,
@@ -22,10 +22,10 @@
2222
"url": "http://github.com/npm/npm/issues"
2323
},
2424
"directories": {
25+
"bin": "./bin",
2526
"doc": "./doc",
26-
"man": "./man",
2727
"lib": "./lib",
28-
"bin": "./bin"
28+
"man": "./man"
2929
},
3030
"main": "./lib/npm.js",
3131
"bin": "./bin/npm-cli.js",
@@ -172,16 +172,17 @@
172172
"npm-registry-mock": "~1.0.0",
173173
"require-inject": "~1.2.0",
174174
"sprintf-js": "~1.0.2",
175+
"standard": "~4.3.2",
175176
"tap": "~1.2.0"
176177
},
177178
"scripts": {
178-
"test-legacy": "node ./test/run.js",
179-
"test": "tap --timeout 240 test/tap/*.js",
180-
"tap": "tap --timeout 240 test/tap/*.js",
181-
"test-all": "npm run test-legacy && npm test",
182-
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
179+
"dumpconf": "env | grep npm | sort | uniq",
183180
"prepublish": "bash scripts/installable.sh && node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc",
184-
"dumpconf": "env | grep npm | sort | uniq"
181+
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
182+
"tap": "tap --timeout 240 test/tap/*.js",
183+
"test": "standard && tap --timeout 240 test/tap/*.js",
184+
"test-all": "standard && npm run test-legacy && npm test",
185+
"test-legacy": "node ./test/run.js"
185186
},
186187
"license": "Artistic-2.0"
187188
}

0 commit comments

Comments
 (0)
Please sign in to comment.