mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[dev-eromano] pre-commit check autofix lint (#4026)
* pre staged check lint * pre staged check lint * pre staged check lint * remove lint staged
This commit is contained in:
+7
-6
@@ -37,11 +37,6 @@
|
||||
"lite-server-e2e": "lite-server --baseDir='demo-shell/dist/' -c ./e2e/lite-server-proxy.js",
|
||||
"spellcheck": "cspell 'demo-shell/{src,e2e}/**/*.ts' 'e2e/**/*.ts' 'lib/{content-services,core,extensions,insights,process-services}/**/*.ts'"
|
||||
},
|
||||
"config": {
|
||||
"ghooks": {
|
||||
"pre-commit": "npm run lint && npm run lint-lib"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Alfresco/alfresco-ng2-components.git"
|
||||
@@ -131,6 +126,7 @@
|
||||
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
||||
"fs-extra": "^4.0.2",
|
||||
"http-proxy-middleware": "^0.19.0",
|
||||
"husky": "^1.2.0",
|
||||
"jasmine-ajax": "3.2.0",
|
||||
"jasmine-core": "~2.8.0",
|
||||
"jasmine-reporters": "^2.3.2",
|
||||
@@ -212,5 +208,10 @@
|
||||
"node": ">=6.0.0"
|
||||
},
|
||||
"module": "./index.js",
|
||||
"typings": "./index.d.ts"
|
||||
"typings": "./index.d.ts",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run lint-lib -- --fix && npm run stylelint -- --fix"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user