Skip to content

Commit

Permalink
Merge pull request #2 from selemxmn/develop
Browse files Browse the repository at this point in the history
v1.0.2
  • Loading branch information
selemxmn authored Nov 28, 2018
2 parents c676240 + 6b7c60c commit 6a512ee
Show file tree
Hide file tree
Showing 6 changed files with 4,283 additions and 3 deletions.
43 changes: 43 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ngx-print": {
"root": "",
"sourceRoot": "src",
"projectType": "library",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "tsconfig.lib.json",
"project": "ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.lib.json",
"tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "ngx-print"
}
9 changes: 9 additions & 0 deletions ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"dest": "./dist/ngx-print",
"lib": {
"entryFile": "src/public_api.ts"

},
"whitelistedNonPeerDependencies": ["."]
}
28 changes: 27 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
{
"name": "ngx-print",
"version": "1.0.0",
"version": "1.0.2",
"description": "Angular powered Bootstrap",
"author": "https://github.com/selemxmn/ngx-print/graphs/contributors",
"repository": {
"type": "git",
"url": "git+https://github.com/selemxmn/ngx-print.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/selemxmn/ngx-print/issues"
},
"homepage": "https://github.com/selemxmn/ngx-print#readme",
"dependencies": {
"tslib": "^1.9.3"
},
"devDependencies": {
"@angular-devkit/build-ng-packagr": "^0.11.0",
"@angular/cli": "^7.1.0",
"@angular/compiler": "^7.1.1",
"@angular/compiler-cli": "^7.1.1",
"@angular/core": "^7.1.1",
"ng-packagr": "^4.4.0",
"rxjs": "^6.3.3",
"tsickle": "^0.34.0",
"typescript": "^3.1.6",
"zone.js": "^0.8.26"
},
"peerDependencies": {
"@angular/common": "*",
"@angular/core": "*"
Expand Down
29 changes: 29 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"paths": {
"ngx-print": [
"dist/ngx-print"
],
"ngx-print/*": [
"dist/ngx-print/*"
]
}
}
}
4 changes: 2 additions & 2 deletions tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"outDir": "./out-tsc/lib",
"target": "es2015",
"module": "es2015",
"moduleResolution": "node",
Expand Down
Loading

0 comments on commit 6a512ee

Please sign in to comment.