mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "app",
|
|
"version": "1.0.0",
|
|
"description": "One Complete DevOps and IT Ops platform.",
|
|
"main": "index.js",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"babel-eslint": "^10.1.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.10.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"eslint-plugin-react": "^7.17.0",
|
|
"husky": "^4.2.3",
|
|
"lint-staged": "^9.5.0",
|
|
"prettier": "^1.19.1"
|
|
},
|
|
"scripts": {
|
|
"delete-all-local-branches": "git branch | grep -v 'master' | xargs git branch -D",
|
|
"lint": "prettier '**/*' --write --config .prettierrc.json && eslint '**/*.js' -c .eslintrc.json --ignore-path .eslintignore --fix"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://gitlab.com/fyipe-project/app.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://gitlab.com/fyipe-project/app/issues"
|
|
},
|
|
"homepage": "https://gitlab.com/fyipe-project/app#readme",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"./**/*.{json,yml,yaml,md}": [
|
|
"prettier --write --config .prettierrc.json",
|
|
"git add"
|
|
],
|
|
"./**/*.{js}": [
|
|
"eslint -c .eslintrc.json --ignore-path .eslintignore --fix",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|