ngx-chiptan
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "ngx-chiptan", | ||
"version": "0.0.2", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve", | ||
"build": "ng build", | ||
"test": "ng test", | ||
"lint": "ng lint", | ||
"e2e": "ng e2e" | ||
"version": "0.0.3", | ||
"description": "Angular component to renders chiptan flicker code.", | ||
"author": "fundsaccess AG", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/fundsaccess/ngx-chiptan" | ||
}, | ||
"dependencies": { | ||
"@angular/animations": "~8.2.14", | ||
"@angular/common": "~8.2.14", | ||
"@angular/compiler": "~8.2.14", | ||
"@angular/core": "~8.2.14", | ||
"@angular/forms": "~8.2.14", | ||
"@angular/platform-browser": "~8.2.14", | ||
"@angular/platform-browser-dynamic": "~8.2.14", | ||
"@angular/router": "~8.2.14", | ||
"rxjs": "~6.4.0", | ||
"tslib": "^1.10.0", | ||
"zone.js": "~0.9.1" | ||
}, | ||
"devDependencies": { | ||
"@angular-devkit/build-angular": "~0.803.19", | ||
"@angular-devkit/build-ng-packagr": "~0.803.19", | ||
"@angular/cli": "~8.3.19", | ||
"@angular/compiler-cli": "~8.2.14", | ||
"@angular/language-service": "~8.2.14", | ||
"@types/node": "~8.9.4", | ||
"@types/jasmine": "~3.3.8", | ||
"@types/jasminewd2": "~2.0.3", | ||
"codelyzer": "^5.0.0", | ||
"jasmine-core": "~3.4.0", | ||
"jasmine-spec-reporter": "~4.2.1", | ||
"karma": "~4.1.0", | ||
"karma-chrome-launcher": "~2.2.0", | ||
"karma-coverage-istanbul-reporter": "~2.0.1", | ||
"karma-jasmine": "~2.0.1", | ||
"karma-jasmine-html-reporter": "^1.4.0", | ||
"ng-packagr": "^5.4.0", | ||
"protractor": "~5.4.0", | ||
"ts-node": "~7.0.0", | ||
"tsickle": "^0.37.0", | ||
"tslint": "~5.15.0", | ||
"typescript": "~3.5.3" | ||
"homepage": "https://github.com/fundsaccess", | ||
"keywords": [ | ||
"angular", | ||
"chiptan", | ||
"component", | ||
"typescript" | ||
], | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@angular/common": "^8.2.14", | ||
"@angular/core": "^8.2.14" | ||
} | ||
} |
@@ -1,49 +0,24 @@ | ||
# ngx-chiptan | ||
# NgxChiptan | ||
Angular component to renders chiptan flicker code. | ||
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14. | ||
## Installation | ||
## Code scaffolding | ||
``` | ||
$ npm i ngx-chiptan --save | ||
``` | ||
Run `ng generate component component-name --project ngx-chiptan` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-chiptan`. | ||
> Note: Don't forget to add `--project ngx-chiptan` or else it will be added to the default project in your `angular.json` file. | ||
## Import | ||
## Build | ||
Once installed you need to import the main module: | ||
```typescript | ||
import { NgxChiptanModule } from 'ngx-chiptan'; | ||
Run `ng build ngx-chiptan` to build the project. The build artifacts will be stored in the `dist/` directory. | ||
@NgModule({ | ||
declarations: [], | ||
imports: [NgxChiptanModule], | ||
}) | ||
export class Module { | ||
} | ||
``` | ||
## Usage | ||
```html | ||
<ngx-chiptan | ||
code="17850120452019980412345678041234567804123456789E" | ||
width="300" | ||
height="150" | ||
bgColor="#000" | ||
barColor="#fff"> | ||
</ngx-chiptan> | ||
``` | ||
## Publishing | ||
## Demo | ||
``` | ||
cd ngx-chiptan-showcase | ||
ng serve | ||
``` | ||
After building your library with `ng build ngx-chiptan`, go to the dist folder `cd dist/ngx-chiptan` and run `npm publish`. | ||
## Acknowledgments | ||
## Running unit tests | ||
Inspired by | ||
[chipTAN Flickercodes article](https://6xq.net/flickercodes/) | ||
Run `ng test ngx-chiptan` to execute the unit tests via [Karma](https://karma-runner.github.io). | ||
[react-chiptan](https://github.com/basimhennawi/react-chiptan) | ||
## Further help | ||
## License | ||
Copyright (c) 2019 fundsaccess AG. Licensed under the MIT License (MIT) | ||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). |
{ | ||
"extends": "tslint:recommended", | ||
"rulesDirectory": [ | ||
"codelyzer" | ||
], | ||
"extends": "../../tslint.json", | ||
"rules": { | ||
"array-type": false, | ||
"arrow-parens": false, | ||
"deprecation": { | ||
"severity": "warning" | ||
}, | ||
"import-blacklist": [ | ||
"directive-selector": [ | ||
true, | ||
"rxjs/Rx" | ||
"attribute", | ||
"lib", | ||
"camelCase" | ||
], | ||
"interface-name": false, | ||
"max-classes-per-file": false, | ||
"max-line-length": [ | ||
"component-selector": [ | ||
true, | ||
140 | ||
], | ||
"member-access": false, | ||
"member-ordering": [ | ||
true, | ||
{ | ||
"order": [ | ||
"static-field", | ||
"instance-field", | ||
"static-method", | ||
"instance-method" | ||
] | ||
} | ||
], | ||
"no-consecutive-blank-lines": false, | ||
"no-console": [ | ||
true, | ||
"debug", | ||
"info", | ||
"time", | ||
"timeEnd", | ||
"trace" | ||
], | ||
"no-empty": false, | ||
"no-inferrable-types": [ | ||
true, | ||
"ignore-params" | ||
], | ||
"no-non-null-assertion": true, | ||
"no-redundant-jsdoc": true, | ||
"no-switch-case-fall-through": true, | ||
"no-var-requires": false, | ||
"object-literal-key-quotes": [ | ||
true, | ||
"as-needed" | ||
], | ||
"object-literal-sort-keys": false, | ||
"ordered-imports": false, | ||
"quotemark": [ | ||
true, | ||
"single" | ||
], | ||
"trailing-comma": false, | ||
"component-class-suffix": true, | ||
"contextual-lifecycle": true, | ||
"directive-class-suffix": true, | ||
"no-conflicting-lifecycle": true, | ||
"no-host-metadata-property": true, | ||
"no-input-rename": true, | ||
"no-inputs-metadata-property": true, | ||
"no-output-native": true, | ||
"no-output-on-prefix": true, | ||
"no-output-rename": true, | ||
"no-outputs-metadata-property": true, | ||
"template-banana-in-box": true, | ||
"template-no-negated-async": true, | ||
"use-lifecycle-interface": true, | ||
"use-pipe-transform-interface": true | ||
"element", | ||
"lib", | ||
"kebab-case" | ||
] | ||
} | ||
} |
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
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2
0
1
1
0
11376
13
332
25
1
+ Addedrxjs@6.6.7(transitive)
- Removed@angular/animations@~8.2.14
- Removed@angular/common@~8.2.14
- Removed@angular/compiler@~8.2.14
- Removed@angular/core@~8.2.14
- Removed@angular/forms@~8.2.14
- Removed@angular/platform-browser@~8.2.14
- Removed@angular/router@~8.2.14
- Removedrxjs@~6.4.0
- Removedtslib@^1.10.0
- Removedzone.js@~0.9.1
- Removed@angular/animations@8.2.14(transitive)
- Removed@angular/compiler@8.2.14(transitive)
- Removed@angular/forms@8.2.14(transitive)
- Removed@angular/platform-browser@8.2.14(transitive)
- Removed@angular/platform-browser-dynamic@8.2.14(transitive)
- Removed@angular/router@8.2.14(transitive)
- Removedrxjs@6.4.0(transitive)