prettier-config/package.json

61 lines
1.4 KiB
JSON
Raw Normal View History

2022-08-26 16:23:55 +02:00
{
"name": "@walidoux/prettier-config",
2023-04-10 20:29:13 +02:00
"version": "1.0.3",
2022-08-26 16:23:55 +02:00
"description": "Walidoux's Prettier config.",
"author": "Walid Korchi",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/walidoux/prettier-config"
},
"homepage": "https://github.com/walidoux/prettier-config/#readme",
"bugs": {
"url": "https://github.com/Walidoux/prettier-config/issues"
},
"keywords": [
"prettier",
"config"
],
"files": [
"index.js"
],
"main": "index.js",
"prettier": "./index.js",
"husky": {
"hooks": {
"pre-commit": "nano-staged"
}
},
"nano-staged": {
"**/*.js": [
"eslint --fix",
"prettier --ignore-path .eslintignore --write"
],
"**/*.{json,md,yml}": [
"prettier --ignore-path .eslintignore --write"
]
},
"scripts": {
"lint:eslint": "eslint '**/*.js' --fix",
"lint:prettier": "prettier '**/*.{js,json,md,yml}' --ignore-path .eslintignore --write --loglevel silent",
2022-08-26 16:37:26 +02:00
"lint-all": "npm-run-all lint:*",
"release": "npm login && npm publish"
2022-08-26 16:23:55 +02:00
},
"devDependencies": {
2023-04-10 20:26:43 +02:00
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
2022-08-26 16:23:55 +02:00
"eslint-plugin-prettier": "^4.2.1",
2023-02-17 11:57:08 +01:00
"husky": "8.0.3",
2022-08-26 16:23:55 +02:00
"nano-staged": "^0.8.0",
2023-04-10 20:26:43 +02:00
"np": "^7.7.0",
2022-08-26 16:23:55 +02:00
"npm-run-all": "^4.1.5",
2023-04-10 20:26:43 +02:00
"prettier": "^2.8.7"
2022-08-26 16:23:55 +02:00
},
"peerDependencies": {
2023-04-10 20:26:43 +02:00
"prettier": ">=2.8.7"
},
"publishConfig": {
"access": "public"
2022-08-26 16:23:55 +02:00
}
}