-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
68 lines (68 loc) · 2.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
{
"name": "@mux/upchunk",
"version": "3.4.0",
"description": "Dead simple chunked file uploads using Fetch",
"main": "dist/upchunk.js",
"module": "dist/upchunk.mjs",
"browser": "dist/upchunk.js",
"unpkg": "dist/upchunk.js",
"exports": {
"import": "./dist/upchunk.mjs",
"require": "./dist/upchunk.cjs.js",
"default": "./dist/upchunk.js"
},
"types": "dist/upchunk.d.ts",
"repository": "https://github.com/muxinc/upchunk",
"author": "Matthew McClure <[email protected]>",
"license": "MIT",
"keywords": [
"browser upload",
"chunked upload",
"file upload",
"gcs upload",
"google cloud storage upload",
"large file upload",
"resumable",
"upload"
],
"files": [
"dist",
"src"
],
"scripts": {
"clean": "rimraf ./dist",
"test": "yarn build:test && web-test-runner --config test/web-test-runner.config.mjs",
"lint": "tslint --project .",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"build:test": "esbuild ./test/deps/xhr-mock.ts ./test/deps/xhr.ts --target=es2019 --format=esm --bundle --minify --outdir=./test/dist --out-extension:.js=.mjs",
"start": "esbuild src/upchunk.ts --target=es2019 --format=iife --bundle --sourcemap --outdir=./example --global-name=UpChunk --servedir=example",
"build:umd": "node ./esbuild-umd.mjs",
"build:esm": "esbuild src/upchunk.ts --target=es2019 --format=esm --bundle --sourcemap --outdir=./dist --out-extension:.js=.mjs",
"build:cjs": "esbuild src/upchunk.ts --target=es2019 --format=cjs --bundle --minify --sourcemap --outdir=./dist --out-extension:.js=.cjs.js",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir './dist'",
"build:all": "npm-run-all --parallel build:types build:esm build:cjs build:umd",
"build": "yarn clean && yarn lint && yarn build:all && yarn pack"
},
"devDependencies": {
"@open-wc/testing": "^3.1.6",
"@web/dev-server-esbuild": "^0.3.3",
"@web/dev-server-import-maps": "^0.0.7",
"@web/test-runner": "^0.15.0",
"esbuild": "^0.14.47",
"esbuild-plugin-umd-wrapper": "^2.0.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"tslint": "^6.1.2",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.7.4",
"xhr-mock": "^2.5.1"
},
"dependencies": {
"event-target-shim": "^6.0.2",
"xhr": "^2.6.0"
},
"volta": {
"node": "10.21.0"
}
}