96 lines
2.1 KiB
JSON
96 lines
2.1 KiB
JSON
{
|
|
"name": "logreader",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "vite --mode production build",
|
|
"dev": "vite --mode development build",
|
|
"dev:watch": "vite --mode development build --watch",
|
|
"lint": "eslint src *.ts",
|
|
"lint:fix": "eslint --fix src *.ts",
|
|
"test": "TZ='Etc/GMT+1' vitest run",
|
|
"test:watch": "TZ='Etc/GMT+1' vitest watch",
|
|
"test:coverage": "TZ='Etc/GMT+1' vitest run --coverage"
|
|
},
|
|
"devDependencies": {
|
|
"@nextcloud/browserslist-config": "^3.0.0",
|
|
"@nextcloud/eslint-config": "^8.3.0",
|
|
"@nextcloud/vite-config": "^1.1.0",
|
|
"@pinia/testing": "^0.1.3",
|
|
"@vitest/coverage-istanbul": "^0.34.6",
|
|
"@vue/test-utils": "^1.3.6",
|
|
"@vue/tsconfig": "^0.4.0",
|
|
"eslint-plugin-chai-friendly": "^0.7.2",
|
|
"happy-dom": "^12.10.3",
|
|
"typescript": "^5.2.2",
|
|
"vite": "^4.5.0",
|
|
"vitest": "^0.34.6"
|
|
},
|
|
"engines": {
|
|
"node": "^20.0.0",
|
|
"npm": "^9.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@highlightjs/vue-plugin": "^1.0.2",
|
|
"@mdi/svg": "^7.3.67",
|
|
"@nextcloud/axios": "^2.4.0",
|
|
"@nextcloud/dialogs": "^5.0.3",
|
|
"@nextcloud/initial-state": "^2.1.0",
|
|
"@nextcloud/l10n": "^2.2.0",
|
|
"@nextcloud/logger": "^2.7.0",
|
|
"@nextcloud/router": "^2.1.2",
|
|
"@nextcloud/typings": "^1.7.0",
|
|
"@nextcloud/vue": "^8.3.0",
|
|
"axios": "^1.6.2",
|
|
"date-fns": "^2.30.0",
|
|
"highlight.js": "^11.9.0",
|
|
"json-string-splitter": "^1.0.0",
|
|
"pinia": "^2.1.7",
|
|
"vue": "^2.7.15",
|
|
"vue-material-design-icons": "^5.2.0"
|
|
},
|
|
"eslintConfig": {
|
|
"ignorePatterns": [
|
|
"node_modules/",
|
|
"js/",
|
|
"lib/"
|
|
],
|
|
"extends": [
|
|
"@nextcloud/eslint-config/typescript"
|
|
],
|
|
"plugins": [
|
|
"chai-friendly"
|
|
],
|
|
"rules": {
|
|
"func-call-spacing": "off",
|
|
"@typescript-eslint/func-call-spacing": "error",
|
|
"no-unused-expressions": 0,
|
|
"chai-friendly/no-unused-expressions": 2
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"./*.config.*",
|
|
"**/*.spec.*",
|
|
"**/*.test.*"
|
|
],
|
|
"rules": {
|
|
"n/no-unpublished-import": [
|
|
"off"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"**/*.vue"
|
|
],
|
|
"rules": {
|
|
"n/no-missing-import": "off"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"extends @nextcloud/browserslist-config"
|
|
]
|
|
}
|