|
18 | 18 | "start": "ng serve --port 4300",
|
19 | 19 | "postinstall": "ngcc",
|
20 | 20 | "prebuild": "npm-run-all delete:dist lint",
|
21 |
| - "build": "npm run packagr", |
| 21 | + "build": "ng-packagr -p ng-package.json", |
22 | 22 | "delete:dist": "cross-env rimraf dist",
|
23 | 23 | "lint": "ng lint",
|
24 | 24 | "packagr": "ng-packagr -p ng-package.json",
|
25 | 25 | "build:demo": "ng build --configuration=production --base-href=\"\"",
|
26 |
| - "pack-lib": "npm pack ./dist" |
| 26 | + "pack-lib": "npm pack ./dist", |
| 27 | + "release": "release-it --only-version" |
27 | 28 | },
|
28 | 29 | "repository": {
|
29 | 30 | "type": "git",
|
|
62 | 63 | "@angular/platform-browser": "^14.2.10",
|
63 | 64 | "@angular/platform-browser-dynamic": "^14.2.10",
|
64 | 65 | "@angular/router": "^14.2.10",
|
| 66 | + "@release-it/conventional-changelog": "^5.1.1", |
65 | 67 | "@types/jquery": "^3.5.14",
|
66 | 68 | "@types/node": "^18.7.16",
|
67 | 69 | "@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
73 | 75 | "ng-packagr": "^14.2.2",
|
74 | 76 | "ngx-markdown": "^14.0.1",
|
75 | 77 | "npm-run-all2": "^6.0.4",
|
| 78 | + "release-it": "^15.5.1", |
76 | 79 | "rimraf": "^3.0.2",
|
77 | 80 | "sass": "^1.56.1",
|
78 | 81 | "ts-node": "^10.9.1",
|
|
0 commit comments