spacedrive/scripts/package.json
Vítor Vasconcellos e5b57aa0ea
New test: Add location (#2222)
* New test: Add location
 - Add script to download some test files to allows tests to have a stable path for creating locations
 - Improve onboarding test
 - Add custom Cypress commands for fastOnboarding and deleteLibrary
 - Add some documentation related to tests to CONTRIBUTING.md
 - Update some deps

* Download small test-data for Cypress CI

* Replace globstar with find to make it compatible with bash 3.x

* Fix react too many re-renders
 - add-location test should now pass successfully

* Make job model task text match less flaky

* Check if we were redirected to onboarding after Library was deleted
 - Check if sidebar entry was created after adding a location
 - Put route regex's into a separate file
 - Make onboarding test ensure that no Library exists before running

* Enable test retries
 - Log cypress default config during test run

* Run tests under webkit
 - Pass CI envvar to tests to ensure correct cypress config

* Attempt fix CI config again

* Remove single use checkUrlIsLibrary function
2024-03-23 21:24:16 +00:00

43 lines
988 B
JSON

{
"name": "@sd/scripts",
"private": true,
"main": "./preprep.mjs",
"type": "module",
"scripts": {
"prep": "node preprep.mjs",
"tauri": "node tauri.mjs",
"lint": "eslint --cache",
"typecheck": "tsc"
},
"prettier": {
"semi": false,
"endOfLine": "lf",
"printWidth": 99,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"archive-wasm": "^1.6.1",
"mustache": "^4.2.0",
"semver": "^7.6.0",
"undici": "^6.9.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/eslint-parser": "^7.24.1",
"@babel/eslint-plugin": "^7.23.5",
"@types/mustache": "^4.2.5",
"@types/node": ">18.18.x",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-jsdoc": "^48.2.1",
"eslint-plugin-prettier": "^5.1.3",
"typescript": "^5.4.2"
}
}