forked from transloadit/uppy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
200 lines (200 loc) · 8.37 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"private": true,
"name": "uppy-build",
"version": "0.0.0",
"description": "Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:",
"lint-staged": {
"*.js": "eslint",
"*.md": "remark -f -q -i .gitignore"
},
"remarkConfig": {
"plugins": [
"remark-lint-uppy"
]
},
"size-limit": [
{
"path": "packages/uppy/index.js"
}
],
"pre-commit": "lint:staged",
"license": "MIT",
"engines": {
"npm": "7.x"
},
"workspaces": [
"examples/*",
"packages/@uppy/*",
"packages/uppy",
"private/*",
"website"
],
"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.11.1",
"@babel/eslint-parser": "7.11.3",
"@babel/eslint-plugin": "7.11.3",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-transform-object-assign": "7.10.4",
"@babel/plugin-transform-react-jsx": "7.10.4",
"@babel/polyfill": "7.10.4",
"@babel/preset-env": "7.11.0",
"@babel/register": "7.10.5",
"@goto-bus-stop/envify": "5.0.0",
"@jamen/lorem": "0.2.0",
"@size-limit/preset-big-lib": "4.5.6",
"@wdio/cli": "5.18.6",
"@wdio/local-runner": "5.18.6",
"@wdio/mocha-framework": "5.18.6",
"@wdio/sauce-service": "5.16.10",
"adm-zip": "0.4.14",
"aliasify": "2.1.0",
"autoprefixer": "9.7.4",
"aws-sdk": "^2.715.0",
"babel-jest": "26.3.0",
"babel-plugin-inline-package-json": "2.0.0",
"babelify": "10.0.0",
"brake": "1.0.1",
"browser-sync": "2.26.7",
"browserify": "16.5.2",
"chai": "4.2.0",
"chalk": "2.4.2",
"concat-stream": "^2.0.0",
"cssnano": "4.1.10",
"deep-freeze": "^0.0.1",
"disc": "1.3.3",
"es6-promise": "4.2.8",
"eslint": "7.22.0",
"eslint-config-transloadit": "^1.2.0",
"eslint-plugin-compat": "3.8.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-jsdoc": "30.2.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prefer-import": "0.0.1",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.22.0",
"events.once": "2.0.2",
"execa": "4.0.0",
"exorcist": "1.0.1",
"express": "^4.17.1",
"fakefile": "0.0.9",
"github-contributors-list": "1.2.4",
"glob": "7.1.6",
"globby": "9.2.0",
"http-proxy": "1.18.1",
"isomorphic-fetch": "2.2.1",
"jest": "26.4.0",
"json3": "3.3.3",
"last-commit-message": "1.0.0",
"lerna": "^3.22.1",
"lint-staged": "9.5.0",
"mime-types": "2.1.26",
"minify-stream": "2.0.1",
"minimist": "^1.2.5",
"mkdirp": "0.5.1",
"multi-glob": "1.0.2",
"nock": "9.6.1",
"nodemon": "1.19.4",
"npm-auth-to-token": "1.0.0",
"npm-packlist": "1.4.8",
"npm-run-all": "4.1.5",
"onchange": "4.1.0",
"pacote": "9.5.12",
"postcss": "7.0.26",
"postcss-dir-pseudo-class": "^5.0.0",
"postcss-logical": "^4.0.2",
"postcss-safe-important": "1.2.0",
"pre-commit": "1.2.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"remark-cli": "^8.0.1",
"remark-lint-uppy": "file:private/remark-lint-uppy",
"replacestream": "^4.0.3",
"resolve": "^1.17.0",
"rimraf": "2.7.1",
"sass": "1.29.0",
"size-limit": "4.5.6",
"stringify-object": "3.3.0",
"tar": "4.4.13",
"temp-write": "3.4.0",
"tinyify": "3.0.0",
"tsd": "^0.11.0",
"tsify": "5.0.1",
"tus-node-server": "0.3.2",
"typescript": "3.9.3",
"verdaccio": "^4.8.0",
"watchify": "3.11.1",
"webdriverio": "5.18.6",
"webpack": "4.44.1",
"whatwg-fetch": "3.6.2"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"build:bundle": "node ./bin/build-bundle.js",
"build:clean": "rm -rf packages/*/lib packages/@uppy/*/lib packages/*/dist packages/@uppy/*/dist",
"build:companion": "npm run --prefix ./packages/@uppy/companion build",
"build:css": "node ./bin/build-css.js",
"build:svelte": "npm run --prefix ./packages/@uppy/svelte build",
"build:js": "npm-run-all build:lib build:svelte build:companion build:locale-pack build:bundle",
"build:lib": "node ./bin/build-lib.js",
"build:locale-pack": "node ./bin/locale-packs.js build",
"build": "npm-run-all --parallel build:js build:css --serial size",
"contributors:save": "node ./bin/update-contributors.js",
"dev:browsersync": "browser-sync start --no-open --no-ghost-mode false --server examples/dev --index Dashboard.html --port 3452 --serveStatic packages/uppy/dist --files \"examples/dev/output/*.js, packages/uppy/dist/uppy.min.css, packages/uppy/lib/**/*\"",
"dev:watch-sandbox": "npm run --prefix examples/dev watch:sandbox",
"dev:with-companion": "npm-run-all --parallel start:companion dev:watch-sandbox watch:js:lib watch:css dev:browsersync",
"dev": "npm-run-all --parallel dev:watch-sandbox watch:js:lib watch:css dev:browsersync",
"example": "node bin/run-example",
"lint:fix": "npm run lint -- --fix",
"lint:markdown": "remark -f -q . -i .gitignore",
"lint:staged": "lint-staged",
"lint": "eslint . --cache",
"release": "bash ./bin/release",
"size": "echo 'JS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.js | gzip | wc -c && echo 'CSS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.css | gzip | wc -c",
"start:companion": "bash ./bin/companion",
"start": "npm-run-all --parallel watch start:companion web:start",
"test:companion": "npm run --prefix ./packages/@uppy/companion test",
"test:endtoend:build-ci": "bash ./bin/endtoend-build-ci",
"test:endtoend:build": "bash ./bin/endtoend-build",
"test:endtoend:local": "npm run test:endtoend:build && wdio test/endtoend/wdio.local.conf.js",
"test:endtoend:providers": "npm run test:endtoend:build && . ./test/endtoend/providers/env.sh && wdio test/endtoend/wdio.local.conf.js --spec test/endtoend/providers/provider.*.test.js",
"test:endtoend:prepare-ci": "npm-run-all --parallel --race test:endtoend:registry test:endtoend:build-ci",
"test:endtoend:registry": "verdaccio --listen 4002 --config test/endtoend/verdaccio.yaml",
"test:endtoend": "npm run test:endtoend:prepare-ci && wdio test/endtoend/wdio.remote.conf.js",
"test:locale-packs": "node ./bin/locale-packs.js test",
"test:type": "lerna exec --scope '@uppy/*' --ignore '@uppy/{react-native,locales,companion,provider-views,robodog,svelte}' tsd",
"test:unit": "npm run build:lib && jest",
"test:watch": "jest --watch",
"test:size": "size-limit",
"test": "npm-run-all lint test:locale-packs test:unit test:type test:companion",
"uploadcdn": "node ./bin/upload-to-cdn.js",
"version": "node ./bin/after-version-bump.js",
"watch:css": "onchange 'packages/**/*.scss' --initial --verbose -- npm run build:css",
"watch:js:bundle": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:bundle",
"watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:lib",
"watch": "npm-run-all --parallel watch:**",
"web:build-examples": "cd website && node build-examples.js",
"web:build": "npm-run-all web:inject-disc web:inject-bundles-misc web:generate web:build-examples web:inject-frontpagecodesample",
"web:bundle-watch-inject": "onchange 'packages/uppy/dist/**/*.css' 'packages/uppy/dist/**/*.js' --initial --verbose -- npm run web:inject-bundles-misc",
"web:clean": "cd website && touch db.json && npm run hexo clean",
"web:prepare-deploy": "bash ./bin/prepare-web-deploy",
"web:generate": "cd website && touch db.json && npm run hexo generate",
"web:inject-bundles-misc": "cd website && node inject.js",
"web:inject-disc": "npm run build:lib && node ./bin/disc.js",
"web:inject-frontpagecodesample": "npm run web:generate && cp -f website/public/frontpage-code-sample.html website/themes/uppy/layout/partials/frontpage-code-sample.html && touch website/themes/uppy/layout/index.ejs",
"web:start": "npm-run-all build:lib --parallel watch:css web:watch-examples web:bundle-watch-inject web:watch",
"web:watch-examples": "cd website && node build-examples.js watch",
"web:watch": "cd website && touch db.json && npm run hexo server"
},
"jest": {
"automock": false,
"collectCoverage": true,
"collectCoverageFrom": [
"packages/**/src/**/*.js"
],
"testMatch": [
"**/packages/**/*.test.js"
]
}
}