package-lock.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "private": true,
  3. "name": "uppy-build",
  4. "version": "0.0.0",
  5. "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:",
  6. "lint-staged": {
  7. "*.js": "eslint"
  8. },
  9. "pre-commit": "lint:staged",
  10. "license": "MIT",
  11. "devDependencies": {
  12. "@types/react": "^16.8.10",
  13. "aliasify": "^2.1.0",
  14. "autoprefixer": "^7.2.6",
  15. "babel-cli": "^6.26.0",
  16. "babel-core": "^6.26.3",
  17. "babel-jest": "^23.6.0",
  18. "babel-plugin-transform-object-assign": "^6.22.0",
  19. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  20. "babel-plugin-transform-proto-to-assign": "^6.26.0",
  21. "babel-plugin-transform-react-jsx": "^6.24.1",
  22. "babel-polyfill": "^6.26.0",
  23. "babel-preset-env": "^1.7.0",
  24. "babel-register": "^6.26.0",
  25. "babelify": "^8.0.0",
  26. "browser-resolve": "^1.11.3",
  27. "browser-sync": "^2.26.3",
  28. "browserify": "^16.2.3",
  29. "chai": "^4.2.0",
  30. "chalk": "^2.4.2",
  31. "cssnano": "^3.10.0",
  32. "disc": "^1.3.3",
  33. "enzyme": "^3.9.0",
  34. "enzyme-adapter-react-16": "^1.11.2",
  35. "eslint": "^3.19.0",
  36. "eslint-config-standard": "^10.2.1",
  37. "eslint-config-standard-preact": "^1.1.6",
  38. "eslint-plugin-compat": "^2.7.0",
  39. "eslint-plugin-import": "^2.16.0",
  40. "eslint-plugin-jest": "^21.27.2",
  41. "eslint-plugin-node": "^4.2.3",
  42. "eslint-plugin-promise": "^3.8.0",
  43. "eslint-plugin-standard": "^3.1.0",
  44. "exorcist": "^1.0.1",
  45. "fakefile": "0.0.9",
  46. "flat": "^4.1.0",
  47. "github-contributors-list": "1.2.3",
  48. "glob": "^7.1.3",
  49. "gzip-size": "^5.0.0",
  50. "isomorphic-fetch": "2.2.1",
  51. "jest": "^23.6.0",
  52. "json3": "^3.3.2",
  53. "lerna": "^3.13.1",
  54. "lint-staged": "^6.1.1",
  55. "minify-stream": "^1.2.0",
  56. "mkdirp": "0.5.1",
  57. "multi-glob": "^1.0.2",
  58. "nock": "^9.6.1",
  59. "node-sass": "^4.11.0",
  60. "npm-auth-to-token": "^1.0.0",
  61. "npm-run-all": "^4.1.5",
  62. "onchange": "^4.1.0",
  63. "postcss": "^6.0.23",
  64. "postcss-safe-important": "^1.1.0",
  65. "pre-commit": "^1.2.2",
  66. "pretty-bytes": "^5.1.0",
  67. "react": "^16.8.6",
  68. "react-dom": "^16.8.6",
  69. "redux": "^4.0.1",
  70. "replace-x": "^1.5.0",
  71. "stringify-object": "^3.3.0",
  72. "temp-write": "^3.4.0",
  73. "tinyify": "^2.5.0",
  74. "touch": "^3.1.0",
  75. "tsify": "^4.0.1",
  76. "typescript": "^2.9.2",
  77. "verdaccio": "^3.11.6",
  78. "watchify": "^3.11.1",
  79. "wdio-mocha-framework": "^0.6.4",
  80. "wdio-sauce-service": "^0.4.14",
  81. "wdio-static-server-service": "^1.0.1",
  82. "webdriverio": "^4.14.4"
  83. },
  84. "scripts": {
  85. "bootstrap": "lerna bootstrap",
  86. "build:bundle": "node ./bin/build-bundle.js",
  87. "build:clean": "rm -rf packages/*/lib packages/@uppy/*/lib packages/*/dist packages/@uppy/*/dist",
  88. "build:companion": "cd ./packages/@uppy/companion && npm run build",
  89. "build:css": "node ./bin/build-css.js",
  90. "build:js": "npm-run-all build:lib build:companion build:locale-pack build:bundle",
  91. "build:lib": "node ./bin/build-lib.js",
  92. "build:locale-pack": "node ./bin/locale-packs.js build",
  93. "build": "npm-run-all --parallel build:js build:css --serial size",
  94. "contributors:fetch": "githubcontrib --owner transloadit --repo uppy --cols 6 $([ \"${GITHUB_TOKEN:-}\" == \"\" ] && echo \"\" || echo \"--authToken ${GITHUB_TOKEN}\") --showlogin true --sortOrder desc",
  95. "contributors:save": "replace-x -m '<!--contributors-->[\\s\\S]+<!--/contributors-->' \"<!--contributors-->\n## Contributors\n\n$(npm run --silent contributors:fetch)\n<!--/contributors-->\" README.md",
  96. "dev:browsersync": "browser-sync start --no-open --no-ghost-mode false --server examples/dev --port 3452 --serveStatic packages/uppy/dist --files \"examples/dev/bundle.js, packages/uppy/dist/uppy.min.css, packages/uppy/lib/**/*\"",
  97. "dev:watch-sandbox": "cd examples/dev && npm run watch:sandbox",
  98. "dev:with-companion": "npm-run-all --parallel start:companion dev:watch-sandbox watch:js:lib watch:css dev:browsersync",
  99. "dev": "npm-run-all --parallel dev:watch-sandbox watch:js:lib watch:css dev:browsersync",
  100. "lint:fix": "npm run lint -- --fix",
  101. "lint:staged": "lint-staged",
  102. "lint": "eslint . --cache",
  103. "release": "./bin/release",
  104. "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",
  105. "start:companion": "./bin/companion",
  106. "start": "npm-run-all --parallel watch start:companion web:start",
  107. "test:companion": "cd ./packages/@uppy/companion && npm run test",
  108. "test:endtoend:build-ci": "./bin/endtoend-build-ci",
  109. "test:endtoend:build": "./bin/endtoend-build",
  110. "test:endtoend:local": "npm run test:endtoend:build && wdio test/endtoend/wdio.local.conf.js",
  111. "test:endtoend:prepare-ci": "npm-run-all --parallel --race test:endtoend:registry test:endtoend:build-ci",
  112. "test:endtoend:registry": "verdaccio --listen 4002 --config test/endtoend/verdaccio.yaml",
  113. "test:endtoend": "npm run test:endtoend:prepare-ci && wdio test/endtoend/wdio.remote.conf.js",
  114. "test:locale-packs": "node ./bin/locale-packs.js test",
  115. "test:type": "tsc -p .",
  116. "test:unit": "npm run build:lib && jest",
  117. "test:watch": "jest --watch",
  118. "test": "npm-run-all lint test:locale-packs test:unit test:type test:companion",
  119. "uploadcdn": "bin/upload-to-cdn.sh",
  120. "version": "./bin/sync-version-numbers",
  121. "watch:css": "onchange 'packages/**/*.scss' --initial --verbose -- npm run build:css",
  122. "watch:js:bundle": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:bundle",
  123. "watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:lib",
  124. "watch": "npm-run-all --parallel watch:**",
  125. "web:build-examples": "cd website && node build-examples.js",
  126. "web:build": "npm-run-all web:inject-bundles-misc web:generate web:build-examples web:inject-frontpagecodesample",
  127. "web:bundle-watch-inject": "onchange 'packages/uppy/dist/**/*.css' 'packages/uppy/dist/**/*.js' --initial --verbose -- npm run web:inject-bundles-misc",
  128. "web:clean": "cd website && touch db.json && ./node_modules/.bin/hexo clean",
  129. "web:deploy": "npm-run-all web:clean web:inject-disc web:build && ./bin/web-deploy",
  130. "web:generate": "cd website && touch db.json && ./node_modules/.bin/hexo generate",
  131. "web:inject-bundles-misc": "cd website && node inject.js",
  132. "web:inject-disc": "node ./bin/disc.js",
  133. "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",
  134. "web:install": "cd website && npm install",
  135. "web:start": "npm-run-all build:lib --parallel watch:css web:watch-examples web:bundle-watch-inject web:watch",
  136. "web:watch-examples": "cd website && node build-examples.js watch",
  137. "web:watch": "cd website && touch db.json &&./node_modules/.bin/hexo server"
  138. },
  139. "jest": {
  140. "automock": false,
  141. "collectCoverage": true,
  142. "collectCoverageFrom": [
  143. "packages/**/src/**"
  144. ],
  145. "testMatch": [
  146. "**/packages/**/*.test.js"
  147. ]
  148. },
  149. "dependencies": {}
  150. }