angular-star-rating
Advanced tools
Comparing version 3.0.0 to 3.0.1
38
index.ts
@@ -1,30 +0,24 @@ | ||
import { NgModule, ModuleWithProviders } from '@angular/core'; | ||
import { ModuleWithProviders, NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { StarRatingComponent } from './star-rating.component'; | ||
import { StarRatingConfig } from './star-rating-config'; | ||
import {starRatingDirection, starRatingColor, starRatingPosition, starRatingSizes, starRatingSpeed, starRatingStarSpace, starRatingStarTypes} from './src/star-rating-struct'; | ||
import { StarRatingComponent } from './src/star-rating.component'; | ||
import { StarRatingConfig } from './src/star-rating-config'; | ||
export * from './star-rating.component'; | ||
export * from './star-rating-config'; | ||
export * from './star-rating-struct'; | ||
export * from './src/star-rating-struct'; | ||
export * from './src/star-rating.component'; | ||
export * from './src/star-rating-config'; | ||
const EXPORTS = [StarRatingComponent]; | ||
@NgModule({ | ||
imports: [ | ||
CommonModule | ||
], | ||
declarations: [ | ||
StarRatingComponent | ||
], | ||
exports: [ | ||
StarRatingComponent | ||
] | ||
imports: [CommonModule], | ||
exports: [EXPORTS], | ||
declarations: [EXPORTS] | ||
}) | ||
export class StarRatingModule { | ||
static forRoot(): ModuleWithProviders { | ||
return { | ||
ngModule: StarRatingModule, | ||
providers: [StarRatingConfig] | ||
}; | ||
} | ||
static forRoot(): ModuleWithProviders { | ||
return { | ||
ngModule: StarRatingModule, | ||
providers: [StarRatingConfig] | ||
} | ||
} | ||
} |
{ | ||
"name": "angular-star-rating", | ||
"description": "Angular Star Rating is a Angular2 component written in typescript.", | ||
"version": "3.0.0", | ||
"scripts": { | ||
"build": "ngc -p tsconfig.json", | ||
"lint": "tslint --type-check --project tsconfig.json src/**/*.ts", | ||
"test": "npm run tsc && karma start", | ||
"prepublish": "npm run tsc", | ||
"tsc": "npm run deleteDist && tsc && npm run copyAssets", | ||
"deleteDist": "rimraf dist", | ||
"copyAssets": "copyfiles assets/**/* dist", | ||
"updateExample": "npm run tsc && copyfiles dist/**/* examples/angular2/node_modules/angular-star-rating", | ||
"coverage": "http-server -c-1 -o -p 9875 ./coverage", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"release": "npm publish" | ||
}, | ||
"version": "3.0.1", | ||
"homepage": "https://github.com/BioPhoton/angular-star-rating#readme", | ||
@@ -56,36 +43,10 @@ "repository": { | ||
}, | ||
"main": "./dist/index.js", | ||
"dependencies": { | ||
"css-star-rating": "^1.1.3" | ||
}, | ||
"devDependencies": { | ||
"@angular/common": "^4.0.0", | ||
"@angular/compiler": "^4.0.0", | ||
"@angular/compiler-cli": "^4.0.0", | ||
"module": "angular-star-rating.js", | ||
"typings": "angular-star-rating.d.ts", | ||
"peerDependencies": { | ||
"@angular/core": "^4.0.0", | ||
"@angular/forms": "^4.0.0", | ||
"@angular/platform-browser": "^4.0.0", | ||
"@angular/platform-browser-dynamic": "^4.0.0", | ||
"@types/jasmine": "2.5.38", | ||
"@types/node": "~6.0.60", | ||
"codelyzer": "~2.0.0", | ||
"core-js": "^2.4.1", | ||
"jasmine-core": "~2.5.2", | ||
"jasmine-spec-reporter": "~3.2.0", | ||
"karma": "~1.4.1", | ||
"karma-chrome-launcher": "~2.0.0", | ||
"karma-cli": "~1.0.1", | ||
"karma-coverage-istanbul-reporter": "^0.2.0", | ||
"karma-jasmine": "~1.1.0", | ||
"karma-jasmine-html-reporter": "^0.2.2", | ||
"protractor": "~5.1.0", | ||
"rxjs": "^5.1.0", | ||
"ts-node": "~2.0.0", | ||
"tslint": "~4.5.0", | ||
"typescript": "~2.2.0", | ||
"zone.js": "^0.8.4" | ||
}, | ||
"engines": { | ||
"node": ">=6.9.0" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
0
55927
4
15
871
1
0
1
+ Added@angular/common@4.4.7(transitive)
+ Added@angular/core@4.4.7(transitive)
+ Added@angular/forms@4.4.7(transitive)
+ Added@angular/platform-browser@4.4.7(transitive)
+ Addedrxjs@5.5.12(transitive)
+ Addedsymbol-observable@1.0.1(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedzone.js@0.8.29(transitive)
- Removedcss-star-rating@^1.1.3
- Removedcss-star-rating@1.3.1(transitive)