-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
65 lines (65 loc) · 1.72 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
{
"name": "wring",
"version": "1.0.0",
"description": "Extract content from websites using CSS Selectors and XPath",
"author": "Ozan Sener",
"license": "MIT",
"homepage": "https://github.com/osener/wring#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/osener/wring.git"
},
"bugs": {
"url": "https://github.com/osener/wring/issues"
},
"keywords": [
"cheerio",
"html",
"scrape",
"css",
"selector",
"xpath",
"jquery",
"phantomjs",
"web",
"scraper",
"screenshot"
],
"bin": {
"wring": "index.js"
},
"main": "wring.js",
"files": [
"index.js",
"wring.js",
"phantomjs-main.js",
"resources/jquery.js"
],
"preferGlobal": true,
"directories": {
"test": "test"
},
"scripts": {
"compile": "pulp build --to main.js && pulp build --main PhantomjsMain --to phantomjs-main.js",
"bundle": "browserify main.js --node --dg false -x phantomjs-prebuilt -o wring.js",
"minify": "uglifyjs wring.js --compress warnings=false --mangle --screw-ie8 -o wring.js",
"build": "npm run compile && npm run bundle",
"test": "npm run build && pulp build -I test --main Test.Main --to output/test.js && sh run_tests.sh",
"prepublish": "bower install && npm run build && npm run minify"
},
"devDependencies": {
"babel-polyfill": "^6.5.0",
"babel-preset-es2015": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"cheerio": "^0.20.0",
"dom-serializer": "github:osener/dom-serializer#9906383f3b8e83e0f42dd6b8a01961616ebf844e",
"entities": "^1.1.1",
"pulp": "^8.0.0",
"purescript": "^0.8.0",
"xhr2": "^0.1.3",
"xmldom": "^0.1.22",
"xpath": "0.0.21",
"yargs": "^4.1.0"
}
}