|
24 | 24 | }, |
25 | 25 | "homepage": "https://ionicframework.com/", |
26 | 26 | "scripts": { |
27 | | - "build": "npm run clean && npm run build.core && npm run build.ng && npm run clean-generated", |
| 27 | + "build": "npm run clean && npm run build.ng && npm run build.core && npm run clean-generated", |
28 | 28 | "build.core": "node scripts/build-core.js", |
29 | 29 | "build.fesm": "rollup --config ./scripts/rollup.config.js", |
30 | 30 | "build.link": "npm run build && node scripts/link-copy.js", |
31 | | - "build.ng": "npm run build.es2015 && npm run build.es5", |
| 31 | + "build.ng": "ng-packagr -p package.json", |
32 | 32 | "build.es2015": "ngc -p tsconfig.json && rollup --config ./scripts/rollup.config.js", |
33 | 33 | "build.es5": "ngc -p tsconfig.legacy.json && rollup --config ./scripts/rollup.config.legacy.js", |
34 | 34 | "clean": "node scripts/clean.js", |
|
41 | 41 | "tsc": "tsc -p .", |
42 | 42 | "validate": "npm i && npm run lint && npm run test && npm run build" |
43 | 43 | }, |
44 | | - "module": "dist/fesm5.js", |
45 | | - "main": "dist/fesm5.cjs.js", |
46 | | - "types": "dist/core.d.ts", |
47 | | - "files": [ |
48 | | - "dist/", |
49 | | - "css/" |
50 | | - ], |
51 | 44 | "dependencies": { |
52 | 45 | "@ionic/core": "5.0.0-beta.2", |
53 | 46 | "tslib": "^1.9.3" |
54 | 47 | }, |
55 | 48 | "peerDependencies": { |
56 | | - "@angular-devkit/core": "7.2.1 - 8", |
57 | | - "@angular-devkit/schematics": "7.2.1 - 8", |
58 | | - "@angular/core": "7.2.1 - 8", |
59 | | - "@angular/common": "7.2.1 - 8", |
60 | | - "@angular/forms": "7.2.1 - 8", |
61 | | - "@angular/router": "7.2.1 - 8", |
62 | | - "@angular/compiler": "7.2.1 - 8", |
63 | | - "@angular/compiler-cli": "7.2.1 - 8", |
64 | | - "@angular/platform-browser": "7.2.1 - 8", |
65 | | - "@angular/platform-browser-dynamic": "7.2.1 - 8", |
| 49 | + "@angular/core": ">=8.2.7", |
| 50 | + "@angular/forms": ">=8.2.7", |
| 51 | + "@angular/router": ">=8.2.7", |
66 | 52 | "rxjs": ">=6.2.0", |
67 | 53 | "zone.js": ">=0.8.26" |
68 | 54 | }, |
69 | 55 | "devDependencies": { |
70 | | - "@angular-devkit/core": "^7.2.1", |
71 | | - "@angular-devkit/schematics": "^7.2.1", |
72 | | - "@angular/common": "^7.2.1", |
73 | | - "@angular/compiler": "^7.2.1", |
74 | | - "@angular/compiler-cli": "^7.2.1", |
75 | | - "@angular/core": "^7.2.1", |
76 | | - "@angular/forms": "^7.2.1", |
77 | | - "@angular/platform-browser": "^7.2.1", |
78 | | - "@angular/platform-browser-dynamic": "^7.2.1", |
79 | | - "@angular/router": "^7.2.1", |
80 | | - "@types/node": "~12.0.12", |
| 56 | + "@angular-devkit/core": "8.3.17", |
| 57 | + "@angular-devkit/schematics": "8.3.17", |
| 58 | + "@angular/common": "8.2.13", |
| 59 | + "@angular/compiler": "8.2.13", |
| 60 | + "@angular/compiler-cli": "8.2.13", |
| 61 | + "@angular/core": "8.2.13", |
| 62 | + "@angular/forms": "8.2.13", |
| 63 | + "@angular/router": "8.2.13", |
| 64 | + "@types/node": "12.12.5", |
81 | 65 | "fs-extra": "^7.0.0", |
82 | 66 | "glob": "^7.1.4", |
| 67 | + "ng-packagr": "5.7.1", |
83 | 68 | "rollup": "~1.17.0", |
84 | 69 | "rollup-plugin-node-resolve": "~5.2.0", |
85 | 70 | "rxjs": "^6.5.2", |
86 | 71 | "tsickle": "^0.34.0", |
87 | 72 | "tslint": "^5.12.1", |
88 | 73 | "tslint-ionic-rules": "0.0.21", |
89 | | - "typescript": "~3.2.2", |
90 | | - "zone.js": "~0.8.26" |
| 74 | + "typescript": "3.4.5", |
| 75 | + "zone.js": "^0.8.28" |
91 | 76 | }, |
92 | | - "schematics": "./dist/schematics/collection.json" |
| 77 | + "schematics": "schematics/collection.json", |
| 78 | + "ngPackage": { |
| 79 | + "lib": { |
| 80 | + "entryFile": "src/index.ts" |
| 81 | + }, |
| 82 | + "whitelistedNonPeerDependencies": [ |
| 83 | + "@ionic/core" |
| 84 | + ] |
| 85 | + } |
93 | 86 | } |
0 commit comments