1c1f25b5c6
* Backported `/tests` from `macros-2.0`. * Added `eslint-plugin-playwright` * Improve formatting --------- Co-authored-by: user <user@exmaple.com> Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
19 lines
573 B
JSON
19 lines
573 B
JSON
{
|
|
"name": "sillytavern-tests",
|
|
"type": "module",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"test": "npm run test:unit && npm run test:e2e",
|
|
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.json",
|
|
"test:e2e": "playwright test",
|
|
"lint": "eslint \"**/*.js\" ./*.js",
|
|
"lint:fix": "eslint \"**/*.js\" ./*.js --fix"
|
|
},
|
|
"dependencies": {
|
|
"@playwright/test": "^1.56.1",
|
|
"@types/jest": "^29.5.12",
|
|
"eslint": "^8.57.0",
|
|
"jest": "^29.7.0"
|
|
}
|
|
}
|