mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-05-13 13:58:57 +00:00
31 lines
853 B
JSON
31 lines
853 B
JSON
{
|
|
"name": "outline-server",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@types/jasmine": "^3.5.10",
|
|
"clang-format": "^1.2.2",
|
|
"husky": "^1.3.1",
|
|
"jasmine": "^3.5.0",
|
|
"tslint": "^5.9.1",
|
|
"typescript": "^4"
|
|
},
|
|
"engines": {
|
|
"yarn": ">=1.0",
|
|
"node": "^12"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf src/*/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts third_party/shellcheck/download/",
|
|
"do": "bash ./scripts/do_action.sh",
|
|
"lint": "yarn shellcheck && yarn tslint",
|
|
"shellcheck": "bash ./scripts/shellcheck.sh",
|
|
"tslint": "tslint 'src/**/*.ts' -e '**/node_modules/**'"
|
|
},
|
|
"workspaces": [
|
|
"src/*"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn run lint && yarn git-clang-format && yarn pretty-quick --staged --pattern '**/*.html'"
|
|
}
|
|
}
|
|
}
|