forked from hotoo/detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 1.69 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "detector",
"version": "2.5.0",
"description": "The module for detect client-side information.",
"homepage": "http://spmjs.io/docs/detector/",
"author": "冒顿 <[email protected]>",
"maintainers": [
"冒顿 <[email protected]>"
],
"main": "./lib/node-detector.js",
"browser": "./web/web-detector.js",
"bin": {
"detector": "./bin/detector"
},
"scripts": {
"test": "make test",
"build": "rm -rf web/* && babel ./lib --out-dir ./web/ --ignore node-detector.js && rm ./web/rules.js",
"prepublish": "npm run build"
},
"keywords": [
"utility",
"userAgent",
"arale",
"Browser",
"OS",
"Operation System",
"Device",
"Rendering Engine"
],
"files": [
"lib",
"bin",
"web",
"package.json",
"README.md",
"README-zh_CN.md"
],
"repository": {
"type": "git",
"url": "https://github.com/hotoo/detector.git"
},
"bugs": {
"url": "https://github.com/hotoo/detector/issues"
},
"license": "MIT",
"spm": {
"main": "./lib/web-detector.js",
"devDependencies": {
"jquery": "1.7.2",
"expect.js": "0.3.1"
},
"tests": "tests/*-spec.js",
"build": {
"babel": {}
}
},
"babel": {
"presets": [
"es2015",
"stage-0"
],
"plugins": [
"add-module-exports"
]
},
"dependencies": {
"colors": "0.6.2",
"commander": "~1.1.1"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"eslint": "~1.4.3",
"expect.js": "0.3.1",
"istanbul": "^0.3.22",
"mocha": "^2.3.3",
"spm": "~3.6.12"
}
}