ng2-awesome-disqus
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -7,5 +7,2 @@ /** | ||
/** To log like console.log().. */ | ||
var gutil = require('gulp-util'); | ||
/** del to remove dist directory */ | ||
@@ -20,2 +17,7 @@ const del = require('del'); | ||
const embedOptions = { | ||
base: './src', | ||
useRelativePaths: true | ||
} | ||
/** Typescript compiler */ | ||
@@ -41,5 +43,2 @@ const typescript = require('gulp-typescript'); | ||
const tsProject = typescript.createProject('tsconfig.json'); | ||
const config = { | ||
@@ -70,13 +69,6 @@ allSass: 'src/**/*.scss', | ||
]; | ||
var defaults = { | ||
base: '/src', | ||
target: 'es5', | ||
useRelativePaths: true | ||
}; | ||
var tsResult = gulp.src(sourceTsFile) | ||
.pipe(embedTemplates(defaults)) | ||
.pipe(embedTemplates(embedOptions)) | ||
.pipe(sourcemaps.init()) | ||
.pipe(typescript(tsProject)); | ||
.pipe(typescript('tsconfig.json')); | ||
@@ -119,3 +111,3 @@ tsResult.js.pipe(uglify()) | ||
gulp.task('watch', function() { | ||
gulp.task('watch', function () { | ||
gulp.watch([config.allTs], ['ts-lint', 'compile-ts']); | ||
@@ -125,3 +117,2 @@ gulp.watch([config.allSass, config.allHtml], ['styles']); | ||
gulp.task('default', ['ts-lint', 'compile-ts']); | ||
gulp.task('default', ['compile-ts']); | ||
gulp.task('default', ['ts-lint', 'compile-ts']); |
{ | ||
"name": "ng2-awesome-disqus", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Angular 2 Disqus component", | ||
@@ -27,13 +27,2 @@ "repository": { | ||
}, | ||
"dependencies": { | ||
"@angular/common": "2.0.0", | ||
"@angular/compiler": "2.0.0", | ||
"@angular/core": "2.0.0", | ||
"@angular/http": "2.0.0", | ||
"@angular/platform-browser": "2.0.0", | ||
"@angular/router": "3.0.0", | ||
"core-js": "^2.4.1", | ||
"rxjs": "^5.0.0-beta.12", | ||
"zone.js": "^0.6.17" | ||
}, | ||
"peerDependencies": { | ||
@@ -47,9 +36,10 @@ "@angular/common": "2.0.0", | ||
"core-js": "^2.4.1", | ||
"rxjs": "^5.0.0-beta.12", | ||
"zone.js": "^0.6.17" | ||
"reflect-metadata": "^0.1.3", | ||
"rxjs": "5.0.0-beta.12", | ||
"zone.js": "^0.6.23" | ||
}, | ||
"devDependencies": { | ||
"angular2-template-loader": "^0.5.0", | ||
"autoprefixer": "^6.4.0", | ||
"cssnano": "^3.7.4", | ||
"autoprefixer": "^6.5.1", | ||
"cssnano": "^3.7.7", | ||
"del": "^2.2.2", | ||
@@ -60,13 +50,14 @@ "gulp": "^3.9.1", | ||
"gulp-sass": "^2.3.2", | ||
"gulp-sourcemaps": "^1.6.0", | ||
"gulp-tslint": "^6.1.1", | ||
"gulp-typescript": "^2.13.6", | ||
"gulp-sourcemaps": "^1.7.3", | ||
"gulp-tslint": "^6.1.2", | ||
"gulp-typescript": "^3.0.2", | ||
"gulp-uglify": "^2.0.0", | ||
"gulp-util": "^3.0.7", | ||
"jasmine-core": "2.5.2", | ||
"merge2": "^1.0.2", | ||
"postcss-scss": "^0.3.0", | ||
"postcss-scss": "^0.3.1", | ||
"postcss-strip-inline-comments": "^0.1.5", | ||
"tslint": "^3.15.1", | ||
"typings": "^1.3.3" | ||
"typescript": "^2.0.3", | ||
"typings": "^1.4.0" | ||
} | ||
} |
@@ -1,6 +0,5 @@ | ||
# Angular 2 Disqus [![npm](https://img.shields.io/npm/v/ng2-awesome-disqus.svg?maxAge=2592000?style=plastic)](https://github.com/MurhafSousli/ng2-awesome-disqus) [![Build Status](https://travis-ci.org/MurhafSousli/ng2-disqus.svg?branch=master)](https://travis-ci.org/MurhafSousli/ng2-disqus) [![npm](https://img.shields.io/npm/dt/ng2-awesome-disqus.svg?maxAge=2592000)](https://www.npmjs.com/package/ng2-awesome-disqus) | ||
# Angular 2 Disqus [![npm](https://img.shields.io/npm/v/ng2-awesome-disqus.svg?maxAge=2592000?style=plastic)](https://github.com/MurhafSousli/ng2-awesome-disqus) [![Build Status](https://travis-ci.org/MurhafSousli/ng2-disqus.svg?branch=master)](https://travis-ci.org/MurhafSousli/ng2-disqus) [![npm](https://img.shields.io/npm/dt/ng2-awesome-disqus.svg?maxAge=2592000?style=plastic)](https://www.npmjs.com/package/ng2-awesome-disqus) | ||
<p align="center"><img style="text-align: center;" src="/assets/cover.PNG?raw=true"></p> | ||
![Angular 2 Share Buttons cover](/assets/cover.PNG?raw=true "Optional Title") | ||
Angular 2 Disqus comment system | [live demo](https://murhafsousli.github.io/ng2-disqus/) | ||
@@ -34,3 +33,3 @@ | ||
It's highly recommended to read Disqus official documentation ([JavaScript configuration variables](https://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables)) before setting these inputs. | ||
See Disqus official documentation ([JavaScript configuration variables](https://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables)) to use the other inputs. | ||
@@ -44,4 +43,4 @@ ``` | ||
``` | ||
by default the component will reset *Disqus* configurations after its view initializes again, to remove *Disqus* script completely on component destroy, | ||
set `[removeOnDestroy]="true"` (you won't need this option unless you change the site theme as in the preview). | ||
by default the component will reset *Disqus* configurations after its view initializes again (but won't remove the script), to remove *Disqus* script completely on component destroy, | ||
set `[removeOnDestroy]="true"` (you won't need this option most often). | ||
@@ -48,0 +47,0 @@ ## Issues |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10
23
80820
19
172
59
+ Addedreflect-metadata@0.1.14(transitive)
- Removed@angular/common@2.0.0
- Removed@angular/compiler@2.0.0
- Removed@angular/core@2.0.0
- Removed@angular/http@2.0.0
- Removed@angular/platform-browser@2.0.0
- Removed@angular/router@3.0.0
- Removedcore-js@^2.4.1
- Removedrxjs@^5.0.0-beta.12
- Removedzone.js@^0.6.17
- Removedrxjs@5.5.12(transitive)
- Removedsymbol-observable@1.0.1(transitive)