-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
80 lines (80 loc) · 1.86 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
{
"name": "pornhub.js",
"version": "1.12.2",
"packageManager": "[email protected]",
"description": "Powerful PornHub API for Node.js",
"author": "Pionxzh",
"license": "MIT",
"homepage": "https://github.com/pionxzh/pornhub.js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pionxzh/pornhub.js.git"
},
"bugs": {
"url": "https://github.com/pionxzh/pornhub.js/issues"
},
"keywords": [
"node.js",
"pornhub",
"pornhub-api",
"hubtraffic",
"webmaster"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"package.json"
],
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"build": "tsup",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pretest": "npm run lint",
"test": "vitest run",
"test:type": "tsc --noEmit",
"test:update": "vitest run --update",
"test:watch": "vitest",
"prepublishOnly": "rimraf ./dist && pnpm run build && clean-publish",
"postpublish": "rimraf ./dist ./tmp_release"
},
"dependencies": {
"cheerio": "1.0.0-rc.12",
"debug": "^4.3.7",
"node-fetch": "^2.7.0",
"urlcat": "^3.1.0"
},
"devDependencies": {
"@pionxzh/eslint-config": "^2.0.2",
"@types/cheerio": "^0.22.35",
"@types/debug": "^4.1.12",
"@types/node": "^20.14.13",
"@types/node-fetch": "^2.6.11",
"clean-publish": "^5.0.0",
"eslint": "^9.8.0",
"rimraf": "^6.0.1",
"tsup": "^8.2.3",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vitest": "^2.0.4"
},
"publishConfig": {
"directory": "tmp_release"
},
"clean-publish": {
"withoutPublish": true,
"tempDir": "tmp_release"
}
}