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