-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 4.13 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@bytescale/upload-widget-jquery",
"version": "4.15.0",
"author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
"description": "jQuery File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐",
"license": "MIT",
"main": "dist/main.js",
"types": "dist/index.d.ts",
"homepage": "https://www.bytescale.com/docs/upload-widget/jquery",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/bytescale/bytescale-upload-widget-jquery.git"
},
"bugs": {
"url": "https://github.com/bytescale/bytescale-upload-widget-jquery/issues"
},
"files": [
"/dist/**/*",
"/tests/**/*"
],
"keywords": [
"jquery",
"jquery-image-picker",
"jquery-upload",
"jquery-upload-component",
"jquery-file-upload-component",
"jquery-image-crop",
"jquery-image-cropper",
"jquery-cropper",
"jquery-crop",
"jquery-progress",
"file-upload",
"uploader",
"file-uploader",
"image-uploader",
"file-picker",
"file",
"upload",
"input",
"dropzone",
"multi",
"multipart",
"ajax",
"xhr",
"plugin"
],
"scripts": {
"clean": "rm -rf dist",
"start": "webpack serve --config webpack.config.dev.js",
"prepack": "npm run clean && webpack --config webpack.config.js && tsc-alias",
"prepack:cdn": "npm run clean && webpack --config webpack.config.cdn.js && find dist -name \"*.ts\" -type f -delete && for f in dist/*.js; do cp -- \"$f\" \"${f%.js}\"; done",
"publish:executeIfReleaseCommit": "bash -c 'COMMIT=$(git log -1 --pretty=%B) && [ \"${COMMIT:0:8}\" != \"Release \" ] || npm run publish:execute'",
"publish:execute": "npm run publish:cdn && npm publish && npm run publish:createGitHubRelease",
"publish:createGitHubRelease": "gh release create v$(node -p \"require('./package.json').version\")",
"publish:cdn": "npm run prepack:cdn && aws s3 cp --recursive --content-type application/javascript dist/ s3://upload-js-releases/upload-widget-jquery/ && aws cloudfront create-invalidation --distribution-id E250290WAJ43YY --paths '/upload-widget-jquery/*'",
"test": "npx wdio run tests/wdio.conf.ts --autoCompileOpts.tsNodeOpts.project=tests/tsconfig.json",
"prepare": "husky install"
},
"lint-staged": {
"*/**/*.{js,jsx,ts,tsx}": [
"eslint"
],
"*/**/*.{ts,tsx}": [
"bash -c \"tsc --noEmit\""
],
"*.{js,jsx,ts,tsx,json,css,html,md,yaml,yml}": [
"prettier -w"
]
},
"peerDependencies": {
"jquery": "^3.6.0"
},
"dependencies": {
"@bytescale/upload-widget": "^4.27.0"
},
"devDependencies": {
"@babel/cli": "7.24.1",
"@babel/core": "7.24.1",
"@babel/preset-env": "7.24.1",
"@types/jest": "27.4.1",
"@types/jquery": "3.5.14",
"@typescript-eslint/eslint-plugin": "4.8.1",
"@typescript-eslint/parser": "4.8.1",
"@wdio/cli": "7.7.5",
"@wdio/local-runner": "7.7.5",
"@wdio/mocha-framework": "7.7.5",
"@wdio/spec-reporter": "7.7.5",
"babel-loader": "8.3.0",
"babel-plugin-transform-async-to-promises": "0.8.18",
"chromedriver": "^126.0.4",
"enzyme": "3.11.0",
"eslint": "7.32.0",
"eslint-config-prettier": "6.15.0",
"eslint-config-standard-with-typescript": "19.0.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-return-types-object-literals": "1.0.1",
"eslint-plugin-standard": "4.1.0",
"eslint-plugin-wdio": "^7.19.0",
"html-webpack-plugin": "5.6.0",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "10.5.1",
"prettier": "2.8.8",
"resize-observer-polyfill": "^1.5.1",
"ts-jest": "27.1.3",
"ts-loader": "9.5.1",
"ts-node": "^10.7.0",
"tsc-alias": "1.2.10",
"typescript": "4.7.4",
"wdio-chromedriver-service": "^7.3.2",
"wdio-wait-for": "^2.2.5",
"webdriverio": "7.7.5",
"webpack": "5.94.0",
"webpack-bundle-analyzer": "4.2.0",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.15.2",
"webpack-node-externals": "2.5.2"
}
}