Skip to content

Commit c4a0532

Browse files
authored
build(npm): Enable 'ignore-scripts' config (#362)
JIRA: CPOUI5FOUNDATION-1127
1 parent b187542 commit c4a0532

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
lockfile-version=3
2+
ignore-scripts=true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"start": "ui5 serve --port 8080",
1212
"lint": "eslint webapp && ui5lint",
13-
"test-runner": "ui5-test-runner --url http://localhost:8080/test/testsuite.qunit.html --start start --start-timeout 30000 --coverage -ccb 100 -ccf 100 -ccl 100 -ccs 100",
13+
"test-runner": "npx puppeteer browsers install chrome && ui5-test-runner --url http://localhost:8080/test/testsuite.qunit.html --start start --start-timeout 30000 --coverage -ccb 100 -ccf 100 -ccl 100 -ccs 100",
1414
"test": "npm run lint && npm run test-runner",
1515
"build": "ui5 build -a --clean-dest",
1616
"build-self-contained": "ui5 build self-contained -a --clean-dest",

0 commit comments

Comments
 (0)