feat: cypress init (#1520)

* feat: cypress init

* lint fixes

* fix

* path-fix

* lint-fix
This commit is contained in:
Ramveer
2022-09-09 10:51:23 +02:00
committed by GitHub
parent 4e73f11dd3
commit 18f0251837
15 changed files with 274 additions and 9 deletions
+6 -2
View File
@@ -19,11 +19,13 @@
"lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc",
"test": "npm run env -s && ng test",
"test:ci": "npm run env -s && npm run lint -s && ng test --code-coverage --watch=false",
"e2e": "npm run env -s && ng e2e",
"e2e": "ng e2e",
"translations:extract": "ngx-translate-extract --input ./src --output ./src/translations/template.json --format=json --clean -sort --marker extract",
"docs": "hads ./docs -o",
"env": "node version.js",
"postinstall": "node version.js && ngcc"
"postinstall": "node version.js && ngcc",
"cypress:open": "cypress open",
"cypress:run": "cypress run"
},
"dependencies": {
"@angular-devkit/schematics": "^14.0.4",
@@ -63,12 +65,14 @@
"@angular/compiler-cli": "12.2.16",
"@angular/language-service": "12.2.16",
"@biesbjerg/ngx-translate-extract": "^7.0.4",
"@cypress/schematic": "^1.7.0",
"@ngx-rocket/scripts": "3.0.3",
"@types/jasmine": "3.3.13",
"@types/jasminewd2": "2.0.6",
"@types/lodash": "4.14.132",
"@types/node": "12.11.1",
"codelyzer": "6.0.0",
"cypress": "^10.7.0",
"git-describe": "^4.1.1",
"hads": "^3.0.3",
"htmlhint": "0.11.0",