{
  "name": "egnyte-js-sdk",
  "version": "3.0.1",
  "description": "An SDK for Egnyte integrations",
  "main": "src/slim.js",
  "engines": {
    "node": ">=24.0.0"
  },
  "repository": {
    "type": "git",
    "url": "http://github.com/egnyte/egnyte-js-sdk.git"
  },
  "keywords": [
    "egnyte",
    "storage",
    "file",
    "filepicker"
  ],
  "author": "ztenerowicz@egnyte.com",
  "license": "Apache2",
  "scripts": {
    "clean": "rimraf dist",
    "browserify": "browserify src/egnyte.js -s Egnyte -t node-lessify -t [ babelify --presets [ @babel/preset-env ] ] -p bundle-collapser/plugin -o dist/egnyte.js && browserify src/slim.js -s Egnyte -t node-lessify -t [ babelify --presets [ @babel/preset-env ] ] -p bundle-collapser/plugin -o dist/slim.js",
    "uglify": "uglifyjs dist/egnyte.js -o dist/egnyte.min.js -c -m && uglifyjs dist/slim.js -o dist/slim.min.js -c -m",
    "copy": "copyfiles -u 1 'src/resources/**/*' dist/",
    "copy:forwarder": "node scripts/copy-forwarder.js",
    "build": "npm run clean && npm run browserify && npm run uglify && npm run copy && npm run copy:forwarder",
    "test": "jasmine",
    "test:sequential": "jasmine --random=false",
    "test-node": "jasmine",
    "test-browser": "npm run build && http-server . -p 8080 -o",
    "watch": "chokidar 'src/**/*.js' -c 'npm run build'",
    "serve": "npm run build && http-server . -p 8080",
    "serve:api": "npm run build && http-server . -p 8080 --proxy http://localhost:3000"
  },
  "dependencies": {
    "axios": "^1.13.6",
    "chunking-streams": "0.0.8",
    "pinkyswear": "^2.2.3",
    "vkey": "^1.0.1",
    "xhr": "^2.6.0"
  },
  "browser": {
    "./src/lib/api.js": "./src/lib/api-browser.js",
    "axios": "axios/dist/axios.js"
  },
  "devDependencies": {
    "@babel/core": "^7.28.5",
    "@babel/preset-env": "^7.28.5",
    "babelify": "^10.0.0",
    "browserify": "^17.0.1",
    "bundle-collapser": "^1.4.0",
    "chokidar-cli": "^3.0.0",
    "concat-stream": "^2.0.0",
    "copyfiles": "^2.4.1",
    "http-server": "^14.1.1",
    "jasmine": "^5.13.0",
    "node-lessify": "^0.2.0",
    "readable-stream": "^4.7.0",
    "rimraf": "^6.1.2",
    "through2": "^4.0.2",
    "uglify-js": "^3.19.3"
  }
}
