angular-progress-bar
Advanced tools
Comparing version
@@ -23,3 +23,3 @@ (function (global, factory) { | ||
}()); | ||
exports.default = ProgressBarModule; | ||
exports.ProgressBarModule = ProgressBarModule; | ||
@@ -26,0 +26,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -1,1 +0,1 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e.ng=e.ng||{},e.ng["progress-bar"]={}))}(this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=require("@angular/core"),o=require("./progress-bar/progress-bar"),t=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[o.ProgressBarComponent],exports:[o.ProgressBarComponent]}]}],e.ctorParameters=function(){return[]},e}();e.default=t,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e.ng=e.ng||{},e.ng["progress-bar"]={}))}(this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=require("@angular/core"),o=require("./progress-bar/progress-bar"),n=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:[o.ProgressBarComponent],exports:[o.ProgressBarComponent]}]}],e.ctorParameters=function(){return[]},e}();e.ProgressBarModule=n,Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "angular-progress-bar", | ||
"version": "1.0.3-beta3", | ||
"version": "1.0.3-beta4", | ||
"description": "An angular progress-bar", | ||
"main": "bundles/progress-bar.umd.js", | ||
"module": "src/index.js", | ||
"typings": "src/index.d.ts", | ||
"main": "index.js", | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"transpile": "tsc -p . && ngc", | ||
"prepare": "cp ./README.md ./dist/README.md && cp ./package.json ./dist/package.json && npm run build", | ||
"transpile": "ngc", | ||
"package": "rollup -c", | ||
"minify": "uglifyjs bundles/progress-bar.umd.js --screw-ie8 --compress --mangle --comments --output bundles/progress-bar.umd.min.js", | ||
"minify": "uglifyjs dist/bundles/progress-bar.umd.js --screw-ie8 --compress --mangle --comments --output dist/bundles/progress-bar.umd.min.js", | ||
"build": "npm run transpile && npm run package && npm run minify" | ||
@@ -42,10 +40,8 @@ }, | ||
"@angular/core": "4.4.4", | ||
"rxjs": "^5.0.1", | ||
"zone.js": "^0.8.4", | ||
"rollup": "^0.50.0", | ||
"rollup-plugin-commonjs": "^9.1.3", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"rxjs": "^5.0.1", | ||
"typescript": "^2.6.1", | ||
"uglify-js": "^3.1.8", | ||
"zone.js": "^0.8.4" | ||
"uglify-js": "^3.1.8" | ||
} | ||
} |
@@ -25,3 +25,9 @@ <p align="center"> | ||
## Basic Appearance ## | ||
<img src="./assets/angular-progress-bar.png?raw=true" alt="Appearence"> | ||
<p align="center"> | ||
<img src="https://github.com/CharlesGrimont/angular-progress-bar/blob/master/assets/angular-progress-bar.png" alt="Appearence"> | ||
</p> | ||
<p align="center"> | ||
<img src="https://github.com/CharlesGrimont/angular-progress-bar/blob/master/assets/angular-progress-bar-50.PNG" alt="Appearence"> | ||
</p> | ||
</p> | ||
@@ -50,3 +56,3 @@ ## Installation ## | ||
## How to use ## | ||
### Classic way | ||
### Classic way ### | ||
By this way, progress property will be the value show in the progress bar, and color property will be the color displayed | ||
@@ -59,3 +65,3 @@ | ||
### Color degraded way | ||
### Color degraded way ### | ||
By this way, progress property will be the value show in the progress bar, but color-degraded property must be bined ton an object. | ||
@@ -70,2 +76,2 @@ | ||
</progress-bar> | ||
``` | ||
``` |
export default { | ||
entry: 'src/index.ts', | ||
dest: 'bundles/progress-bar.umd.js', | ||
entry: 'dist/src/index.js', | ||
dest: 'dist/bundles/progress-bar.umd.js', | ||
sourceMap: false, | ||
@@ -5,0 +5,0 @@ format: 'umd', |
@@ -1,1 +0,1 @@ | ||
export * from './progress-bar.module'; | ||
export { ProgressBarModule } from './progress-bar.module'; |
@@ -7,3 +7,3 @@ import { NgModule } from '@angular/core'; | ||
}) | ||
export default class ProgressBarModule {} | ||
export class ProgressBarModule {} | ||
@@ -82,2 +82,2 @@ import { Component, Input } from '@angular/core'; | ||
} | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"emitDecoratorMetadata": true, | ||
"baseUrl": ".", | ||
"declaration": true, | ||
"allowSyntheticDefaultImports": true, | ||
"stripInternal": true, | ||
"experimentalDecorators": true, | ||
"strictNullChecks": true, | ||
"noImplicitAny": true, | ||
"module": "es2015", | ||
"moduleResolution": "node", | ||
"paths": { | ||
"@angular/core": ["node_modules/@angular/core"], | ||
"rxjs/*": ["node_modules/rxjs/*"] | ||
}, | ||
"rootDir": ".", | ||
"outDir": "dist", | ||
"sourceMap": true, | ||
"inlineSources": true, | ||
"target": "es5", | ||
"skipLibCheck": true, | ||
"lib": [ | ||
"dom", | ||
"es2015" | ||
], | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"removeComments": true, | ||
"sourceMap": true, | ||
"noImplicitAny": false | ||
"es2015", | ||
"dom" | ||
] | ||
}, | ||
"compileOnSave": false, | ||
"atom": { | ||
"rewriteTsconfig": false | ||
}, | ||
"files" :[ | ||
"files": [ | ||
"src/index.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"typings/main", | ||
"typings/main.d.ts", | ||
"bundles" | ||
] | ||
"angularCompilerOptions": { | ||
"strictMetadataEmit": true | ||
} | ||
} |
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
8
-20%73
7.35%16616
-46.17%14
-53.33%151
-48.11%1
Infinity%