-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.33 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
{
"name": "ngx-loading-customizer",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "npx jest --detectOpenHandles",
"lint": "ng lint",
"prettier": "npx prettier --write .",
"prettier-check": "npx prettier --check .",
"check": "npm run lint && npm run test && npm run prettier-check",
"build-lib": "ng build ngx-loading-customizer --prod && cp ./README.md ./dist/ngx-loading-customizer/ && cp ./LICENSE ./dist/ngx-loading-customizer/",
"npm-pack": "cd dist/ngx-loading-customizer && npm pack && cd ../..",
"package": "npm run build-lib && npm run npm-pack"
},
"husky": {
"hooks": {
"pre-commit": "npm run check"
}
},
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterEnv": [
"<rootDir>/projects/ngx-loading-customizer/setup-jest.ts"
],
"roots": [
"<rootDir>/projects/ngx-loading-customizer/src"
],
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/projects/ngx-loading-customizer/src/**/{!(public-api),}.{ts,js}"
],
"clearMocks": true,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/projects/ngx-loading-customizer/tsconfig.spec.json"
}
}
},
"dependencies": {
"@angular/common": "~11.2.0",
"@angular/compiler": "~11.2.0",
"@angular/core": "~11.2.0",
"@angular/forms": "^11.2.4",
"@angular/router": "^11.2.4",
"@angular/platform-browser": "^11.2.3",
"@angular/platform-browser-dynamic": "^11.2.3",
"@ngrx/effects": "^11.0.1",
"@ngrx/store": "^11.0.1",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.3",
"@angular/cli": "~11.2.0",
"@angular/compiler-cli": "~11.2.0",
"@babel/core": "^7.12.3",
"@types/jest": "^26.0.15",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"jest-marbles": "^2.5.1",
"jest-preset-angular": "^8.4.0",
"ng-mocks": "^11.9.0",
"ng-packagr": "^11.2.0",
"prettier": "^2.1.2",
"ts-jest": "^26.5.3",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
}