Skip to content

Commit

Permalink
feat(scrollspy): add support angular 7 and above in package.json
Browse files Browse the repository at this point in the history
Fix #19
  • Loading branch information
edoparearyee committed Feb 5, 2019
1 parent 9554ac3 commit 8090837
Show file tree
Hide file tree
Showing 4 changed files with 1,452 additions and 1,009 deletions.
41 changes: 21 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@
"postrelease": "npm run packagr"
},
"peerDependencies": {
"@angular/core": ">=5.0.0 <7.0.0 || >=5.0.0-beta <7.0.0",
"@thisissoon/angular-inviewport": ">=4.0.0 <5.0.0"
"@angular/core": ">=5.0.0",
"@thisissoon/angular-inviewport": ">=4.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.6.5",
"@angular/animations": "^6.1.10",
"@angular/cli": "^6.0.5",
"@angular/common": "^6.1.10",
"@angular/compiler": "^6.1.10",
"@angular/compiler-cli": "^6.1.10",
"@angular/core": "^6.1.10",
"@angular/forms": "^6.1.10",
"@angular/http": "^6.1.10",
"@angular/language-service": "^6.1.10",
"@angular/platform-browser": "^6.1.10",
"@angular/platform-browser-dynamic": "^6.1.10",
"@angular/router": "^6.1.10",
"@angular-devkit/build-angular": "~0.13.0",
"@angular/animations": "^7.2.3",
"@angular/cli": "^7.3.0",
"@angular/common": "^7.2.3",
"@angular/compiler": "^7.2.3",
"@angular/compiler-cli": "^7.2.3",
"@angular/core": "^7.2.3",
"@angular/forms": "^7.2.3",
"@angular/http": "^7.2.3",
"@angular/language-service": "^7.2.3",
"@angular/platform-browser": "^7.2.3",
"@angular/platform-browser-dynamic": "^7.2.3",
"@angular/router": "^7.2.3",
"@thisissoon/angular-inviewport": "^4.0.0",
"@thisissoon/schematics": "^1.0.0-alpha.18",
"@types/jasmine": "~2.5.53",
Expand All @@ -72,6 +72,7 @@
"coveralls": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.1.0",
"intersection-observer": "^0.5.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
Expand All @@ -83,10 +84,10 @@
"karma-mocha-reporter": "^2.2.5",
"karma-spec-reporter": "0.0.31",
"lint-staged": "^7.3.0",
"ng-packagr": "^4.4.0",
"ng-packagr": "^4.7.0",
"prettier": "^1.14.3",
"protractor": "~5.1.2",
"rxjs": "^6.2.0",
"rxjs": "^6.4.0",
"standard-version": "^4.2.0",
"stylelint": "^9.6.0",
"stylelint-config-prettier": "^4.0.0",
Expand All @@ -96,11 +97,11 @@
"stylelint-scss": "^3.3.1",
"ts-node": "~3.2.0",
"tsickle": "^0.34.0",
"tslib": "^1.9.3",
"tslib": "^1.9.0",
"tslint": "~5.7.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "~2.7.2",
"zone.js": "^0.8.26"
"typescript": "~3.2.4",
"zone.js": "^0.8.29"
},
"config": {
"commitizen": {
Expand Down
36 changes: 17 additions & 19 deletions src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,26 @@
*/

/** IE9, IE10 and IE11 requires all of the following polyfills. **/
// import 'core-js/es6/symbol';
// import 'core-js/es6/object';
// import 'core-js/es6/function';
// import 'core-js/es6/parse-int';
// import 'core-js/es6/parse-float';
// import 'core-js/es6/number';
// import 'core-js/es6/math';
// import 'core-js/es6/string';
// import 'core-js/es6/date';
// import 'core-js/es6/array';
// import 'core-js/es6/regexp';
// import 'core-js/es6/map';
// import 'core-js/es6/weak-map';
// import 'core-js/es6/set';
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/weak-map';
import 'core-js/es6/set';

/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.

/** IE10 and IE11 requires the following for the Reflect API. */
// import 'core-js/es6/reflect';

/** Evergreen browsers require these. **/
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
import 'core-js/es7/reflect';
import 'core-js/es6/reflect';

/**
* Required to support Web Animations `@angular/platform-browser/animations`.
Expand All @@ -68,3 +64,5 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
* Need to import at least one locale-data with intl.
*/
// import 'intl/locale-data/jsonp/en';

import 'intersection-observer';
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compileOnSave": false,
"compilerOptions": {
"importHelpers": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
Expand Down
Loading

0 comments on commit 8090837

Please sign in to comment.