angular-progress-bar
Advanced tools
Comparing version
{ | ||
"name": "angular-progress-bar", | ||
"version": "1.0.3-beta1", | ||
"version": "1.0.3-beta10", | ||
"description": "An angular progress-bar", | ||
"main": "bundles/progress-bar.umd.js", | ||
"module": "src/index.js", | ||
"typings": "src/index.d.ts", | ||
"main": "./dist/bundles/progress-bar.umd.js", | ||
"module": "./dist/src/index.js", | ||
"typings": "./dist/src/index.d.ts", | ||
"scripts": { | ||
"generate": "npm run build && cp -r ./assets/ ./dist/assets/ && cp ./package.json ./dist/package.json && cp ./README.md ./dist/README.md", | ||
"transpile": "tsc -p . && 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" | ||
@@ -13,0 +14,0 @@ }, |
@@ -12,7 +12,9 @@ <p align="center"> | ||
- [Introduction](#introduction) | ||
- [Basic Appearance](#basic-appearance) | ||
- [Appearance](#appearance) | ||
- [Basic](#basic) | ||
- [Grey](#grey) | ||
- [Installation](#installation) | ||
- [How to use](#how-to-use) | ||
- [Classic way](#classic-way) | ||
- [Color degraded way](#color-degraded-way) | ||
- [Classic way](#classic-way) | ||
- [Color degraded way](#color-degraded-way) | ||
@@ -25,4 +27,9 @@ ## Introduction ## | ||
## Basic Appearance ## | ||
## Appearance ## | ||
### Basic ### | ||
<img src="./assets/angular-progress-bar.png?raw=true" alt="Appearence"> | ||
### Grey ### | ||
<img src="./assets/angular-progress-bar-50.PNG?raw=true" alt="Appearence"> | ||
@@ -51,3 +58,5 @@ ## 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 | ||
@@ -60,3 +69,4 @@ | ||
### 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. | ||
@@ -71,2 +81,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 { ProgressBarModule } from './progress-bar.module'; | ||
export { ProgressBarModule } from './progress-bar.module'; |
@@ -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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
50913
65.33%37
23.33%394
35.4%77
13.24%3
50%1
Infinity%