mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-21 17:29:43 +00:00
a bad result from adding the examples as dependencies of the root repository is that they now don't have access to the npm binaries they need to run in their own folder, because they are installed into the root repository instead. this works around that issue. we may need to consider undoing that change and making the examples work as standalone projects again, that's easier to understand. fixes #2024 for now.
255 lines
12 KiB
JSON
255 lines
12 KiB
JSON
{
|
|
"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"
|
|
},
|
|
"size-limit": [
|
|
{
|
|
"path": "packages/uppy/index.js"
|
|
}
|
|
],
|
|
"pre-commit": "lint:staged",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@uppy-example/aws-companion": "file:examples/aws-companion",
|
|
"@uppy-example/aws-presigned-url": "file:examples/aws-presigned-url",
|
|
"@uppy-example/bundled": "file:examples/bundled",
|
|
"@uppy-example/cdn-example": "file:examples/cdn-example",
|
|
"@uppy-example/custom-provider": "file:examples/custom-provider",
|
|
"@uppy-example/dev": "file:examples/dev",
|
|
"@uppy-example/digitalocean-spaces": "file:examples/digitalocean-spaces",
|
|
"@uppy-example/multiple-instances": "file:examples/multiple-instances",
|
|
"@uppy-example/node-xhr": "file:examples/node-xhr",
|
|
"@uppy-example/php-xhr": "file:examples/php-xhr",
|
|
"@uppy-example/python-xhr": "file:examples/python-xhr",
|
|
"@uppy-example/react-example": "file:examples/react-example",
|
|
"@uppy-example/react-native-expo": "file:examples/react-native-expo",
|
|
"@uppy-example/redux": "file:examples/redux",
|
|
"@uppy-example/transloadit": "file:examples/transloadit",
|
|
"@uppy-example/transloadit-textarea": "file:examples/transloadit-textarea",
|
|
"@uppy-example/uppy-with-companion": "file:examples/uppy-with-companion",
|
|
"@uppy-example/xhr-bundle": "file:examples/xhr-bundle",
|
|
"@uppy/aws-s3": "file:packages/@uppy/aws-s3",
|
|
"@uppy/aws-s3-multipart": "file:packages/@uppy/aws-s3-multipart",
|
|
"@uppy/companion": "file:packages/@uppy/companion",
|
|
"@uppy/companion-client": "file:packages/@uppy/companion-client",
|
|
"@uppy/core": "file:packages/@uppy/core",
|
|
"@uppy/dashboard": "file:packages/@uppy/dashboard",
|
|
"@uppy/drag-drop": "file:packages/@uppy/drag-drop",
|
|
"@uppy/dropbox": "file:packages/@uppy/dropbox",
|
|
"@uppy/facebook": "file:packages/@uppy/facebook",
|
|
"@uppy/file-input": "file:packages/@uppy/file-input",
|
|
"@uppy/form": "file:packages/@uppy/form",
|
|
"@uppy/golden-retriever": "file:packages/@uppy/golden-retriever",
|
|
"@uppy/google-drive": "file:packages/@uppy/google-drive",
|
|
"@uppy/informer": "file:packages/@uppy/informer",
|
|
"@uppy/instagram": "file:packages/@uppy/instagram",
|
|
"@uppy/locales": "file:packages/@uppy/locales",
|
|
"@uppy/onedrive": "file:packages/@uppy/onedrive",
|
|
"@uppy/progress-bar": "file:packages/@uppy/progress-bar",
|
|
"@uppy/provider-views": "file:packages/@uppy/provider-views",
|
|
"@uppy/react": "file:packages/@uppy/react",
|
|
"@uppy/react-native": "file:packages/@uppy/react-native",
|
|
"@uppy/redux-dev-tools": "file:packages/@uppy/redux-dev-tools",
|
|
"@uppy/robodog": "file:packages/@uppy/robodog",
|
|
"@uppy/status-bar": "file:packages/@uppy/status-bar",
|
|
"@uppy/store-default": "file:packages/@uppy/store-default",
|
|
"@uppy/store-redux": "file:packages/@uppy/store-redux",
|
|
"@uppy/thumbnail-generator": "file:packages/@uppy/thumbnail-generator",
|
|
"@uppy/transloadit": "file:packages/@uppy/transloadit",
|
|
"@uppy/tus": "file:packages/@uppy/tus",
|
|
"@uppy/url": "file:packages/@uppy/url",
|
|
"@uppy/utils": "file:packages/@uppy/utils",
|
|
"@uppy/webcam": "file:packages/@uppy/webcam",
|
|
"@uppy/xhr-upload": "file:packages/@uppy/xhr-upload",
|
|
"uppy": "file:packages/uppy",
|
|
"uppy.io": "file:website"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.7.5",
|
|
"@babel/core": "^7.7.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
|
"@babel/plugin-transform-object-assign": "^7.7.4",
|
|
"@babel/plugin-transform-proto-to-assign": "^7.7.4",
|
|
"@babel/plugin-transform-react-jsx": "^7.7.4",
|
|
"@babel/polyfill": "^7.4.4",
|
|
"@babel/preset-env": "^7.7.6",
|
|
"@babel/register": "^7.7.4",
|
|
"@jamen/lorem": "^0.2.0",
|
|
"@lerna/run": "^3.20.0",
|
|
"@octokit/rest": "^16.25.0",
|
|
"@size-limit/preset-big-lib": "^2.2.2",
|
|
"@types/aws-serverless-express": "^3.0.1",
|
|
"@types/compression": "0.0.36",
|
|
"@types/connect-redis": "0.0.7",
|
|
"@types/cookie-parser": "^1.4.1",
|
|
"@types/cors": "^2.8.3",
|
|
"@types/express-session": "^1.15.6",
|
|
"@types/helmet": "0.0.37",
|
|
"@types/jsonwebtoken": "^7.2.5",
|
|
"@types/lodash.merge": "^4.6.3",
|
|
"@types/morgan": "^1.7.35",
|
|
"@types/ms": "^0.7.30",
|
|
"@types/node": "^12.12.17",
|
|
"@types/react": "^16.9.16",
|
|
"@types/request": "^2.0.9",
|
|
"@types/tus-js-client": "^1.8.0",
|
|
"@types/uuid": "^3.4.3",
|
|
"@types/ws": "^3.2.1",
|
|
"@wdio/cli": "^5.16.15",
|
|
"@wdio/local-runner": "^5.16.15",
|
|
"@wdio/mocha-framework": "^5.16.15",
|
|
"@wdio/sauce-service": "^5.16.10",
|
|
"aliasify": "^2.1.0",
|
|
"autoprefixer": "^9.7.3",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-plugin-inline-package-json": "^2.0.0",
|
|
"babelify": "^10.0.0",
|
|
"brake": "^1.0.1",
|
|
"browser-resolve": "^1.11.3",
|
|
"browser-sync": "^2.26.5",
|
|
"browserify": "^16.2.3",
|
|
"chai": "^4.2.0",
|
|
"chalk": "2.4.2",
|
|
"cssnano": "^4.1.10",
|
|
"disc": "^1.3.3",
|
|
"envify": "^4.1.0",
|
|
"enzyme": "^3.9.0",
|
|
"enzyme-adapter-react-16": "^1.11.2",
|
|
"es6-promise": "4.2.5",
|
|
"eslint": "^6.7.2",
|
|
"eslint-config-standard": "^14.1.0",
|
|
"eslint-config-standard-jsx": "^8.1.0",
|
|
"eslint-plugin-compat": "^3.3.0",
|
|
"eslint-plugin-import": "^2.19.1",
|
|
"eslint-plugin-jest": "^22.17.0",
|
|
"eslint-plugin-jsdoc": "^15.5.3",
|
|
"eslint-plugin-node": "^10.0.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.17.0",
|
|
"eslint-plugin-standard": "^4.0.1",
|
|
"events.once": "^2.0.2",
|
|
"exorcist": "^1.0.1",
|
|
"express": "4.17.1",
|
|
"fakefile": "0.0.9",
|
|
"flat": "^4.1.0",
|
|
"github-contributors-list": "1.2.3",
|
|
"glob": "^7.1.3",
|
|
"globby": "^9.2.0",
|
|
"gzip-size": "^5.0.0",
|
|
"http-proxy": "^1.18.0",
|
|
"isomorphic-fetch": "2.2.1",
|
|
"jest": "^24.9.0",
|
|
"json3": "^3.3.2",
|
|
"last-commit-message": "^1.0.0",
|
|
"lerna": "^3.17.0",
|
|
"lint-staged": "^9.5.0",
|
|
"mime-types": "2.1.24",
|
|
"minify-stream": "^1.2.0",
|
|
"mkdirp": "0.5.1",
|
|
"multi-glob": "^1.0.2",
|
|
"namespace-emitter": "^2.0.1",
|
|
"nock": "^9.6.1",
|
|
"node-sass": "^4.11.0",
|
|
"nodemon": "^1.17.5",
|
|
"npm-auth-to-token": "^1.0.0",
|
|
"npm-packlist": "^1.4.7",
|
|
"npm-run-all": "^4.1.5",
|
|
"onchange": "^4.1.0",
|
|
"pacote": "^9.5.11",
|
|
"postcss": "^7.0.24",
|
|
"postcss-safe-important": "^1.1.0",
|
|
"pre-commit": "^1.2.2",
|
|
"pretty-bytes": "^5.1.0",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6",
|
|
"redux": "^4.0.1",
|
|
"replace-x": "1.5.0",
|
|
"rimraf": "^2.6.3",
|
|
"stringify-object": "^3.3.0",
|
|
"supertest": "3.0.0",
|
|
"tar": "^4.4.8",
|
|
"temp-write": "^3.4.0",
|
|
"tinyify": "^2.5.0",
|
|
"touch": "^3.1.0",
|
|
"tsify": "^4.0.1",
|
|
"tus-node-server": "^0.3.2",
|
|
"typescript": "^3.7.3",
|
|
"verdaccio": "^4.2.1",
|
|
"watchify": "^3.11.1",
|
|
"webdriverio": "^5.16.15",
|
|
"webpack": "^4.41.1",
|
|
"whatwg-fetch": "3.0.0"
|
|
},
|
|
"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": "cd ./packages/@uppy/companion && npm run build",
|
|
"build:css": "node ./bin/build-css.js",
|
|
"build:js": "npm-run-all build:lib 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:fetch": "bash -c 'githubcontrib --owner transloadit --repo uppy --cols 6 $([ \"${GITHUB_TOKEN:-}\" = \"\" ] && echo \"\" || echo \"--authToken ${GITHUB_TOKEN:-}\") --showlogin true --sortOrder desc'",
|
|
"contributors:save": "bash -c 'replace-x -m \"<!--contributors-->[\\s\\S]+<!--/contributors-->\" \"<!--contributors-->\n## Contributors\n\n$(npm run --silent contributors:fetch)\n<!--/contributors-->\" README.md'",
|
|
"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": "cd examples/dev && npm run 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:staged": "lint-staged",
|
|
"lint": "eslint . --cache",
|
|
"release": "./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": "./bin/companion",
|
|
"start": "npm-run-all --parallel watch start:companion web:start",
|
|
"test:companion": "cd ./packages/@uppy/companion && npm run test",
|
|
"test:endtoend:build-ci": "./bin/endtoend-build-ci",
|
|
"test:endtoend:build": "./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": "tsc -p .",
|
|
"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-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 && ./node_modules/.bin/hexo clean",
|
|
"web:deploy": "npm-run-all build web:clean web:inject-disc web:build && ./bin/web-deploy",
|
|
"web:generate": "cd website && touch db.json && ./node_modules/.bin/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 && ./node_modules/.bin/hexo server"
|
|
},
|
|
"jest": {
|
|
"automock": false,
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"packages/**/src/**/*.js"
|
|
],
|
|
"testMatch": [
|
|
"**/packages/**/*.test.js"
|
|
]
|
|
}
|
|
}
|