Skip to content

Commit

Permalink
fix: delete unused parts of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed May 26, 2023
1 parent 753ae60 commit a23d199
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@
"eject": "react-scripts eject",
"lint": "npm run lint:config && npm run lint:src",
"lint:config": "eslint --max-warnings 0 . --cache --cache-location=node_modules/.cache/.eslint-config",
"lint:src": "eslint --max-warnings 0 \"{src,test}/**/*.{js,jsx,ts,tsx}\" --cache --cache-location=node_modules/.cache/.eslint-src",
"lintfix": "eslint --fix \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"lint:src": "eslint --max-warnings 0 \"src/**/*.{js,jsx,ts,tsx}\" --cache --cache-location=node_modules/.cache/.eslint-src",
"lintfix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\"",
"stylelint": "stylelint \"./src/**/*.{ts,tsx}\"",
"precommit": "npm run format:all && npm run lint",
"format:check": "prettier \"src/**/*.{js,jsx,ts,tsx}\" --cache --check",
Expand All @@ -123,16 +123,6 @@
"cy:open:dev": "cypress open -c baseUrl=http://localhost:3000",
"less": "lessc --js src/antd-theme/antd-customized.less src/antd-theme/antd-customized.css"
},
"lint-staged": {
"\"{src,test}/**/*.{js,jsx,ts,tsx}\"": [
"eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\" --fix",
"git add"
],
".": [
"eslint . --fix",
"git add"
]
},
"browserslist": {
"production": [
">0.2%",
Expand All @@ -144,11 +134,5 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
}
}

0 comments on commit a23d199

Please sign in to comment.