mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 17:16:00 +00:00
Add tests for thumbnail:* events. Show build output Try adding a non image file? fixes Add -b flags to local acceptance tests fix hanging thumbnail test Add a corrupt image revoke Require passing integration tests extended debugging? Try more browser versions it helps to pick a browser that's available sort stuff in .travis.yml and add whitespace for easier navigation [REVERT BEFORE MERGE] only run acceptance tests on this pr make sure lerna publishes stuff to local do git tag version during integration test update lerna fix install / bootstrap execution order ? --no-ci dont do npm ls because it errors with lerna set a git branch name blehbleh ughhhhhhhhhhhh onerror? no onerror i guess onerror 2 Revert "onerror 2" This reverts commit 64d88551fa1cd337b27e25d16a604dd781a15b43. onerror 3 more debug data disable browsers that work fix syntax for older browsers thumbnails suite check different edge versions abc use addeventlistener for error, which is different from onerror no clue skip thumb test in edge or whatever Re enable other browsers. re enable tasks fix edge skip this one was intentionally disabled Remove debug leftovers edge → supportschoosefile :ready → :all-generated
143 lines
6.8 KiB
JSON
143 lines
6.8 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"
|
|
},
|
|
"pre-commit": "lint-staged",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"aliasify": "^2.1.0",
|
|
"autoprefixer": "^7.2.6",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-jest": "^23.4.2",
|
|
"babel-plugin-transform-object-assign": "^6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-plugin-transform-proto-to-assign": "^6.26.0",
|
|
"babel-plugin-transform-react-jsx": "^6.24.1",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-register": "^6.26.0",
|
|
"babelify": "^8.0.0",
|
|
"browser-resolve": "^1.11.3",
|
|
"browser-sync": "^2.24.6",
|
|
"browserify": "^16.2.2",
|
|
"chai": "^4.1.2",
|
|
"chalk": "^2.4.1",
|
|
"cssnano": "^3.10.0",
|
|
"disc": "^1.3.3",
|
|
"enzyme": "^3.4.1",
|
|
"enzyme-adapter-react-16": "^1.2.0",
|
|
"es6-promise": "^4.2.4",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-standard": "^10.2.1",
|
|
"eslint-config-standard-preact": "^1.1.6",
|
|
"eslint-plugin-compat": "^2.5.1",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jest": "^21.21.0",
|
|
"eslint-plugin-node": "^4.2.3",
|
|
"eslint-plugin-promise": "^3.8.0",
|
|
"eslint-plugin-standard": "^3.1.0",
|
|
"exorcist": "^1.0.1",
|
|
"fakefile": "0.0.9",
|
|
"github-contributors-list": "1.2.3",
|
|
"glob": "^7.1.2",
|
|
"gzip-size": "^5.0.0",
|
|
"isomorphic-fetch": "2.2.1",
|
|
"jest": "^23.5.0",
|
|
"json3": "^3.3.2",
|
|
"lerna": "^3.4.0",
|
|
"lint-staged": "^6.1.1",
|
|
"minify-stream": "^1.2.0",
|
|
"mkdirp": "0.5.1",
|
|
"multi-glob": "1.0.1",
|
|
"nock": "^9.6.0",
|
|
"node-sass": "^4.9.3",
|
|
"npm-auth-to-token": "^1.0.0",
|
|
"npm-run-all": "^4.1.3",
|
|
"onchange": "^4.1.0",
|
|
"postcss": "^6.0.23",
|
|
"postcss-safe-important": "^1.1.0",
|
|
"pre-commit": "^1.2.2",
|
|
"pretty-bytes": "^5.1.0",
|
|
"react": "^16.4.2",
|
|
"react-dom": "^16.4.2",
|
|
"redux": "^4.0.0",
|
|
"replace-x": "^1.5.0",
|
|
"temp-write": "^3.4.0",
|
|
"tinyify": "^2.4.3",
|
|
"typescript": "^2.9.2",
|
|
"verdaccio": "^3.6.0",
|
|
"watchify": "^3.11.0",
|
|
"wdio-mocha-framework": "^0.5.13",
|
|
"wdio-sauce-service": "^0.4.10",
|
|
"wdio-static-server-service": "^1.0.1",
|
|
"webdriverio": "^4.13.1"
|
|
},
|
|
"scripts": {
|
|
"build:bundle": "node ./bin/build-js.js",
|
|
"build:css": "node ./bin/build-css.js",
|
|
"build:companion": "cd ./packages/@uppy/companion && npm run build",
|
|
"build:gzip": "node ./bin/gzip.js",
|
|
"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",
|
|
"build:js": "npm-run-all build:lib build:bundle",
|
|
"build:lib": "babel --version && node ./bin/build-lib.js",
|
|
"build": "npm-run-all --parallel build:js build:css build:companion --serial build:gzip size",
|
|
"clean": "rm -rf packages/*/lib packages/@uppy/*/lib && rm -rf packages/uppy/dist",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"lint": "eslint . --cache",
|
|
"lint-staged": "lint-staged",
|
|
"release": "./bin/release",
|
|
"start:companion": "sh ./bin/companion",
|
|
"start": "npm-run-all --parallel watch start:companion web:preview",
|
|
"test:registry": "verdaccio --listen 4002 --config test/endtoend/verdaccio.yaml",
|
|
"test:build": "./bin/endtoend-build",
|
|
"test:build-ci": "./bin/endtoend-build-ci",
|
|
"test:prepare-ci": "npm-run-all --parallel --race test:registry test:build-ci",
|
|
"test:acceptance": "npm run test:prepare-ci && wdio test/endtoend/wdio.remote.conf.js",
|
|
"test:acceptance:local": "npm run test:build && wdio test/endtoend/wdio.local.conf.js",
|
|
"test:unit": "jest",
|
|
"test:companion": "cd ./packages/@uppy/companion && npm run test",
|
|
"test:type": "tsc -p .",
|
|
"test": "npm run lint && npm run test:unit && npm run test:type && npm run test:companion",
|
|
"test:watch": "jest --watch",
|
|
"travis:deletecache": "travis cache --delete",
|
|
"watch:css": "onchange 'packages/**/*.scss' --initial --verbose -- npm run build:css",
|
|
"watch:js": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:bundle",
|
|
"watch": "npm-run-all --parallel watch:js watch:css",
|
|
"watch:fast": "npm-run-all --parallel watch:css web:preview",
|
|
"watch:example:browsersync": "browser-sync start --server examples/bundled-example --port 3452 --serveStatic packages/uppy/dist --files \"examples/bundled-example/bundle.js, packages/uppy/dist/uppy.min.css\"",
|
|
"watch:example:js": "cd examples/bundled-example && npm run watch",
|
|
"watch:example": "npm-run-all --parallel watch:example:js watch:css watch:example:browsersync",
|
|
"dev": "npm-run-all --parallel watch:example:js watch:css watch:example:browsersync",
|
|
"web:build": "cd website && node update.js && ./node_modules/.bin/hexo generate --silent && node build-examples.js",
|
|
"web:clean": "cd website && ./node_modules/.bin/hexo clean",
|
|
"web:deploy": "npm-run-all web:install web:disc web:build && ./bin/web-deploy",
|
|
"web:generated-docs": "cd website && node node_modules/documentation/bin/documentation.js readme ../src/index.js --readme-file=src/docs/api.md --section 'Uppy Core & Plugins' -q --github -c doc-order.json",
|
|
"web:disc": "node ./bin/disc.js",
|
|
"web:install": "cd website && npm install",
|
|
"web:bundle:update:watch": "onchange 'packages/uppy/dist/**/*.css' 'packages/uppy/dist/**/*.js' --initial --verbose -- node website/update.js",
|
|
"web:examples:watch": "cd website && node build-examples.js watch",
|
|
"web:serve": "cd website && ./node_modules/.bin/hexo server",
|
|
"web:preview": "npm-run-all build:lib --parallel web:examples:watch web:bundle:update:watch web:serve",
|
|
"web:update:frontpage:code:sample": "cd website && ./node_modules/.bin/hexo generate && cp -f public/frontpage-code-sample.html ./themes/uppy/layout/partials/frontpage-code-sample.html",
|
|
"web": "npm-run-all web:clean web:build",
|
|
"uploadcdn": "bin/upload-to-cdn.sh",
|
|
"bootstrap": "lerna bootstrap --hoist",
|
|
"contributors": "githubcontrib --owner transloadit --repo uppy --cols 6 $([ \"${GITHUB_TOKEN:-}\" == \"\" ] && echo \"\" || echo \"--authToken ${GITHUB_TOKEN}\") --showlogin true --sortOrder desc",
|
|
"contributors:save": "replace-x -m '<!--contributors-->[\\s\\S]+<!--/contributors-->' \"<!--contributors-->\n## Contributors\n\n$(npm run --silent contributors)\n<!--/contributors-->\" README.md"
|
|
},
|
|
"jest": {
|
|
"automock": false,
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"packages/**/src/**"
|
|
],
|
|
"testMatch": [
|
|
"**/packages/**/*.test.js"
|
|
]
|
|
}
|
|
}
|