shamela 1.0.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +255 -38
- package/dist/index.d.ts +236 -86
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -0
- package/package.json +37 -46
- package/dist/main.js +0 -629
- package/dist/main.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"author": "Ragaeeb Haq",
|
|
3
|
+
"default": "./dist/index.js",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"unzipper": "^0.12.3"
|
|
6
|
+
},
|
|
4
7
|
"description": "Library to interact with the Maktabah Shamela v4 APIs",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@biomejs/biome": "^2.2.4",
|
|
10
|
+
"@types/bun": "^1.2.22",
|
|
11
|
+
"@types/node": "^24.5.2",
|
|
12
|
+
"@types/unzipper": "^0.10.11",
|
|
13
|
+
"semantic-release": "^24.2.8",
|
|
14
|
+
"tsup": "^8.5.0"
|
|
8
15
|
},
|
|
9
|
-
"private": false,
|
|
10
|
-
"main": "dist/main.js",
|
|
11
|
-
"types": "dist/index.d.ts",
|
|
12
|
-
"source": "src/index.ts",
|
|
13
|
-
"type": "module",
|
|
14
16
|
"engines": {
|
|
17
|
+
"bun": ">=1.2.22",
|
|
15
18
|
"node": ">=22.0.0"
|
|
16
19
|
},
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"types": "./dist/index.d.ts"
|
|
24
|
+
}
|
|
22
25
|
},
|
|
23
26
|
"files": [
|
|
24
|
-
"dist
|
|
25
|
-
"dist/main.js.map",
|
|
26
|
-
"dist/*.d.ts"
|
|
27
|
+
"dist/**"
|
|
27
28
|
],
|
|
28
29
|
"keywords": [
|
|
29
30
|
"shamela",
|
|
@@ -31,34 +32,24 @@
|
|
|
31
32
|
"Islamic",
|
|
32
33
|
"Muslim"
|
|
33
34
|
],
|
|
34
|
-
"author": "Ragaeeb Haq",
|
|
35
35
|
"license": "MIT",
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"@types/bun": "^1.2.8",
|
|
43
|
-
"@types/node": "^22.14.0",
|
|
44
|
-
"@types/unzipper": "^0.10.11",
|
|
45
|
-
"@vitest/coverage-v8": "^3.1.1",
|
|
46
|
-
"dotenv-vault": "^1.26.2",
|
|
47
|
-
"eslint": "^9.23.0",
|
|
48
|
-
"eslint-config-prettier": "^10.1.1",
|
|
49
|
-
"eslint-plugin-perfectionist": "^4.11.0",
|
|
50
|
-
"eslint-plugin-prettier": "^5.2.6",
|
|
51
|
-
"parcel": "^2.14.4",
|
|
52
|
-
"prettier": "^3.5.3",
|
|
53
|
-
"semantic-release": "^24.2.3",
|
|
54
|
-
"typescript": "^5.8.2",
|
|
55
|
-
"typescript-eslint": "^8.29.0",
|
|
56
|
-
"vitest": "^3.1.1"
|
|
36
|
+
"main": "dist/index.js",
|
|
37
|
+
"name": "shamela",
|
|
38
|
+
"private": false,
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+https://github.com/ragaeeb/shamela.git"
|
|
57
42
|
},
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsup",
|
|
45
|
+
"e2e": "bun test e2e --env-file .env",
|
|
46
|
+
"e2e:ci": "bun test e2e",
|
|
47
|
+
"lint": "biome check .",
|
|
48
|
+
"test": "bun test src/ --coverage --coverage-reporter=lcov"
|
|
49
|
+
},
|
|
50
|
+
"sideEffects": false,
|
|
51
|
+
"source": "src/index.ts",
|
|
52
|
+
"type": "module",
|
|
53
|
+
"types": "dist/index.d.ts",
|
|
54
|
+
"version": "1.2.0"
|
|
64
55
|
}
|