{
  "name": "@prezly/uploads",
  "version": "0.3.2",
  "description": "Types and utilities to handle uploaded files & images in Prezly",
  "author": "Ivan Voskoboinyk <ivan@voskoboinyk.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/prezly/uploads-js/issues"
  },
  "homepage": "https://github.com/prezly/uploads-js#readme",
  "main": "dist/commonjs/index.cjs",
  "module": "dist/esm/index.mjs",
  "types": "dist/types/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.mjs",
      "default": "./dist/commonjs/index.cjs"
    }
  },
  "scripts": {
    "clean": "npm run clean:build && npm run clean:node_modules",
    "clean:build": "rimraf dist",
    "clean:node_modules": "rimraf node_modules",
    "build": "npm run build:types && npm run build:esm && npm run build:commonjs",
    "build:esm": "babel --extensions='.ts' src/ --config-file=./babel.esm.config.json --out-dir=./dist/esm && renamer --force --find '.js' --replace '.mjs' 'dist/esm/**/*.{js,js.map}'",
    "build:commonjs": "babel --extensions='.ts' src/ --config-file=./babel.cjs.config.json --out-dir=./dist/commonjs && renamer --force --find '.js' --replace '.cjs' 'dist/commonjs/**/*.{js,js.map}'",
    "build:types": "tsc --project .",
    "test": "npm run test:build",
    "test:build": "npm run test:cjs && npm run test:esm",
    "test:esm": "node dist/esm/index.mjs",
    "test:cjs": "node dist/commonjs/index.cjs",
    "start": "npm run build --incremental --watch",
    "prettier:check": "prettier --check './src/**/*.{ts,js}'",
    "prettier:fix": "prettier --write './src/**/*.{ts,js}'",
    "prerelease": "npm run clean && npm install && npm run build",
    "release": "np"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/prezly/uploads-js.git"
  },
  "keywords": [
    "prezly",
    "typescript",
    "api",
    "upload",
    "image",
    "file"
  ],
  "devEngines": {
    "node": ">=16.0",
    "npm": ">=7.14"
  },
  "dependencies": {
    "is-plain-object": "^5.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.17.6",
    "@babel/core": "^7.17.9",
    "@babel/preset-env": "^7.16.11",
    "@babel/preset-typescript": "^7.16.7",
    "babel-plugin-add-import-extension": "^1.6.0",
    "np": "^7.5.0",
    "prettier": "^2.4.1",
    "renamer": "^4.0.0",
    "rimraf": "^3.0.2",
    "typescript": "^4.4.4"
  }
}
