2020-11-17 22:29:56 +00:00
|
|
|
{
|
|
|
|
"dependencies": {
|
|
|
|
"ep_etherpad-lite": "file:src"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-11-27 06:21:26 +00:00
|
|
|
"eslint": "^7.14.0",
|
|
|
|
"eslint-config-etherpad": "^1.0.13",
|
2020-11-17 22:29:56 +00:00
|
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
"eslint-plugin-prefer-arrow": "^1.2.2",
|
|
|
|
"eslint-plugin-promise": "^4.2.1"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"ignorePatterns": [
|
|
|
|
"/src/",
|
|
|
|
"/tests/frontend/lib/"
|
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"**/.eslintrc.js"
|
|
|
|
],
|
|
|
|
"extends": "etherpad/node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"**/*"
|
|
|
|
],
|
|
|
|
"excludedFiles": [
|
|
|
|
"**/.eslintrc.js",
|
|
|
|
"tests/frontend/**/*"
|
|
|
|
],
|
|
|
|
"extends": "etherpad/node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"tests/**/*"
|
|
|
|
],
|
|
|
|
"excludedFiles": [
|
|
|
|
"**/.eslintrc.js"
|
|
|
|
],
|
|
|
|
"extends": "etherpad/tests",
|
|
|
|
"rules": {
|
|
|
|
"mocha/no-exports": "off",
|
|
|
|
"mocha/no-top-level-hooks": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"tests/backend/**/*"
|
|
|
|
],
|
|
|
|
"excludedFiles": [
|
|
|
|
"**/.eslintrc.js"
|
|
|
|
],
|
|
|
|
"extends": "etherpad/tests/backend",
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"tests/backend/**/*"
|
|
|
|
],
|
|
|
|
"excludedFiles": [
|
|
|
|
"tests/backend/specs/**/*"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"mocha/no-exports": "off",
|
|
|
|
"mocha/no-top-level-hooks": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"tests/frontend/**/*"
|
|
|
|
],
|
|
|
|
"excludedFiles": [
|
|
|
|
"**/.eslintrc.js"
|
|
|
|
],
|
|
|
|
"extends": "etherpad/tests/frontend",
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"tests/frontend/**/*"
|
|
|
|
],
|
|
|
|
"excludedFiles": [
|
|
|
|
"tests/frontend/specs/**/*"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"mocha/no-exports": "off",
|
|
|
|
"mocha/no-top-level-hooks": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"root": true
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"lint": "eslint ."
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=10.13.0"
|
|
|
|
}
|
|
|
|
}
|