-
Notifications
You must be signed in to change notification settings - Fork 316
/
package.json
84 lines (84 loc) · 3.4 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
{
"name": "tus-js-client",
"version": "4.2.3",
"description": "A pure JavaScript client for the tus resumable upload protocol",
"main": "lib.es5/node/index.js",
"module": "lib.esm/node/index.js",
"files": ["lib/**/*", "lib.es5/**/*", "lib.esm/**/*", "dist/**/*", "lib/index.d.ts"],
"browser": {
"./lib.es5/node/index.js": "./lib.es5/browser/index.js",
"./lib.esm/node/index.js": "./lib.esm/browser/index.js",
"./lib/node/index.js": "./lib/browser/index.js"
},
"types": "./lib/index.d.ts",
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/tus/tus-js-client.git"
},
"keywords": ["tus", "resumable", "upload", "protocol", "progress", "file", "browser"],
"license": "MIT",
"bugs": {
"url": "https://github.com/tus/tus-js-client/issues"
},
"homepage": "https://github.com/tus/tus-js-client",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.13.10",
"@babel/helper-get-function-arity": "^7.16.7",
"@babel/plugin-syntax-jsx": "^7.12.13",
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
"@babel/preset-env": "^7.0.0",
"@biomejs/biome": "^1.7.3",
"axios": "^0.28.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chokidar-cli": "^3.0.0",
"exorcist": "^2.0.0",
"into-stream": "^6.0.0",
"jasmine": "^5.1.0",
"jasmine-ajax": "^4.0.0",
"jasmine-core": "^5.1.1",
"karma": "^6.4.0",
"karma-browserstack-launcher": "^1.6.0",
"karma-chrome-launcher": "^3.1.1",
"karma-jasmine": "^5.1.0",
"npm-run-all": "^4.1.5",
"puppeteer": "^22.3.0",
"regenerator-runtime": "^0.14.0",
"temp": "^0.9.4",
"throttle": "^1.0.3",
"tsd": "0.31.0",
"uglify-js": "^3.9.2"
},
"dependencies": {
"buffer-from": "^1.1.2",
"combine-errors": "^3.0.3",
"is-stream": "^2.0.0",
"js-base64": "^3.7.2",
"lodash.throttle": "^4.1.1",
"proper-lockfile": "^4.1.2",
"url-parse": "^1.5.7"
},
"scripts": {
"build-test-bundle": "mkdir -p dist && browserify test/spec/browser-index.js -t [ babelify --plugins [ @babel/transform-modules-commonjs ] ] -d -o dist/browser-test-bundle.js",
"build-bundle": "mkdir -p dist && browserify lib/browser/index.js -t [ babelify --plugins [ @babel/transform-modules-commonjs ] ] -s tus -d | exorcist ./dist/tus.js.map > dist/tus.js",
"build-minify": "uglifyjs ./dist/tus.js -o ./dist/tus.min.js --compress --mangle --source-map \"content='./dist/tus.js.map',url='tus.min.js.map'\"",
"build-transpile-esm": "babel -d lib.esm/ lib/",
"build-transpile-cjs": "babel --no-babelrc --plugins @babel/transform-modules-commonjs -d lib.es5/ lib.esm/",
"build-transpile": "npm-run-all build-transpile-esm build-transpile-cjs",
"build": "npm-run-all build-bundle build-minify build-transpile build-test-bundle",
"watch-bundle": "chokidar --initial \"lib/**/*\" -c \"npm run build-bundle\"",
"watch-test-bundle": "chokidar --initial \"test/spec/**/*\" -c \"npm run build-test-bundle\"",
"watch-transpile": "chokidar --initial \"lib/**/*\" -c \"npm run build-transpile\"",
"watch": "npm-run-all --parallel watch-*",
"test-puppeteer": "karma start test/karma/puppeteer.conf.js",
"test-browserstack": "karma start test/karma/browserstack.conf.js",
"test-node": "jasmine test/spec/node-index.js",
"test-types": "tsd",
"lint": "biome check .",
"fix": "biome check --apply ."
}
}