-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
57 lines (57 loc) · 1.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "smart-npm",
"description": "Auto switch registry according your npm command.",
"version": "1.2.3",
"homepage": "https://github.com/qiu8310/smart-npm",
"bugs": "https://github.com/qiu8310/smart-npm/issues",
"license": "MIT",
"main": "bin/cli.js",
"preferGlobal": true,
"author": {
"name": "Zhonglei Qiu",
"email": "qiuzhongleiabc@126.com"
},
"repository": {
"type": "git",
"url": "https://github.com/qiu8310/smart-npm"
},
"keywords": [
"smart-npm",
"npm",
"cnpm",
"registry",
"china",
"proxy",
"taobao"
],
"dependencies": {
"cross-spawn": "^0.2.8",
"npm": "latest",
"npm-check": "^4.1.2",
"open": "0.0.5"
},
"devDependencies": {
"coveralls": "^2.11.1",
"gulp": "^3.8.8",
"gulp-bump": "^0.3.0",
"gulp-istanbul": "^0.8.1",
"gulp-jscs": "^1.5.2",
"gulp-jshint": "^1.9.4",
"gulp-load-plugins": "^0.10.0",
"gulp-mocha": "^2.0.1",
"gulp-plumber": "^1.0.0",
"gulp-util": "^3.0.1",
"jshint-stylish": "^1.0.1",
"should": "^6.0.1"
},
"bin": {
"npm": "bin/smart-npm.js"
},
"scripts": {
"preinstall": "npm config set registry http://registry.npm.taobao.org/",
"postuninstall": "npm config delete registry",
"docs": "jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css",
"coveralls": "gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "gulp test"
}
}