forked from tus/tus-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 3.72 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
{
"name": "tus-js-client",
"version": "2.3.0",
"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/**/*",
"demos/**/*",
"bin/**/*",
"test/**/*",
"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.0.0",
"@babel/eslint-parser": "^7.13.10",
"@babel/eslint-plugin": "^7.13.10",
"@babel/plugin-syntax-jsx": "^7.12.13",
"@babel/plugin-transform-modules-commonjs": "^7.9.6",
"@babel/preset-env": "^7.0.0",
"axios": "^0.21.1",
"babelify": "^10.0.0",
"browserify": "^12.0.0",
"browserstack": "^1.5.2",
"browserstack-runner": "git://github.com/Acconut/browserstack-runner.git#fix_etxtbsy",
"es6-promise": "^4.2.8",
"eslint": "^7.22.0",
"eslint-config-transloadit": "1.1.4",
"eslint-plugin-jest": "^24.3.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"exorcist": "^0.4.0",
"into-stream": "^6.0.0",
"jasmine": "^3.5.0",
"jasmine-ajax": "^3.2.0",
"jasmine-core": "^3.5.0",
"npm-run-all": "^4.1.5",
"puppeteer": "^1.19.0",
"regenerator-runtime": "^0.13.5",
"temp": "^0.8.3",
"tsd": "0.12.1",
"uglify-js": "^3.9.2",
"watchify": "^3.11.1"
},
"dependencies": {
"buffer-from": "^0.1.1",
"combine-errors": "^3.0.3",
"is-stream": "^2.0.0",
"js-base64": "^2.6.1",
"lodash.throttle": "^4.1.1",
"proper-lockfile": "^2.0.1",
"url-parse": "^1.4.3"
},
"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": "watchify lib/browser/index.js -t [ babelify --plugins [ @babel/transform-modules-commonjs ] ] -o dist/tus.js -s tus -v -d",
"watch-test-bundle": "watchify test/spec/browser-index.js -t [ babelify --plugins [ @babel/transform-modules-commonjs ] ] -d -o dist/browser-test-bundle.js",
"watch-transpile": "babel --watch -d lib.es5/ lib/",
"watch": "npm-run-all --parallel watch-*",
"test-puppeteer": "node bin/puppeteer-jasmine.js",
"test-browserstack": "node bin/browserstack-jasmine.js",
"test-node": "jasmine test/spec/node-index.js",
"test-types": "tsd",
"test": "./bin/test && npm run test-types",
"lint": "eslint lib demos test bin"
}
}