|
3 | 3 | "version": "9.0.0",
|
4 | 4 | "scripts": {
|
5 | 5 | "example": "cd example && npm i && npm start",
|
6 |
| - "clean": "shx rm -rf lib _bundles", |
| 6 | + "clean": "shx rm -rf lib _bundles dist", |
7 | 7 | "compile": "npm run clean && ngc",
|
8 |
| - "build": "run-s clean compile bundle fixmaps:*", |
| 8 | + "build": "ng-packagr -p package.json", |
9 | 9 | "bundle": "rollup -c && rollup -c --environment MINIFY",
|
10 | 10 | "fixmaps:lib": "tweak_sourcemap_paths -a --include 'lib/**/*.js.map' 'lib-esm/**/*.js.map'",
|
11 | 11 | "fixmaps:bundle": "tweak_sourcemap_paths -p ../src --include '_bundles/**/*.js.map'",
|
|
15 | 15 | "prepublishOnly": "npm run build"
|
16 | 16 | },
|
17 | 17 | "license": "MIT",
|
18 |
| - "dependencies": { |
19 |
| - "@uirouter/angular": "5.0.0", |
20 |
| - "@uirouter/angularjs": "1.0.23", |
21 |
| - "@uirouter/core": "6.0.1" |
22 |
| - }, |
23 | 18 | "peerDependencies": {
|
24 |
| - "@angular/core": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", |
25 |
| - "@angular/upgrade": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", |
| 19 | + "@angular/core": "^8.0.0 || ^9.0.0 || ^9.0.0-next", |
| 20 | + "@angular/upgrade": "^8.0.0 || ^9.0.0 || ^9.0.0-next", |
| 21 | + "@uirouter/angular": "^6.0.0", |
| 22 | + "@uirouter/angularjs": "^1.0.23", |
26 | 23 | "angular": "^1.5.0"
|
27 | 24 | },
|
28 | 25 | "devDependencies": {
|
29 |
| - "@angular/common": "^5.2.11", |
30 |
| - "@angular/compiler": "^5.2.11", |
31 |
| - "@angular/compiler-cli": "^5.2.11", |
32 |
| - "@angular/core": "^5.2.11", |
33 |
| - "@angular/platform-browser": "^5.2.11", |
34 |
| - "@angular/platform-browser-dynamic": "^5.2.11", |
35 |
| - "@angular/upgrade": "^5.2.11", |
| 26 | + "@angular/common": "^8.2.13", |
| 27 | + "@angular/compiler": "^8.2.13", |
| 28 | + "@angular/compiler-cli": "^8.2.13", |
| 29 | + "@angular/core": "^8.2.13", |
| 30 | + "@angular/platform-browser": "^8.2.13", |
| 31 | + "@angular/platform-browser-dynamic": "^8.2.13", |
| 32 | + "@angular/upgrade": "^8.2.13", |
36 | 33 | "@types/angular": "^1.6.51",
|
37 | 34 | "@types/jquery": "^3.3.17",
|
38 | 35 | "@uirouter/publish-scripts": "^2.3.40",
|
| 36 | + "@uirouter/core": "^6.0.1", |
| 37 | + "@uirouter/angular": "^6.0.0", |
| 38 | + "@uirouter/angularjs": "^1.0.23", |
| 39 | + "@uirouter/rx": "^0.6.4", |
39 | 40 | "angular": "^1.7.9",
|
| 41 | + "ng-packagr": "^5.3.0", |
40 | 42 | "husky": "^3.1.0",
|
41 | 43 | "prettier": "^1.19.1",
|
42 | 44 | "pretty-quick": "^2.0.1",
|
|
48 | 50 | "rxjs": "^6.5.3",
|
49 | 51 | "rxjs-compat": "^6.5.3",
|
50 | 52 | "shx": "^0.3.2",
|
51 |
| - "typescript": "^3.7.2", |
| 53 | + "typescript": "~3.5.3", |
52 | 54 | "zone.js": "^0.10.2"
|
53 | 55 | },
|
54 |
| - "main": "_bundles/ui-router-angular-hybrid.js", |
55 |
| - "module": "lib/index.js", |
56 |
| - "typings": "lib/index.d.ts", |
| 56 | + "distDir": "dist", |
| 57 | + "ngPackage": { |
| 58 | + "lib": { |
| 59 | + "entryFile": "src/index.ts" |
| 60 | + } |
| 61 | + }, |
57 | 62 | "repository": {
|
58 | 63 | "type": "git",
|
59 | 64 | "url": "https://github.com/ui-router/angular-hybrid.git"
|
|
0 commit comments