diff --git a/angular.json b/angular.json
index 8431e89..de9d561 100644
--- a/angular.json
+++ b/angular.json
@@ -41,11 +41,10 @@
],
"optimization": true,
"outputHashing": "all",
- "sourceMap": false,
- "extractCss": true,
+ "sourceMap": true,
"namedChunks": false,
"extractLicenses": true,
- "vendorChunk": false,
+ "vendorChunk": true,
"buildOptimizer": true,
"budgets": [
{
diff --git a/gh-pages.js b/gh-pages.js
index ecb92b8..01cba9e 100644
--- a/gh-pages.js
+++ b/gh-pages.js
@@ -1,7 +1,7 @@
const ghpages = require('gh-pages');
ghpages.publish('dist/angular-ngx-treeview', {
- repo: 'https://' + process.env.GH_TOKEN + '@github.com/' + process.env.TRAVIS_REPO_SLUG + '.git'
+ repo: 'https://' + process.env.GH_TOKEN+ '@github.com/Charmedme/ngx-treeview.git'
}, function (err) {
if (err) {
console.log(err);
diff --git a/package-lock.json b/package-lock.json
index 16d1eaa..97d8820 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
- "name": "angular-ngx-treeview",
- "version": "2.0.0",
+ "name": "@charmedme/ngx-treeview",
+ "version": "2.0.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
- "name": "angular-ngx-treeview",
- "version": "2.0.0",
+ "name": "@charmedme/ngx-treeview",
+ "version": "2.0.7",
"license": "MIT",
"dependencies": {
"@angular/animations": "~13.3.11",
diff --git a/package.json b/package.json
index 87a3eb6..5ea3d34 100644
--- a/package.json
+++ b/package.json
@@ -9,12 +9,13 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
- "build:demo": "ng build",
+ "build:demo": "ng build angular-ngx-treeview --aot --output-hashing=all",
"build": "ng-packagr -p ./projects/ngx-treeview/ng-package.json",
"publish": "npm run build && npm publish --access public --folder ./dist/ngx-treeview",
"test": "ng test",
"lint": "ng lint",
- "e2e": "ng e2e"
+ "e2e": "ng e2e",
+ "deploy": "npm run build:demo && node gh-pages.js"
},
"keywords": [
"ng",
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 7411d09..f8c4fb8 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,8 +1,8 @@