Feat: removed custom packaging script in favour of ng-packger; Feat: update with angular9 dependencies

This commit is contained in:
lorenzo 2020-02-12 11:40:50 +01:00
parent 404f3d1c39
commit a1846c335a
18 changed files with 13899 additions and 6736 deletions

View file

@ -1 +1 @@
export * from './ng2-fittext.module';
export * from './directives/ng2-fittext.directive';

View file

@ -1,6 +1,6 @@
import { Ng2FittextDirective } from './directives/ng2-fittext.directive';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {NgModule} from "@angular/core";
@NgModule({
declarations: [

2263
src/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

33
src/package.json Normal file
View file

@ -0,0 +1,33 @@
{
"name": "ng2-fittext",
"version": "1.2.9",
"description": "Ng2-fittext: An Angular2+ directive that change the font size until it fit the upper level container dimension.",
"keywords": [
"ng2-fittext",
"fittext",
"angular",
"angular 2",
"angular 4",
"angular 5",
"angular 6",
"angular 7",
"fit text",
"responsive text"
],
"author": "Lorenzo Iovino",
"license": "MIT",
"ngPackage": {
"lib": {
"entryFile": "./ng2-fittext.module.ts"
}
},
"scripts": {
"transpile": "ngc",
"build": "../node_modules/.bin/ng-packagr -p package.json",
"prepublish": "npm run test",
"publish": "npm run build && npm publish --access=public && rm -rf ./dist"
},
"repository": {
"url": "https://github.com/lokenxo/ng2-fittext.git"
}
}