|
@@ -54,20 +54,18 @@
|
|
"@typescript-eslint/parser": "^5.0.0",
|
|
"@typescript-eslint/parser": "^5.0.0",
|
|
"@uppy-dev/remark-lint-uppy": "workspace:*",
|
|
"@uppy-dev/remark-lint-uppy": "workspace:*",
|
|
"adm-zip": "^0.5.5",
|
|
"adm-zip": "^0.5.5",
|
|
- "aliasify": "^2.1.0",
|
|
|
|
"autoprefixer": "^10.2.6",
|
|
"autoprefixer": "^10.2.6",
|
|
"aws-sdk": "^2.1038.0",
|
|
"aws-sdk": "^2.1038.0",
|
|
"babel-jest": "^27.0.6",
|
|
"babel-jest": "^27.0.6",
|
|
"babel-plugin-inline-package-json": "^2.0.0",
|
|
"babel-plugin-inline-package-json": "^2.0.0",
|
|
- "babelify": "^10.0.0",
|
|
|
|
- "browserify": "^17.0.0",
|
|
|
|
"chalk": "^4.1.1",
|
|
"chalk": "^4.1.1",
|
|
"concat-stream": "^2.0.0",
|
|
"concat-stream": "^2.0.0",
|
|
"core-js": "~3.19.3",
|
|
"core-js": "~3.19.3",
|
|
"cssnano": "^5.0.6",
|
|
"cssnano": "^5.0.6",
|
|
"dedent": "^0.7.0",
|
|
"dedent": "^0.7.0",
|
|
"deep-freeze": "^0.0.1",
|
|
"deep-freeze": "^0.0.1",
|
|
- "disc": "^1.3.3",
|
|
|
|
|
|
+ "esbuild": "^0.14.1",
|
|
|
|
+ "esbuild-plugin-babel": "^0.2.3",
|
|
"eslint": "^8.0.0",
|
|
"eslint": "^8.0.0",
|
|
"eslint-config-transloadit": "^2.0.0",
|
|
"eslint-config-transloadit": "^2.0.0",
|
|
"eslint-plugin-compat": "^4.0.0",
|
|
"eslint-plugin-compat": "^4.0.0",
|
|
@@ -114,16 +112,12 @@
|
|
"stylelint-scss": "^3.20.1",
|
|
"stylelint-scss": "^3.20.1",
|
|
"tar": "^6.1.0",
|
|
"tar": "^6.1.0",
|
|
"temp-write": "^5.0.0",
|
|
"temp-write": "^5.0.0",
|
|
- "terser": "^5.7.0",
|
|
|
|
- "tinyify": "^3.0.0",
|
|
|
|
"tsd": "^0.17.0",
|
|
"tsd": "^0.17.0",
|
|
- "tsify": "^5.0.1",
|
|
|
|
"typescript": "~4.4",
|
|
"typescript": "~4.4",
|
|
- "verdaccio": "^5.1.1",
|
|
|
|
- "watchify": "^4.0.0"
|
|
|
|
|
|
+ "verdaccio": "^5.1.1"
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
- "build:bundle": "yarn node ./bin/build-bundle.js",
|
|
|
|
|
|
+ "build:bundle": "yarn node ./bin/build-bundle.mjs",
|
|
"build:clean": "rm -rf packages/*/lib packages/@uppy/*/lib packages/*/dist packages/@uppy/*/dist",
|
|
"build:clean": "rm -rf packages/*/lib packages/@uppy/*/lib packages/*/dist packages/@uppy/*/dist",
|
|
"build:companion": "yarn workspace @uppy/companion build",
|
|
"build:companion": "yarn workspace @uppy/companion build",
|
|
"build:css": "yarn node ./bin/build-css.js",
|
|
"build:css": "yarn node ./bin/build-css.js",
|
|
@@ -159,22 +153,23 @@
|
|
"test": "npm-run-all lint test:locale-packs test:unit test:type test:companion",
|
|
"test": "npm-run-all lint test:locale-packs test:unit test:type test:companion",
|
|
"uploadcdn": "yarn node ./bin/upload-to-cdn.js",
|
|
"uploadcdn": "yarn node ./bin/upload-to-cdn.js",
|
|
"version": "yarn node ./bin/after-version-bump.js",
|
|
"version": "yarn node ./bin/after-version-bump.js",
|
|
- "watch:css": "onchange 'packages/**/*.scss' --initial --verbose -- yarn run build:css",
|
|
|
|
|
|
+ "watch:css": "onchange 'packages/{@uppy/,}*/src/*.scss' --initial --verbose -- yarn run build:css",
|
|
"watch:js:bundle": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- yarn run build:bundle",
|
|
"watch:js:bundle": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- yarn run build:bundle",
|
|
"watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- yarn run build:lib",
|
|
"watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- yarn run build:lib",
|
|
- "watch": "npm-run-all --parallel watch:**",
|
|
|
|
|
|
+ "watch:js": "npm-run-all --parallel watch:js:bundle watch:js:lib",
|
|
|
|
+ "watch": "npm-run-all --parallel watch:css watch:js",
|
|
"web:build-examples": "cd website && node build-examples.js",
|
|
"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:build": "npm-run-all 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 -- yarn run web:inject-bundles-misc",
|
|
"web:bundle-watch-inject": "onchange 'packages/uppy/dist/**/*.css' 'packages/uppy/dist/**/*.js' --initial --verbose -- yarn run web:inject-bundles-misc",
|
|
"web:clean": "cd website && touch db.json && yarn run hexo clean",
|
|
"web:clean": "cd website && touch db.json && yarn run hexo clean",
|
|
"web:prepare-deploy": "bash ./bin/prepare-web-deploy",
|
|
"web:prepare-deploy": "bash ./bin/prepare-web-deploy",
|
|
"web:generate": "cd website && touch db.json && yarn run hexo generate",
|
|
"web:generate": "cd website && touch db.json && yarn run hexo generate",
|
|
"web:inject-bundles-misc": "cd website && node inject.js",
|
|
"web:inject-bundles-misc": "cd website && node inject.js",
|
|
- "web:inject-disc": "yarn run build:lib && node ./bin/disc.js",
|
|
|
|
"web:inject-frontpagecodesample": "yarn 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:inject-frontpagecodesample": "yarn 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 && yarn run hexo server"
|
|
|
|
|
|
+ "web:start-server": "cd website && touch db.json && node inject.js && node build-examples.js && yarn run hexo server",
|
|
|
|
+ "web:start": "yarn run web:start-server",
|
|
|
|
+ "web:watch-examples": "yarn run web:bundle-watch-inject && yarn run web:watch",
|
|
|
|
+ "web:watch": "npm-run-all build:lib --parallel watch:css web:watch-examples web:bundle-watch-inject web:start_server"
|
|
},
|
|
},
|
|
"jest": {
|
|
"jest": {
|
|
"automock": false,
|
|
"automock": false,
|
|
@@ -190,6 +185,6 @@
|
|
"@types/redis": "2",
|
|
"@types/redis": "2",
|
|
"@types/eslint@^7.2.13": "^8.2.0",
|
|
"@types/eslint@^7.2.13": "^8.2.0",
|
|
"npm-auth-to-token@1.0.0": "patch:npm-auth-to-token@npm:1.0.0#.yarn/patches/npm-auth-to-token-npm-1.0.0-c288ce201f",
|
|
"npm-auth-to-token@1.0.0": "patch:npm-auth-to-token@npm:1.0.0#.yarn/patches/npm-auth-to-token-npm-1.0.0-c288ce201f",
|
|
- "babel-plugin-transform-commonjs@1.1.6": "patch:babel-plugin-transform-commonjs@npm:1.1.6#.yarn/patches/babel-plugin-transform-commonjs-npm-1.1.6-0007fa2809"
|
|
|
|
|
|
+ "babel-plugin-transform-commonjs@2.1.6": "patch:babel-plugin-transform-commonjs@npm:1.1.6#.yarn/patches/babel-plugin-transform-commonjs-npm-1.1.6-0007fa2809"
|
|
}
|
|
}
|
|
}
|
|
}
|