2019-12-31 12:49:12 +00:00
|
|
|
{
|
|
|
|
"name": "app",
|
|
|
|
"version": "1.0.0",
|
2020-02-10 17:50:07 +00:00
|
|
|
"description": "One Complete DevOps and IT Ops platform.",
|
2019-12-31 12:49:12 +00:00
|
|
|
"main": "index.js",
|
|
|
|
"dependencies": {},
|
|
|
|
"devDependencies": {
|
|
|
|
"eslint": "^6.8.0",
|
2020-01-07 16:34:00 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
|
|
"eslint-plugin-react": "^7.17.0",
|
2020-02-17 21:13:47 +00:00
|
|
|
"husky": "^4.2.3",
|
|
|
|
"lint-staged": "^9.5.0",
|
|
|
|
"prettier": "^1.19.1"
|
2019-12-31 12:49:12 +00:00
|
|
|
},
|
2020-02-16 13:00:54 +00:00
|
|
|
"scripts": {
|
|
|
|
"delete-all-local-branches": "git branch | grep -v 'master' | xargs git branch -D"
|
|
|
|
},
|
2019-12-31 12:49:12 +00:00
|
|
|
"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": {
|
2020-02-17 21:13:47 +00:00
|
|
|
"./**/*.{js,jsx}": [
|
|
|
|
"prettier --config .prettierrc.json --write",
|
|
|
|
"git add"
|
|
|
|
],
|
2019-12-31 12:49:12 +00:00
|
|
|
"./dashboard/**/*.{js,jsx}": [
|
|
|
|
"eslint dashboard/src -c dashboard/.eslintrc.json --ignore-path dashboard/.eslintignore",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./backend/**/*.js": [
|
2020-01-06 04:36:36 +00:00
|
|
|
"eslint backend/backend -c backend/.eslintrc.json --ignore-path backend/.eslintignore",
|
2019-12-31 12:49:12 +00:00
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./accounts/**/*.{js,jsx}": [
|
|
|
|
"eslint accounts/src -c accounts/.eslintrc.json --ignore-path accounts/.eslintignore",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./admin-dashboard/**/*.{js,jsx}": [
|
|
|
|
"eslint admin-dashboard/src -c admin-dashboard/.eslintrc.json --ignore-path admin-dashboard/.eslintignore",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./home/**/*.{js}": [
|
|
|
|
"eslint home -c home/.eslintrc.json --ignore-path home/.eslintignore",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./probe/**/*.{js}": [
|
|
|
|
"eslint probe -c probe/.eslintrc.json --ignore-path probe/.eslintignore",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./status-page/**/*.{js,jsx}": [
|
|
|
|
"eslint status-page/src -c status-page/.eslintrc.json --ignore-path status-page/.eslintignore",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./zapier/**/*.{js,jsx}": [
|
|
|
|
"eslint zapier -c zapier/.eslintrc.json --ignore-path zapier/.eslintignore",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./server-monitor/**/*.{js,jsx}": [
|
|
|
|
"eslint server-monitor/lib -c server-monitor/.eslintrc.json --ignore-path server-monitor/.eslintignore",
|
|
|
|
"git add"
|
2020-01-19 14:03:27 +00:00
|
|
|
],
|
|
|
|
"./http-test-server/**/*.{js,jsx}": [
|
|
|
|
"eslint -c http-test-server/.eslintrc.json --ignore-path http-test-server/.eslintignore",
|
|
|
|
"git add"
|
2019-12-31 12:49:12 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|