filestash/public/package.json
2025-09-23 14:43:50 +10:00

153 lines
3 KiB
JSON

{
"type": "module",
"name": "Filestash",
"version": "1.0.0",
"description": "Frontend for Filestash",
"main": "index.js",
"scripts": {
"check": "tsc",
"lint": "npx eslint .",
"test": "npx vitest",
"coverage": "npx vitest --coverage --coverage.exclude=**/vendor/**,public/assets/pages/viewerpage/application_editor/*.js"
},
"author": "Mickael Kerjean",
"license": "AGPL",
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/preset-env": "^7.22.10",
"@types/jest": "^29.5.3",
"@types/rx": "^4.1.4",
"@types/rx-core": "^4.0.6",
"@types/rx-lite": "^4.0.9",
"@vitest/coverage-v8": "^1.6.0",
"babel-plugin-transform-import-meta": "^2.2.1",
"css-loader": "^6.8.1",
"eslint": "^8.47.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.6.2",
"jest-canvas-mock": "^2.5.2",
"jest-mock-server": "^0.1.0",
"jsdom": "^22.1.0",
"msw": "^1.3.2",
"vitest": "^1.6.0"
},
"babel": {
"env": {
"test": {
"plugins": [
"@babel/plugin-transform-modules-commonjs",
"babel-plugin-transform-import-meta"
]
}
}
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"ignorePatterns": [
"assets/lib/vendor/**/*.js",
"*.test.js"
],
"extends": "standard",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"quotes": [
"error",
"double",
{
"allowTemplateLiterals": true
}
],
"quote-props": [
"error",
"consistent"
],
"indent": [
"error",
4
],
"semi": [
"error",
"always"
],
"space-before-function-paren": [
"error",
"never"
],
"camelcase": [
"off"
],
"dot-notation": [
"off"
],
"no-case-declarations": [
"off"
],
"no-fallthrough": [
"off"
],
"prefer-regex-literals": [
"off"
],
"promise/param-names": [
"off"
],
"no-return-assign": [
"off"
],
"brace-style": [
"off"
],
"no-useless-escape": [
"off"
],
"comma-dangle": [
"off"
],
"curly": [
"off"
],
"space-infix-ops": [
"off"
],
"no-cond-assign": [
"off"
],
"n/handle-callback-err": [
"off"
],
"no-template-curly-in-string": [
"off"
],
"new-cap": [
"off"
],
"accessor-pairs": [
"off"
],
"no-new": [
"off"
],
"multiline-ternary": [
"off"
],
"no-empty-pattern": [
"off"
]
}
},
"dependencies": {
"nvm": "^0.0.4",
"typescript": "^5.2.2"
}
}