-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
91 lines (91 loc) · 2.17 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
{
"name": "torrent-browse",
"version": "1.0.2",
"description": "Torrent search library for both nodejs and javascript",
"keywords": [
"torrent",
"search",
"typescript",
"api",
"browser",
"isomorphic",
"nyaa",
"thepiratebay",
"1337x"
],
"type": "module",
"source": "src/index.ts",
"exports": {
"require": "./dist/torrent-browse.cjs",
"default": "./dist/torrent-browse.modern.js"
},
"main": "./dist/torrent-browse.cjs",
"module": "./dist/torrent-browse.module.js",
"unpkg": "./dist/torrent-browse.umd.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "microbundle -f modern,esm,cjs && microbundle -f umd --external none && typedoc src/index.ts && cp -r ./demo docs/demo && cp -r ./dist docs/dist",
"dev": "microbundle watch",
"prettify": "prettier --write \"{src,spec}/**/*.{ts,tsx}\"",
"test": "jest spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KiraLT/torrent-browse.git"
},
"author": "KiraLT",
"license": "ISC",
"bugs": {
"url": "https://github.com/KiraLT/torrent-browse/issues"
},
"homepage": "https://github.com/KiraLT/torrent-browse#readme",
"files": [
"dist/**/*"
],
"dependencies": {
"common-stuff": "^1.6.4",
"fetch-ponyfill": "^7.1.0",
"isomorphic-htmlparser": "^1.0.1"
},
"devDependencies": {
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"microbundle": "^0.15.1",
"prettier": "^2.8.1",
"ts-jest": "^29.0.3",
"typedoc": "^0.23.23",
"typescript": "^4.9.4"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"jest": {
"preset": "ts-jest"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
}
}