-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
80 lines (80 loc) · 2.15 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
{
"name": "ngx-elements-router",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "npx jest",
"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-elements-router --prod && cp ./README.md ./dist/ngx-elements-router/ && cp ./LICENSE ./dist/ngx-elements-router/",
"npm-pack": "cd dist/ngx-elements-router && npm pack && cd ../..",
"package": "npm run build-lib && npm run npm-pack"
},
"husky": {
"hooks": {
"pre-commit": "npm run check"
}
},
"jest": {
"roots": [
"<rootDir>/projects/ngx-elements-router/src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/projects/ngx-elements-router/src/**/*.{ts,js}"
],
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"clearMocks": true,
"coverageThreshold": {
"global": {
"branches": 30,
"functions": 30,
"lines": 30,
"statements": 30
}
}
},
"dependencies": {
"@angular/common": "~11.1.0",
"@angular/compiler": "~11.1.0",
"@angular/core": "~11.1.0",
"@angular/platform-browser": "~11.1.0",
"@angular/platform-browser-dynamic": "~11.1.0",
"@angular/router": "~11.1.0",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/jest": "^10.0.1",
"@angular-devkit/build-angular": "~0.1101.1",
"@angular/cli": "~11.1.1",
"@angular/compiler-cli": "~11.1.0",
"@angular/elements": "^11.1.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",
"ng-packagr": "^11.1.2",
"ngx-build-plus": "^11.0.0",
"prettier": "^2.1.2",
"protractor": "~7.0.0",
"ts-jest": "^26.4.4",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
}