mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-4529] Enable form configuration from e2e tests (#4738)
* [ADF-4529] Enable form configuration from e2e tests * Improve linting * Move form methods to new file
This commit is contained in:
committed by
Eugenio Romano
parent
36faed0fab
commit
f2f08a5bf8
+9
-2
@@ -46,10 +46,12 @@
|
||||
"e2e": "./scripts/test-e2e-lib.sh -host 'localhost:4200' -dev --folder demo-shell",
|
||||
"e2e-lib": "ng e2e lib-e2e-test --port=4200",
|
||||
"lite-server-e2e": "lite-server --baseDir='demo-shell/dist/' -c ./e2e/lite-server-proxy.js",
|
||||
"replace-cloud-config": "node appConfigReplace.cloud.js",
|
||||
"06": "echo -------------------------------------------- Clean -----------------------------------------------",
|
||||
"06s": "",
|
||||
"clean": "rimraf dist ./node_modules typings",
|
||||
"clean-lock": "rimraf package-lock.json"
|
||||
"clean-lock": "rimraf package-lock.json",
|
||||
"lint:staged": "lint-staged"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -100,6 +102,7 @@
|
||||
"core-js": "^2.5.4",
|
||||
"custom-event-polyfill": "0.3.0",
|
||||
"hammerjs": "2.0.8",
|
||||
"lint-staged": "^8.1.7",
|
||||
"minimatch-browser": "1.0.0",
|
||||
"moment": "2.22.2",
|
||||
"moment-es6": "^1.0.0",
|
||||
@@ -230,9 +233,13 @@
|
||||
},
|
||||
"module": "./index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"lint-staged": {
|
||||
"*.ts": "npm run lint-lib -- --fix",
|
||||
"*.scss": "npm run stylelint --syntax scss"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run lint-lib -- --fix && npm run stylelint -- --fix"
|
||||
"pre-commit": "npm run lint:staged"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user