-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 5.41 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "xcrap",
"version": "1.12.0",
"description": "Xcrap is a Web Scraping framework for JavaScript, designed to facilitate the process of extracting data from multiple pages or even just one, with a sophisticated page parsing system.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"build:clean": "rimraf dist",
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"build": "npm-run-all build:clean compile generate-exports && node ./dev-scripts/prepare-package-json.js",
"generate-exports": "node dev-scripts/generate-exports.cjs",
"test": "jest"
},
"keywords": [],
"author": "Marcuth",
"license": "ISC",
"dependencies": {
"axios": "^1.7.7",
"node-html-parser": "^6.1.13",
"puppeteer": "^23.3.0"
},
"devDependencies": {
"@types/fake-useragent": "^1.0.0",
"@types/node": "^20.16.5",
"fake-useragent": "^1.0.1",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"publishConfig": {
"source": "./src/index.ts",
"main": "./dist/index.js"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/esm/index.js",
"default": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
},
"./clients/axios.client": {
"import": "./dist/esm/clients/axios.client.js",
"require": "./dist/cjs/clients/axios.client.js",
"default": "./dist/esm/clients/axios.client.js",
"types": "./dist/types/clients/axios.client.d.ts"
},
"./clients/base.client": {
"import": "./dist/esm/clients/base.client.js",
"require": "./dist/cjs/clients/base.client.js",
"default": "./dist/esm/clients/base.client.js",
"types": "./dist/types/clients/base.client.d.ts"
},
"./clients": {
"import": "./dist/esm/clients/index.js",
"require": "./dist/cjs/clients/index.js",
"default": "./dist/esm/clients/index.js",
"types": "./dist/types/clients/index.d.ts"
},
"./clients/puppeteer.client": {
"import": "./dist/esm/clients/puppeteer.client.js",
"require": "./dist/cjs/clients/puppeteer.client.js",
"default": "./dist/esm/clients/puppeteer.client.js",
"types": "./dist/types/clients/puppeteer.client.d.ts"
},
"./common/types": {
"import": "./dist/esm/common/types.js",
"require": "./dist/cjs/common/types.js",
"default": "./dist/esm/common/types.js",
"types": "./dist/types/common/types.d.ts"
},
"./parsing/extractors.parsing": {
"import": "./dist/esm/parsing/extractors.parsing.js",
"require": "./dist/cjs/parsing/extractors.parsing.js",
"default": "./dist/esm/parsing/extractors.parsing.js",
"types": "./dist/types/parsing/extractors.parsing.d.ts"
},
"./parsing": {
"import": "./dist/esm/parsing/index.js",
"require": "./dist/cjs/parsing/index.js",
"default": "./dist/esm/parsing/index.js",
"types": "./dist/types/parsing/index.d.ts"
},
"./parsing/page-set.parsing": {
"import": "./dist/esm/parsing/page-set.parsing.js",
"require": "./dist/cjs/parsing/page-set.parsing.js",
"default": "./dist/esm/parsing/page-set.parsing.js",
"types": "./dist/types/parsing/page-set.parsing.d.ts"
},
"./parsing/page.parsing": {
"import": "./dist/esm/parsing/page.parsing.js",
"require": "./dist/cjs/parsing/page.parsing.js",
"default": "./dist/esm/parsing/page.parsing.js",
"types": "./dist/types/parsing/page.parsing.d.ts"
},
"./transforming/data.transforming": {
"import": "./dist/esm/transforming/data.transforming.js",
"require": "./dist/cjs/transforming/data.transforming.js",
"default": "./dist/esm/transforming/data.transforming.js",
"types": "./dist/types/transforming/data.transforming.d.ts"
},
"./transforming": {
"import": "./dist/esm/transforming/index.js",
"require": "./dist/cjs/transforming/index.js",
"default": "./dist/esm/transforming/index.js",
"types": "./dist/types/transforming/index.d.ts"
},
"./transforming/transformers.transformation": {
"import": "./dist/esm/transforming/transformers.transformation.js",
"require": "./dist/cjs/transforming/transformers.transformation.js",
"default": "./dist/esm/transforming/transformers.transformation.js",
"types": "./dist/types/transforming/transformers.transformation.d.ts"
},
"./transforming/utils.transformation": {
"import": "./dist/esm/transforming/utils.transformation.js",
"require": "./dist/cjs/transforming/utils.transformation.js",
"default": "./dist/esm/transforming/utils.transformation.js",
"types": "./dist/types/transforming/utils.transformation.d.ts"
},
"./utils": {
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.js",
"default": "./dist/esm/utils/index.js",
"types": "./dist/types/utils/index.d.ts"
},
"./utils/url.util": {
"import": "./dist/esm/utils/url.util.js",
"require": "./dist/cjs/utils/url.util.js",
"default": "./dist/esm/utils/url.util.js",
"types": "./dist/types/utils/url.util.d.ts"
},
"./xcrap": {
"import": "./dist/esm/xcrap.js",
"require": "./dist/cjs/xcrap.js",
"default": "./dist/esm/xcrap.js",
"types": "./dist/types/xcrap.d.ts"
}
}
}