-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.06 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 3.06 KB
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
{
"name": "scrappy",
"version": "1.0.0",
"description": "Playwright Web Scraping",
"author": "ksenecki",
"bin": {
"scrappy": "./bin/run"
},
"homepage": "https://github.com/ksenecki/scrappy",
"license": "MIT",
"main": "dist/index.js",
"repository": "ksenecki/scrappy",
"keywords": [
"scraping",
"playwright",
"panda"
],
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"dependencies": {
"@oclif/core": "^1.20.0",
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^2.1.6",
"@playwright/test": "^1.27.1",
"random-useragent": "^0.5.0",
"tsconfig-paths": "^4.1.0"
},
"devDependencies": {
"@oclif/test": "^2.2.6",
"@trivago/prettier-plugin-sort-imports": "^3.4.0",
"@types/chai": "^4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.18.2",
"@types/random-useragent": "^0.3.1",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"chai": "^4",
"eslint": "^8.23.0",
"eslint-config-oclif": "^4",
"eslint-config-oclif-typescript": "^1.0.3",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mocha": "^9",
"oclif": "^3",
"prettier": "^2.7.1",
"shx": "^0.3.4",
"ts-node": "^10.9.1",
"tslib": "^2.3.1",
"typescript": "^4.8.4"
},
"oclif": {
"bin": "scrappy",
"dirname": "scrappy",
"commands": "./dist/commands",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-plugins"
],
"topicSeparator": " ",
"topics": {
"hello": {
"description": "Say hello to the world and others"
},
"scrap": {
"description": "Scrap some pages"
}
}
},
"scripts": {
"prettier": "prettier --write .",
"prepare": "husky install",
"build": "shx rm -rf dist && tsc -b",
"lint": "eslint . --ext .ts --config .eslintrc",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "yarn lint",
"prepack": "yarn build && oclif manifest && oclif readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md",
"scrappy:sequential": "./bin/dev scrapDragonEye --save json && ./bin/dev scrapDragonus --save json && ./bin/dev scrapMepel --save json && ./bin/dev scrapPlanszostrefa --save json && ./bin/dev scrapShopgracz --save json",
"scrappy:parallel": "./bin/dev scrapDragonEye --save json & ./bin/dev scrapDragonus --save json & ./bin/dev scrapMepel --save json & ./bin/dev scrapPlanszostrefa --save json & ./bin/dev scrapShopgracz --save json",
"dragoneye:json": "./bin/dev scrapDragonEye --save json",
"dragonus:json": "./bin/dev scrapDragonus --save json",
"mepel:json": "./bin/dev scrapMepel --save json",
"planszostrefa:json": "./bin/dev scrapPlanszostrefa --save json",
"shopgracz:json": "./bin/dev scrapShopgracz --save json"
},
"engines": {
"node": ">=12.0.0"
},
"bugs": "https://github.com/ksenecki/scrappy/issues",
"types": "dist/index.d.ts",
"lint-staged": {
"**/*": "prettier --write --ignore-unknown --no-stash"
}
}