summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-04-07 00:25:15 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2024-04-07 10:42:25 +0200
commit9dae69ef3282aa7c3ebd5243b77199108ad595f9 (patch)
tree4e18585fe3b95e6603c34287efeb00fd237be98f /package.json
parent34f9e78c69183627a82e03e32563d15b73a33782 (diff)
downloadgohugo-theme-ed-9dae69ef3282aa7c3ebd5243b77199108ad595f9.tar.gz
Add support of E2E tests using Playwright
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index e2e1c29..53ae529 100644
--- a/package.json
+++ b/package.json
@@ -23,9 +23,11 @@
"server": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=development hugo server --verbose --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender",
"lint": "npm run lint:js && npm run lint:editorconfig",
"lint:editorconfig": "editorconfig-checker",
- "lint:js": "eslint static/js/* assets/js/* eslint.config.js"
+ "lint:js": "eslint static/js/* assets/js/* eslint.config.js playwright.config.js"
},
"devDependencies": {
+ "@playwright/test": "^1.43.0",
+ "@types/node": "^20.12.5",
"editorconfig-checker": "^5.1.5",
"eslint": "^9.0.0"
}