🎉 初始化项目
This commit is contained in:
18
web-app/tests/package.json
Normal file
18
web-app/tests/package.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user