-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
路101 lines (101 loc) 路 2.34 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "downode",
"version": "0.1.2",
"description": "One Rule to scrape them all.",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"lib",
"es",
"src"
],
"scripts": {
"clean": "rimraf lib es coverage",
"lint": "xo",
"test": "cross-env BABEL_ENV=commonjs jest",
"test:watch": "npm test -- --watch",
"test:cov": "npm test -- --coverage",
"check": "npm run lint && npm run test",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build": "npm run build:commonjs && npm run build:es",
"cov": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"prepublish": "npm run clean && npm run check && npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/ceoimon/downode"
},
"keywords": [
"scrape",
"scraper",
"crawl",
"crawler",
"spider",
"download",
"functional",
"dictator",
"rule",
"rules"
],
"author": {
"name": "ceoimon",
"email": "ceoimon.zyu@gmail.com",
"url": "https://github.com/ceoimon"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ceoimon/downode/issues"
},
"engines": {
"node": ">=7.6.0"
},
"jest": {
"testRegex": "(/test/.*\\.spec.js)$"
},
"xo": {
"rules": {
"comma-dangle": 0,
"func-names": 0
},
"overrides": [
{
"files": "test/**/*.js",
"rules": {
"max-nested-callbacks": 0
},
"envs": [
"jest"
]
}
]
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-jest": "^19.0.0",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
"coveralls": "^2.12.0",
"cross-env": "^3.2.3",
"jest": "^19.0.2",
"nock": "^9.0.9",
"rimraf": "^2.6.1",
"winattr": "^2.0.0",
"xo": "^0.17.1"
},
"dependencies": {
"chalk": "^1.1.3",
"cheerio": "^0.22.0",
"debug": "^2.6.2",
"dnscache": "^1.0.1",
"entities": "^1.1.1",
"fs-extra": "^2.0.0",
"is-callable": "^1.1.3",
"lodash": "^4.17.4",
"lodash-es": "^4.17.4",
"mime-types": "^2.1.14",
"node-fetch": "^1.6.3",
"normalize-url": "^1.9.0"
}
}