Skip to content
Snippets Groups Projects
package.json 1.46 KiB
Newer Older
Hugo SUBTIL's avatar
Hugo SUBTIL committed
{
  "name": "cozy-konnector-template",
  "version": "1.0.0",
  "description": "",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/konnectors/template.git"
  },
  "keywords": [],
  "author": "Cozy Cloud",
  "license": "AGPL-3.0",
  "main": "./src/index.js",
  "eslintConfig": {
    "extends": [
      "cozy-app"
    ]
  },
  "eslintIgnore": [
    "build"
  ],
  "husky": {
    "hooks": {
      "pre-commit": "yarn lint"
    }
  },
  "scripts": {
    "start": "node ./src/index.js",
    "dev": "cozy-konnector-dev",
    "standalone": "cozy-konnector-standalone",
    "pretest": "npm run clean",
    "test": "konitor testit .",
    "check": "konitor check .",
    "clean": "rm -rf ./data",
    "build": "webpack",
    "lint": "eslint --fix .",
    "deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build} --repo=${DEPLOY_REPOSITORY:-git@github.com:konnectors/template.git}",
    "cozyPublish": "cozy-app-publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})",
    "travisDeployKey": "./bin/generate_travis_deploy_key"
  },
  "dependencies": {
    "cozy-konnector-libs": "4.32.0"
  },
  "devDependencies": {
    "copy-webpack-plugin": "5.0.5",
    "cozy-app-publish": "0.20.0",
    "cozy-jobs-cli": "1.10.4",
    "eslint-config-cozy-app": "1.3.3",
    "git-directory-deploy": "1.5.1",
    "husky": "3.0.9",
    "konitor": "0.10.3",
    "svgo": "1.3.2",
    "webpack": "4.41.2",
    "webpack-cli": "3.3.10"
  }
}