forked from tus/tus-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.76 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
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "tus-js-client",
"version": "3.0.1",
"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",
"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/eslint-parser": "^7.13.10",
"@babel/eslint-plugin": "^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",
"axios": "^0.27.2",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chokidar-cli": "^3.0.0",
"eslint": "^7.22.0",
"eslint-config-transloadit": "^2.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"exorcist": "^2.0.0",
"into-stream": "^6.0.0",
"jasmine": "^4.1.0",
"jasmine-ajax": "^4.0.0",
"jasmine-core": "^4.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": "^19.0.0",
"regenerator-runtime": "^0.13.5",
"temp": "^0.9.4",
"throttle": "^1.0.3",
"tsd": "0.23.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": "eslint . --cache"
}
}