chore(*): add linting configuration
Showing
- .cz-config.js 5 additions, 0 deletions.cz-config.js
- .eslintignore 3 additions, 0 deletions.eslintignore
- .eslintrc.js 3 additions, 0 deletions.eslintrc.js
- .gitignore 2 additions, 0 deletions.gitignore
- .prettierrc.js 3 additions, 0 deletions.prettierrc.js
- commitlint.config.js 3 additions, 0 deletionscommitlint.config.js
- package.json 35 additions, 2 deletionspackage.json
- src/app.js 125 additions, 0 deletionssrc/app.js
- yarn.lock 6026 additions, 0 deletionsyarn.lock
.cz-config.js
0 → 100644
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.prettierrc.js
0 → 100644
commitlint.config.js
0 → 100644
{ | { | ||
"name": "@cokoapps/server", | "name": "@coko/server", | ||
"version": "0.0.0", | "version": "0.0.0", | ||
"description": "A tweaked version of pubsweet-server for use by Coko's projects", | "description": "A tweaked version of pubsweet-server for use by Coko's projects", | ||
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"cz": "git-cz", | |||
"release": "standard-version", | |||
"test": "echo \"Error: no test specified\" && exit 1" | "test": "echo \"Error: no test specified\" && exit 1" | ||
}, | }, | ||
"repository": { | "repository": { | ||
... | @@ -16,5 +18,36 @@ | ... | @@ -16,5 +18,36 @@ |
"coko" | "coko" | ||
], | ], | ||
"author": "Yannis Barlas", | "author": "Yannis Barlas", | ||
"license": "MIT" | "license": "MIT", | ||
"publishConfig": { | |||
"access": "public" | |||
}, | |||
"dependencies": { | |||
"@pubsweet/logger": "^0.2.42", | |||
"@pubsweet/models": "^0.3.7", | |||
"body-parser": "^1.19.0", | |||
"config": "^3.3.1", | |||
"cookie-parser": "^1.4.5", | |||
"express": "^4.17.1", | |||
"helmet": "^3.22.0", | |||
"http-status-codes": "^1.4.0", | |||
"morgan": "^1.10.0", | |||
"passport": "^0.4.1", | |||
"pubsweet-server": "^13.9.4", | |||
"waait": "^1.0.5" | |||
}, | |||
"devDependencies": { | |||
"@coko/lint": "^0.0.1", | |||
"standard-version": "^7.1.0" | |||
}, | |||
"config": { | |||
"commitizen": { | |||
"path": "cz-customizable" | |||
} | |||
}, | |||
"husky": { | |||
"hooks": { | |||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | |||
} | |||
} | |||
} | } |
src/app.js
0 → 100644
yarn.lock
0 → 100644
This diff is collapsed.
Please register or sign in to comment