fix(package.json): fix test run script

This commit is contained in:
Lorenzo Iovino 2024-07-10 05:54:03 +02:00
parent 894dc99574
commit 8d896af514
3 changed files with 6 additions and 3 deletions

View file

@ -18,4 +18,4 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm install - run: npm install
- run: npm run test - run: npm run test:headless:singleRun

View file

@ -6,6 +6,8 @@
"start": "node node_modules/@angular/cli/bin/ng serve", "start": "node node_modules/@angular/cli/bin/ng serve",
"build": "node node_modules/@angular/cli/bin/ng build --configuration production", "build": "node node_modules/@angular/cli/bin/ng build --configuration production",
"test": "node node_modules/@angular/cli/bin/ng test lib", "test": "node node_modules/@angular/cli/bin/ng test lib",
"test:headless": "node node_modules/@angular/cli/bin/ng test --browsers=ChromeHeadless",
"test:headless:singleRun": "node node_modules/@angular/cli/bin/ng test --no-watch --no-progress --browsers=ChromeHeadless lib",
"release:minor": "cd ./projects/lib/ && npm version minor", "release:minor": "cd ./projects/lib/ && npm version minor",
"release:major": "cd ./projects/lib/ && npm version major", "release:major": "cd ./projects/lib/ && npm version major",
"release:patch": "cd ./projects/lib/ && npm version patch", "release:patch": "cd ./projects/lib/ && npm version patch",

View file

@ -21,6 +21,7 @@
"angular 15", "angular 15",
"angular 16", "angular 16",
"angular 17", "angular 17",
"angular 18",
"fit text", "fit text",
"responsive text", "responsive text",
"responsive font size", "responsive font size",
@ -29,8 +30,8 @@
"author": "Lorenzo Iovino", "author": "Lorenzo Iovino",
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/common": ">=17.0.0", "@angular/common": ">=18.0.0",
"@angular/core": ">=17.0.0" "@angular/core": ">=18.0.0"
}, },
"dependencies": { "dependencies": {
"tslib": "^2.3.0" "tslib": "^2.3.0"