-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
107 lines (107 loc) · 3.79 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "angular-unit-testing",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --configuration=dev",
"build": "ng build",
"test": "jest --collectCoverage",
"test:update": "jest -u",
"test:uc": "jest --collectCoverage -u",
"lint": "ng lint --fix && yarn js-beautify src/**/*.css && yarn js-beautify src/**/*.html",
"cypress:open": "cypress open --config-file cypress/config/local.config.ts",
"cypress:open-dev": "cypress open --config-file cypress/config/dev.config.ts",
"cypress:run": "cypress run --config-file cypress/config/local.config.ts",
"easy": "server-test start http://localhost:4200 cypress:open",
"coverage:combined": "yarn copy:reports && yarn combine:reports && yarn finalize:combined-report",
"copy:reports": "(mkdir reports || true) && cp coverage-e2e/coverage-final.json reports/from-cypress.json && cp coverage/coverage-final.json reports/from-jest.json",
"combine:reports": "npx nyc merge reports && mv coverage.json .nyc_output/out.json",
"finalize:combined-report": "npx nyc report --reporter html --reporter text --reporter json-summary --report-dir combined-coverage",
"coverage:reset": "rm -rf .nyc_output && rm -rf reports && rm -rf coverage && rm -rf coverage-e2e && rm -rf combined-coverage",
"coverage:check": "npx check-total --from combined-coverage/coverage-summary.json --min 70"
},
"private": true,
"dependencies": {
"@angular/animations": "14.2.5",
"@angular/common": "14.2.5",
"@angular/compiler": "14.2.5",
"@angular/core": "14.2.5",
"@angular/forms": "14.2.5",
"@angular/platform-browser": "14.2.5",
"@angular/platform-browser-dynamic": "14.2.5",
"@angular/router": "14.2.5",
"@angular/service-worker": "14.2.5",
"angular-in-memory-web-api": "0.11.0",
"rxjs": "6.6.6",
"tslib": "2.1.0",
"zone.js": "0.11.8"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.2.5",
"@angular-eslint/builder": "14.1.2",
"@angular-eslint/eslint-plugin": "14.1.2",
"@angular-eslint/eslint-plugin-template": "14.1.2",
"@angular-eslint/schematics": "14.1.2",
"@angular-eslint/template-parser": "14.1.2",
"@angular/cli": "14.2.5",
"@angular/compiler-cli": "14.2.5",
"@angular/language-service": "14.2.5",
"@bahmutov/cypress-extends": "1.1.0",
"@cypress/code-coverage": "3.10.0",
"@types/jasmine": "^4.3.0",
"@types/jasminewd2": "^2.0.10",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"chai-colors": "^1.0.1",
"check-code-coverage": "^1.10.0",
"cypress": "^11.0.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.20",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jasmine-core": "^4.5.0",
"jasmine-spec-reporter": "^7.0.0",
"js-beautify": "^1.13.13",
"karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.1",
"karma-cli": "^2.0.0",
"karma-coverage": "^2.2.0",
"karma-jasmine": "^5.1.0",
"karma-junit-reporter": "^2.0.1",
"ng-mocks": "^14.2.3",
"ngx-build-plus": "14.0.0",
"prettier": "^2.2.1",
"puppeteer": "^19.2.1",
"start-server-and-test": "^1.12.1",
"stylelint": "^13.13.0",
"stylelint-config-standard": "^22.0.0",
"ts-node": "~8.3.0",
"typescript": "4.6.4"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn test"
}
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead",
"not IE 9-11"
],
"nyc": {
"report-dir": "coverage-e2e",
"extension": [
".ts"
],
"require": [
"ts-node/register"
]
}
}