Skip to content
Snippets Groups Projects
package.json 2.03 KiB
Newer Older
Hugo SUBTIL's avatar
Hugo SUBTIL committed
{
Bastien DUMONT's avatar
Bastien DUMONT committed
  "version": "1.2.3",
Hugo SUBTIL's avatar
Hugo SUBTIL committed
  "description": "",
  "repository": {
Hugo SUBTIL's avatar
Hugo SUBTIL committed
  },
  "keywords": [],
  "main": "./src/index.js",
Hugo SUBTIL's avatar
Hugo SUBTIL committed
  "author": "Cozy Cloud",
  "license": "AGPL-3.0",
  "eslintConfig": {
    "extends": [
      "cozy-app"
    ]
  },
  "eslintIgnore": [
    "build",
    "data"
  ],
  "husky": {
    "hooks": {
      "pre-commit": "yarn lint"
    }
  },
Bastien DUMONT's avatar
Bastien DUMONT committed
    "setupFiles": [
      "./setupTests.js"
    ]
Hugo SUBTIL's avatar
Hugo SUBTIL committed
  "scripts": {
Bastien DUMONT's avatar
Bastien DUMONT committed
    "build": "webpack",
    "clean": "rm -rf ./data",
    "cozyPublish": "cozy-app-publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})",
    "deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build}",
Bastien DUMONT's avatar
Bastien DUMONT committed
    "deploy-dev": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build-dev}",
Hugo SUBTIL's avatar
Hugo SUBTIL committed
    "dev": "cozy-konnector-dev",
Bastien DUMONT's avatar
Bastien DUMONT committed
    "lint": "eslint --fix .",
    "onDeleteAccount:standalone": "cozy-konnector-standalone src/onDeleteAccount.js",
    "onDeleteAccount": "cozy-konnector-dev src/onDeleteAccount.js",
Hugo SUBTIL's avatar
Hugo SUBTIL committed
    "pretest": "npm run clean",
Bastien DUMONT's avatar
Bastien DUMONT committed
    "release": "standard-version --no-verify",
    "standalone": "cozy-konnector-standalone",
    "standalone-no-data": "NO_DATA=true cozy-konnector-standalone src/index.js",
Bastien DUMONT's avatar
Bastien DUMONT committed
    "start": "node ./src/index.js",
    "test:cov": "jest --coverage",
    "test": "jest",
Hugo SUBTIL's avatar
Hugo SUBTIL committed
    "travisDeployKey": "./bin/generate_travis_deploy_key"
  },
  "dependencies": {
Hugo SUBTIL's avatar
Hugo SUBTIL committed
  },
  "devDependencies": {
Hugo SUBTIL's avatar
Hugo SUBTIL committed
  }
}