-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 4.06 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": "js-uploader",
"version": "0.3.10-beta",
"description": "A JavaScript library for file upload",
"main": "publish/dist/cjs/index.js",
"module": "publish/dist/esm/index.js",
"scripts": {
"build": "npm-run-all clear_publish copy_src build_cjs build_esm",
"build_cjs": "npm-run-all clean_dist_cjs compile_cjs",
"build_esm": "npm-run-all clean_dist_es compile_esm",
"clear_publish": "rm -rf ./publish/",
"clean_dist_cjs": "rm -rf ./publish/dist/cjs",
"clean_dist_es": "rm -rf ./publish/dist/esm",
"compile_cjs": "tsc publish/src/index.ts -m commonjs --outDir publish/dist/cjs --sourcemap --target ES5 -d --diagnostics --pretty --strict --noImplicitReturns --downlevelIteration --noUnusedLocals --noUnusedParameters --strict --suppressImplicitAnyIndexErrors --moduleResolution node --noEmitHelpers --importHelpers --lib dom,es5,es2015,es2016,es2017",
"compile_esm": "tsc publish/src/index.ts -m ES2015 --outDir publish/dist/esm --sourcemap --target ES5 -d --diagnostics --pretty --strict --noImplicitReturns --downlevelIteration --noUnusedLocals --noUnusedParameters --strict --suppressImplicitAnyIndexErrors --moduleResolution node --noEmitHelpers --importHelpers --lib dom,es5,es2015,es2016,es2017",
"copy_src_cjs": "shx mkdir -p ./publish/dist/cjs/src && shx cp -r ./src/* ./publish/dist/cjs/src",
"copy_src_es": "shx mkdir -p ./publish/dist/esm/src && shx cp -r ./src/* ./publish/dist/esm/src",
"copy_src": "shx mkdir -p ./publish/src && shx cp -r ./src/* ./publish/src",
"start": "webpack-dev-server --mode development",
"pub": "ts-node ./tools/publish.ts"
},
"keywords": [
"Uploader",
"Resumable",
"file upload",
"chunk upload",
"DragAndDrop",
"RxJS",
"TypeScript"
],
"author": "LLLLLLiulei <liulei_real@foxmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/LLLLLLiulei/js-uploader.git"
},
"bugs": "https://github.com/LLLLLLiulei/js-uploader/issues",
"homepage": "https://github.com/LLLLLLiulei/js-uploader",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/node": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@types/jquery": "^3.5.2",
"@types/node": "^14.0.27",
"@types/shelljs": "^0.8.8",
"@types/xml2js": "^0.4.8",
"aws-sdk": "^2.814.0",
"babel-loader": "^8.1.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"html-webpack-plugin": "^4.3.0",
"jquery": "^3.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"raw-loader": "^4.0.1",
"rxjs": "6.5.3",
"rxjs-tslint-rules": "^4.34.3",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"source-map-loader": "^1.0.1",
"ts-loader": "^8.0.2",
"ts-node": "^8.10.2",
"tslib": "^2.0.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-loader": "^3.6.0",
"typescript": "^3.9.7",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@aws-crypto/sha256-js": "1.1.0",
"@aws-sdk/signature-v4": "3.5.0",
"@types/mime": "^2.0.3",
"esbuild": "^0.17.19",
"mime": "^2.5.2",
"path-browserify": "^1.0.1",
"xml2js": "^0.4.23"
},
"peerDependencies": {
"@aws-crypto/sha256-js": "1.1.0",
"@aws-sdk/signature-v4": "3.5.0",
"rxjs": "6.5.3",
"tslib": "1.10.0",
"xml2js": "0.4.23"
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"parser": "typescript"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -c tslint.json -p tsconfig.json --fix",
"git add"
]
}
}