package.json 947 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
{
  "name": "hexagonal-pagination",
  "version": "0.0.0",
  "description": "Simple example of pagination in an hexagonal architecture",
  "private": true,
  "license": "Apache2",
  "cacheDirectories": [
    "node_modules"
  ],
  "devDependencies": {
    "husky": "1.3.1",
    "lint-staged": "8.1.4",
    "onchange": "^7.0.2",
    "prettier": "^1.19.1",
    "prettier-plugin-java": "^0.6.0"
  },
  "engines": {
    "node": ">= 12.16.1",
    "npm": ">= 6.13.4"
  },
  "lint-staged": {
    "**/*.{md,json,js,ts,tsx,css,scss,yml,yaml,java}": [
      "prettier --write",
      "git add"
    ]
  },
  "scripts": {
    "prettier:java": "prettier --write \"**/*.java\" --plugin=./node_modules/prettier-plugin-java",
    "prettier:java:watch": "onchange '**/*.java' -- prettier --write {{changed}} --plugin=./node_modules/prettier-plugin-java",
    "prettier:java:check": "prettier --check \"**/*.java\" --plugin=./node_modules/prettier-plugin-java"
  }
}