uppy/package.json
Antoine du Hamel 4bbd3b97b6 build: Add @babel/plugin-proposal-nullish-coalescing-operator babel plugin
Forces Babel to transplile `??` to ES6 syntax.
2021-08-02 16:12:14 +02:00

192 lines
7.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",
"*.md": [
"remark -f -q -i .gitignore",
"eslint --fix"
],
"*.ts": "eslint --fix"
},
"remarkConfig": {
"plugins": [
"remark-lint-uppy"
]
},
"size-limit": [
{
"path": "packages/uppy/index.js"
}
],
"pre-commit": "lint:staged",
"license": "MIT",
"engines": {
"npm": "7.x",
"node": "^v14.17.0 || >=v16.0.0"
},
"workspaces": [
"examples/*",
"packages/@uppy/*",
"packages/uppy",
"private/*",
"test/endtoend",
"website"
],
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.11.3",
"@babel/eslint-plugin": "^7.11.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.10.4",
"@babel/preset-env": "^7.14.7",
"@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",
"@types/jasmine": "file:./private/@types/jasmine",
"@types/jasminewd2": "file:./private/@types/jasmine",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"abortcontroller-polyfill": "^1.7.3",
"adm-zip": "^0.5.5",
"aliasify": "^2.1.0",
"autoprefixer": "^10.2.6",
"aws-sdk": "^2.715.0",
"babel-jest": "^27.0.6",
"babel-plugin-inline-package-json": "^2.0.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chalk": "^4.1.1",
"concat-stream": "^2.0.0",
"core-js": "~3.15.2",
"cssnano": "^5.0.6",
"dedent": "^0.7.0",
"deep-freeze": "^0.0.1",
"disc": "^1.3.3",
"eslint": "^7.22.0",
"eslint-config-transloadit": "^1.2.0",
"eslint-import-resolver-lerna": "^2.0.0",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsdoc": "^35.4.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-markdown": "^2.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-import": "^0.0.1",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.22.0",
"events.once": "^2.0.2",
"exorcist": "^2.0.0",
"fakefile": "^1.0.0",
"github-contributors-list": "^1.2.4",
"glob": "^7.1.6",
"globby": "^11.0.4",
"isomorphic-fetch": "^3.0.0",
"jest": "^27.0.6",
"last-commit-message": "^1.0.0",
"lerna": "^4.0.0",
"lint-staged": "^11.0.0",
"md-gum-polyfill": "^1.0.0",
"mime-types": "^2.1.26",
"minify-stream": "^2.0.1",
"multi-glob": "^1.0.2",
"nodemon": "^2.0.8",
"npm-auth-to-token": "^1.0.0",
"npm-packlist": "^2.2.2",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"pacote": "^11.3.4",
"postcss": "^8.2.10",
"postcss-dir-pseudo-class": "^5.0.0",
"postcss-logical": "^4.0.2",
"postcss-safe-important": "^1.2.0",
"pre-commit": "^1.2.2",
"remark-cli": "^9.0.0",
"remark-lint-uppy": "file:private/remark-lint-uppy",
"replacestream": "^4.0.3",
"resize-observer-polyfill": "^1.5.1",
"resolve": "^1.17.0",
"sass": "^1.29.0",
"size-limit": "4.5.6",
"stringify-object": "^3.3.0",
"tar": "^6.1.0",
"temp-write": "^5.0.0",
"terser": "^5.7.0",
"tinyify": "^3.0.0",
"tsd": "^0.17.0",
"tsify": "^5.0.1",
"typescript": "~4.3",
"verdaccio": "^5.1.1",
"watchify": "^4.0.0",
"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:angular": "npm run --prefix ./packages/@uppy/angular build:release",
"build:js": "npm-run-all build:lib build:companion build:locale-pack build:svelte build:angular build:bundle",
"build:lib": "node ./bin/build-lib.js",
"build:locale-pack": "node --experimental-abortcontroller ./bin/locale-packs.js build",
"build": "npm-run-all --parallel build:js build:css --serial size",
"contributors:save": "node ./bin/update-contributors.mjs",
"dev:browsersync": "npm run --prefix examples/dev start",
"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:local": "npm run --prefix ./test/endtoend test:endtoend:local",
"test:endtoend": "npm run --prefix ./test/endtoend test:endtoend",
"test:locale-packs": "node ./bin/locale-packs.js test",
"test:type": "lerna exec --scope '@uppy/*' --ignore '@uppy/{angular,react-native,locales,companion,provider-views,robodog,svelte}' tsd",
"test:unit": "npm run build:lib && jest --env jsdom",
"test:watch": "jest --env jsdom --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"
]
}
}