UNPKG

upload-js

Version:

File Upload Library — Upload.js gives developers AJAX multipart file uploading via XHR 🚀 Comes with Cloud Storage 🌐

84 lines (83 loc) 3.63 kB
{ "name": "upload-js", "version": "2.24.3", "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)", "description": "File Upload Library — Upload.js gives developers AJAX multipart file uploading via XHR 🚀 Comes with Cloud Storage 🌐", "license": "MIT", "main": "dist/main.js", "types": "dist/index.d.ts", "homepage": "https://www.bytescale.com/upload-js", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/bytescale/bytescale-javascript-sdk.git" }, "bugs": { "url": "https://github.com/bytescale/bytescale-javascript-sdk/issues" }, "files": [ "/dist/**/*", "/tests/**/*" ], "keywords": [ "file-upload", "file-uploader", "uploader", "upload", "front-end" ], "scripts": { "clean": "rm -rf dist && rm -f upload-js.tgz", "analyse": "npm run clean && webpack --config webpack.config.analyse.js", "prepack": "npm run clean && webpack --config webpack.config.js && tsc-alias && cp ../README.md README.md", "prepack:fat": "npm run clean && webpack --config webpack.config.fat.js && tsc-alias", "prepack:cdn": "npm run clean && webpack --config webpack.config.cdn.js && find dist -name \"*.ts\" -type f -delete && for f in dist/*.js; do cp -- \"$f\" \"${f%.js}\"; done", "postpack": "([ ! -f upload-js-*.tgz ] || mv upload-js-*.tgz upload-js.tgz) && rm README.md", "publish:executeIfReleaseCommit": "bash -c 'COMMIT=$(git log -1 --pretty=%B) && [ \"${COMMIT:0:8}\" != \"Release \" ] || npm run publish:execute'", "publish:execute": "npm run publish:cdn && npm publish && npm run publish:createGitHubRelease", "publish:createGitHubRelease": "gh release create v$(node -p \"require('./package.json').version\")", "publish:cdn": "npm run prepack:cdn && aws s3 cp --recursive --content-type application/javascript dist/ s3://upload-js-releases/upload-js/ && aws cloudfront create-invalidation --distribution-id EO4VJPLCDN8HY --paths '/upload-js/*' && aws cloudfront create-invalidation --distribution-id E250290WAJ43YY --paths '/upload-js/*'", "test": "npx wdio run tests/wdio.conf.ts --autoCompileOpts.tsNodeOpts.project=tests/tsconfig.json", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "typecheck": "tsc --noEmit" }, "dependencies": { "@upload-io/upload-api-client-upload-js": "^2.18.0", "progress-smoother": "^1.7.0" }, "devDependencies": { "@babel/cli": "7.17.6", "@babel/core": "7.17.8", "@babel/preset-env": "7.11.5", "@typescript-eslint/eslint-plugin": "4.8.1", "@typescript-eslint/parser": "4.8.1", "@wdio/cli": "^7.19.3", "@wdio/local-runner": "^7.19.3", "@wdio/mocha-framework": "^7.19.3", "@wdio/spec-reporter": "^7.19.1", "babel-loader": "8.2.3", "babel-plugin-transform-async-to-promises": "0.8.15", "chromedriver": "^115.0.0", "eslint": "7.32.0", "eslint-config-prettier": "6.15.0", "eslint-config-standard-with-typescript": "19.0.1", "eslint-plugin-import": "2.22.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-return-types-object-literals": "1.0.1", "eslint-plugin-standard": "4.1.0", "eslint-plugin-wdio": "^7.19.0", "ts-loader": "8.0.11", "ts-node": "^10.7.0", "tsc-alias": "1.2.10", "typescript": "4.6.2", "minimist": "1.2.6", "wdio-chromedriver-service": "^7.3.2", "wdio-wait-for": "^2.2.5", "webdriverio": "^7.19.3", "webpack": "5.5.1", "webpack-bundle-analyzer": "4.2.0", "webpack-cli": "4.10.0", "webpack-node-externals": "2.5.2" } }