{
  "name": "datocms-plugin-send-record-id",
  "homepage": "https://github.com/leanpanda-com/datocms-plugins/tree/master/send-record-id",
  "version": "0.1.2",
  "description": "Creates a sidebar button that allows a user to make a POST request to a custom url containing the record id as body.",
  "main": "index.js",
  "scripts": {
    "start": "concurrently \"yarn dev\" \"yarn localtunnel\"",
    "localtunnel": "lt -s datocms-plugin-send-record-id --port 5000",
    "dev": "NODE_ENV=development webpack-dev-server --port 5000",
    "dist": "NODE_ENV=production webpack --progress",
    "prepublishOnly": "rimraf lib dist && mkdir dist && npm run dist",
    "addToProject": "yo datocms-plugin:add-to-project",
    "lint:dev": "eslint -c .eslintrc-dev src",
    "lint:prod": "eslint src",
    "test": "jest"
  },
  "keywords": [
    "datocms",
    "datocms-plugin",
    "sidebar",
    "json-field",
    "button",
    "post"
  ],
  "files": [
    "dist",
    "docs"
  ],
  "author": "Lean Panda <info@leanpanda.com>",
  "license": "ISC",
  "datoCmsPlugin": {
    "title": "Send record ID Button",
    "previewImage": "docs/preview.gif",
    "coverImage": "docs/cover.png",
    "entryPoint": "dist/index.html",
    "pluginType": "sidebar",
    "fieldTypes": [
      "json"
    ],
    "parameters": {
      "global": [],
      "instance": [
        {
          "id": "url",
          "label": "Button Url",
          "type": "string",
          "required": true
        },
        {
          "id": "label",
          "label": "Button label",
          "type": "string",
          "hint": "Text to show on the button",
          "required": true,
          "default": "Go"
        },
        {
          "id": "hint",
          "label": "Hint",
          "type": "string",
          "hint": "What the button does",
          "required": false
        },
        {
          "id": "username",
          "label": "Username",
          "type": "string",
          "hint": "Username to be used for the basic authentication header",
          "required": false
        },
        {
          "id": "password",
          "label": "Password",
          "type": "string",
          "hint": "Password to be used for the basic authentication header",
          "required": false
        }
      ]
    }
  },
  "devDependencies": {
    "@babel/cli": "^7.0.0-beta.54",
    "@babel/core": "^7.0.0-beta.54",
    "@babel/plugin-transform-runtime": "^7.4.3",
    "@babel/preset-env": "^7.0.0-beta.54",
    "@babel/register": "^7.0.0-beta.54",
    "@babel/runtime": "^7.4.3",
    "babel-eslint": "^8.2.6",
    "babel-jest": "^24.7.1",
    "babel-loader": "^8.0.0-beta",
    "concurrently": "^4.0.1",
    "css-loader": "^1.0.0",
    "eslint": "^5.3.0",
    "eslint-config-airbnb": "^17.1.0",
    "eslint-config-airbnb-base": "^13.1.0",
    "eslint-import-resolver-webpack": "^0.10.1",
    "eslint-loader": "^2.1.0",
    "eslint-plugin-import": "^2.14.0",
    "eslint-plugin-jsx-a11y": "^6.2.1",
    "eslint-plugin-react": "^7.12.4",
    "generator-datocms-plugin": "^1.0.3",
    "html-webpack-include-assets-plugin": "^1.0.5",
    "html-webpack-inline-source-plugin": "^0.0.10",
    "html-webpack-plugin": "^3.2.0",
    "jest": "^24.7.1",
    "jest-fetch-mock": "^2.1.2",
    "localtunnel": "^1.9.1",
    "mini-css-extract-plugin": "^0.4.3",
    "node-sass": "^4.9.3",
    "sass-loader": "^7.1.0",
    "serve": "^10.0.2",
    "style-loader": "^0.23.0",
    "webpack": "^4.16.1",
    "webpack-cli": "^3.1.0",
    "webpack-dev-server": "^3.1.10",
    "yo": "^2.0.5"
  },
  "dependencies": {
    "base-64": "^0.1.0",
    "fetch-reject": "^1.3.0",
    "node-fetch": "^2.3.0"
  }
}
