UNPKG

dropbox

Version:

The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.

115 lines (114 loc) 4.2 kB
{ "name": "dropbox", "version": "4.0.28", "registry": "npm", "description": "The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.", "browser": "dist/Dropbox-sdk.min.js", "main": "lib/index.js", "module": "es/index.es6.js", "jsnext:main": "es/index.es6.js", "typings": "src/index", "files": [ "*.md", "docs", "dist", "lib", "es", "generator", "src", "conf.json", "*.config.js" ], "scripts": { "publish-docs": "rm -rf generated-docs && npm run generate-docs && gh-pages -d generated-docs", "start": "node examples/javascript/server.js", "generate-tsds": "node generator/typescript/typescript-copy.js dist", "generate-docs": "jsdoc -c ./conf.json", "clean": "rimraf dist/ es/ lib/", "test": "npm run test:lint && npm run test:unit", "test:lint": "eslint src/", "test:unit": "cross-env BABEL_ENV=testing mocha --require babel-polyfill --compilers js:babel-register 'test/*.js'", "build": "npm run build:cjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:team:umd && npm run build:team:umd:min && npm run generate-tsds", "build:es": "cross-env BABEL_ENV=es babel src --out-dir es", "build:cjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", "build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/Dropbox-sdk.js -n Dropbox", "build:team:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/team/index.js -o dist/DropboxTeam-sdk.js -n DropboxTeam", "build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/Dropbox-sdk.min.js -n Dropbox", "build:team:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/team/index.js -o dist/DropboxTeam-sdk.min.js -n DropboxTeam", "size": "npm run size:umd && npm run size:umd:min", "size:umd": "echo 'Dropbox-sdk.js gzipped will weigh' $(cat dist/Dropbox-sdk.js | gzip -9 | wc -c | pretty-bytes)", "size:umd:min": "echo 'Dropbox-sdk.min.js gzipped will weigh' $(cat dist/Dropbox-sdk.min.js | gzip -9 | wc -c | pretty-bytes)" }, "keywords": [ "dropbox", "files", "sync", "sdk", "client" ], "repository": "https://github.com/dropbox/dropbox-sdk-js", "bugs": "https://github.com/dropbox/dropbox-sdk-js/issues", "author": "Riley Tomasek", "contributors": [ { "name": "James Sidhu", "email": "james.thomas.sidhu@gmail.com" }, { "name": "John Vilk", "email": "jvilk@cs.umass.edu" }, { "name": "Steve Klebanoff", "email": "steve.klebanoff@gmail.com" }, { "name": "Bohdan Tereta", "email": "Bohdan.Tereta@gmail.com" } ], "devDependencies": { "babel-cli": "^6.24.1", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-polyfill": "^6.23.0", "babel-preset-latest": "^6.24.1", "babel-register": "^6.24.1", "chai": "^4.0.2", "cross-env": "^5.0.1", "eslint": "^3.19.0", "eslint-config-airbnb": "^15.0.1", "eslint-config-airbnb-base": "^11.2.0", "eslint-plugin-import": "^2.3.0", "express": "^4.13.4", "express-middleware-rollup": "^1.1.1", "express-urlrewrite": "^1.2.0", "fetch-mock": "^5.11.0", "gh-pages": "^0.11.0", "growl": "^1.10.0", "ink-docstrap": "^1.2.1", "isomorphic-fetch": "^2.2.1", "jsdoc": "^3.6.2", "lodash": "~> 4.17.5", "mime": ">=2.0.3", "mocha": "^3.4.2", "pretty-bytes-cli": "^2.0.0", "prompt": "^1.0.0", "randomatic": "~>3.0.0", "rollup": "^0.42.0", "rollup-endpoint": "^0.2.2", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-globals": "^1.2.1", "rollup-plugin-node-resolve": "^3.0.2", "rollup-plugin-replace": "^1.1.1", "rollup-plugin-uglify": "^2.0.1", "rollup-watch": "^4.0.0", "sinon": "^2.3.2" }, "dependencies": { "buffer": "^5.0.8", "moment": "^2.19.3" } }