|
18 | 18 | "homepage": "https://github.com/fulls1z3/ngx-auth#readme",
|
19 | 19 | "scripts": {
|
20 | 20 | "clean": "rimraf dist",
|
21 |
| - "build:core": "ts-node tools/build/packager.ts core", |
22 |
| - "build:auth0": "ts-node tools/build/packager.ts auth0", |
| 21 | + "build:core": "ng-packagr -p packages/@ngx-auth/core/package.json", |
| 22 | + "build:auth0": "ng-packagr -p packages/@ngx-auth/auth0/package.json", |
23 | 23 | "build": "npm run build:core && npm run build:auth0",
|
24 | 24 | "lint": "tslint -p ./tsconfig.lint.json --force",
|
25 | 25 | "lint:check": "tslint-config-prettier-check ./tslint.lint.json",
|
|
28 | 28 | "ci:after": "greenkeeper-lockfile-upload",
|
29 | 29 | "test": "jest --runInBand --colors",
|
30 | 30 | "test:ci": "jest --ci --updateSnapshot --colors",
|
31 |
| - "release": "standard-version" |
| 31 | + "release": "standard-version", |
| 32 | + "prepare": "husky install" |
32 | 33 | },
|
33 | 34 | "devDependencies": {
|
34 |
| - "@angular/common": "^9.1.0", |
35 |
| - "@angular/compiler": "^9.1.0", |
36 |
| - "@angular/compiler-cli": "^9.1.0", |
37 |
| - "@angular/core": "^9.1.0", |
38 |
| - "@angular/platform-browser": "^9.1.0", |
39 |
| - "@angular/platform-browser-dynamic": "^9.1.0", |
40 |
| - "@angular/router": "^9.1.0", |
41 |
| - "@commitlint/cli": "^8.3.5", |
42 |
| - "@commitlint/config-conventional": "^8.3.4", |
43 |
| - "@types/auth0-js": "^9.12.0", |
44 |
| - "@types/jest": "^23.3.14", |
45 |
| - "@types/node": "^10.0.0", |
| 35 | + "@angular/common": "^10.1.0", |
| 36 | + "@angular/compiler": "^10.1.0", |
| 37 | + "@angular/compiler-cli": "^10.1.0", |
| 38 | + "@angular/core": "^10.1.0", |
| 39 | + "@angular/platform-browser": "^10.1.0", |
| 40 | + "@angular/platform-browser-dynamic": "^10.1.0", |
| 41 | + "@angular/router": "^10.1.0", |
| 42 | + "@commitlint/cli": "^12.1.4", |
| 43 | + "@commitlint/config-conventional": "^12.1.4", |
| 44 | + "@types/auth0-js": "^9.14.5", |
| 45 | + "@types/jest": "26.0.8", |
| 46 | + "@types/node": "~8.9.4", |
46 | 47 | "angular-tslint-rules": "^1.20.4",
|
47 |
| - "auth0-js": "^9.13.0", |
| 48 | + "auth0-js": "^9.16.2", |
48 | 49 | "codelyzer": "^5.2.2",
|
49 |
| - "cz-conventional-changelog": "^3.1.0", |
50 |
| - "husky": "^4.2.0", |
51 |
| - "jest": "^23.6.0", |
| 50 | + "cz-conventional-changelog": "^3.3.0", |
| 51 | + "husky": "^7.0.1", |
| 52 | + "jest": "26.2.2", |
52 | 53 | "jest-junit-reporter": "^1.1.0",
|
53 |
| - "jest-preset-angular": "8.1.2", |
| 54 | + "jest-preset-angular": "8.3.1", |
54 | 55 | "lerna": "^3.20.2",
|
55 |
| - "lint-staged": "^10.1.7", |
56 |
| - "ng-packagr": "^9.0.0", |
57 |
| - "prettier": "1.19.1", |
| 56 | + "lint-staged": "~11.0.0", |
| 57 | + "ng-packagr": "^10.1.2", |
| 58 | + "prettier": "2.3.2", |
58 | 59 | "prettier-tslint": "^0.4.2",
|
59 | 60 | "reflect-metadata": "^0.1.13",
|
60 | 61 | "request": "^2.88.2",
|
61 | 62 | "rimraf": "^3.0.2",
|
62 |
| - "rxjs": "~6.5.4", |
63 |
| - "ts-node": "^8.9.0", |
64 |
| - "tsickle": "^0.38.0", |
| 63 | + "rxjs": "~6.5.5", |
| 64 | + "ts-node": "^8.10.2", |
| 65 | + "tsickle": "^0.43.0", |
65 | 66 | "tslint": "5.20.1",
|
66 | 67 | "tslint-config-prettier": "^1.18.0",
|
67 |
| - "typescript": "~3.8.3", |
| 68 | + "typescript": "~4.0.8", |
68 | 69 | "zone.js": "^0.10.2"
|
69 | 70 | },
|
70 |
| - "husky": { |
71 |
| - "hooks": { |
72 |
| - "pre-commit": "lint-staged", |
73 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
74 |
| - } |
75 |
| - }, |
76 |
| - "jest": { |
77 |
| - "preset": "jest-preset-angular", |
78 |
| - "setupTestFrameworkScriptFile": "./tools/test/jest.setup.ts", |
79 |
| - "testResultsProcessor": "./node_modules/jest-junit-reporter", |
80 |
| - "testMatch": [ |
81 |
| - "**/+(*.)+(spec|test).+(ts|js)?(x)" |
82 |
| - ], |
83 |
| - "globals": { |
84 |
| - "ts-jest": { |
85 |
| - "tsConfigFile": "./tsconfig.json" |
86 |
| - }, |
87 |
| - "__TRANSFORM_HTML__": true |
88 |
| - }, |
89 |
| - "moduleDirectories": [ |
90 |
| - "node_modules", |
91 |
| - "packages" |
92 |
| - ], |
93 |
| - "moduleNameMapper": { |
94 |
| - "^@ngx-auth/core": "<rootDir>/packages/@ngx-auth/core/src/index.ts", |
95 |
| - "^@ngx-auth/auth0": "<rootDir>/packages/@ngx-auth/auth0/src/index.ts" |
96 |
| - }, |
97 |
| - "cache": false, |
98 |
| - "silent": true, |
99 |
| - "collectCoverage": true, |
100 |
| - "collectCoverageFrom": [ |
101 |
| - "packages/@ngx-auth/core/src/**.ts", |
102 |
| - "packages/@ngx-auth/auth0/src/**.ts" |
103 |
| - ] |
104 |
| - }, |
105 | 71 | "config": {
|
106 | 72 | "commitizen": {
|
107 | 73 | "path": "./node_modules/cz-conventional-changelog"
|
|
0 commit comments