@wlindabla/file_uploader 1.0.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/package.json ADDED
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "@wlindabla/file_uploader",
3
+ "version": "1.0.0",
4
+ "description": "A powerful, event-driven chunked file uploader for browser and Node.js.A robust, framework-agnostic TypeScript library for uploading large files in chunks with resume capability, automatic retry, and comprehensive event handling.",
5
+ "author": "AGBOKOUDJO Franck <internationaleswebservices@gmail.com>",
6
+ "license": "MIT",
7
+ "packageManager": "yarn@4.12.0",
8
+ "main": "./dist/cjs/index.js",
9
+ "module": "./dist/esm/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/Agbokoudjo/file_uploader"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/Agbokoudjo/file_uploader/issues"
17
+ },
18
+ "homepage": "https://github.com/Agbokoudjo/file_uploader#readme",
19
+ "files": [
20
+ "dist",
21
+ "README.md",
22
+ "LICENSE",
23
+ "docs"
24
+ ],
25
+ "keywords": [
26
+ "file-upload",
27
+ "chunked-upload",
28
+ "resumable-upload",
29
+ "browser",
30
+ "nodejs",
31
+ "typescript",
32
+ "event-driven",
33
+ "multipart-upload",
34
+ "file-uploader",
35
+ "large-file-upload"
36
+ ],
37
+ "exports": {
38
+ ".": {
39
+ "import": {
40
+ "types": "./dist/index.d.ts",
41
+ "default": "./dist/esm/index.js"
42
+ },
43
+ "require": {
44
+ "types": "./dist/index.d.ts",
45
+ "default": "./dist/cjs/index.js"
46
+ }
47
+ }
48
+ },
49
+ "scripts": {
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "test:ui": "vitest --ui",
53
+ "test:coverage": "vitest run --coverage",
54
+ "test:node": "vitest run --environment node",
55
+ "test:browser": "vitest run --environment jsdom",
56
+ "test:ci": "vitest run --coverage --reporter=junit --reporter=json --outputFile=test-results.json",
57
+ "build": "yarn cache clean && tsup",
58
+ "type-check": "tsc --noEmit",
59
+ "lint:fix": "eslint src --ext .ts --fix",
60
+ "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
61
+ "build:types": "tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types",
62
+ "clean": "rm -rf dist coverage test-results.json",
63
+ "lint": "eslint src tests --ext .ts",
64
+ "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
65
+ "typecheck": "tsc --noEmit",
66
+ "prepublishOnly": "yarn typecheck && yarn build && yarn test && yarn lint",
67
+ "prepare": "yarn build",
68
+ "release": "yarn build && changeset publish"
69
+ },
70
+ "dependencies": {
71
+ "@wlindabla/event_dispatcher": "^1.0.1",
72
+ "@wlindabla/http_client": "^1.1.0",
73
+ "p-limit": "^7.3.0"
74
+ },
75
+ "devDependencies": {
76
+ "@types/node": "^25.2.3",
77
+ "@types/p-limit": "^2.2.0",
78
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
79
+ "@typescript-eslint/parser": "^8.55.0",
80
+ "eslint": "^10.0.0",
81
+ "eslint-config-prettier": "^10.1.8",
82
+ "prettier": "^3.8.1",
83
+ "tsup": "^8.5.1",
84
+ "typescript": "^5.9.3",
85
+ "vite": "^7.3.1",
86
+ "vitest": "^4.0.18"
87
+ },
88
+ "engines": {
89
+ "node": ">=18.0.0"
90
+ },
91
+ "publishConfig": {
92
+ "access": "public",
93
+ "registry": "https://registry.npmjs.org/"
94
+ }
95
+ }