69 lines
1.5 KiB
JSON
Executable File
69 lines
1.5 KiB
JSON
Executable File
{
|
|
"name": "excalidraw-room",
|
|
"version": "1.0.0",
|
|
"description": "Excalidraw collaboration server",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"postinstall": "npm run build",
|
|
"start": "node dist/index.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/excalidraw/excalidraw-room.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/excalidraw/excalidraw-room/issues"
|
|
},
|
|
"homepage": "https://github.com/excalidraw/excalidraw-room#readme",
|
|
"dependencies": {
|
|
"@types/socket.io": "^2.1.4",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-prettier": "6.10.0",
|
|
"eslint-plugin-prettier": "3.1.2",
|
|
"express": "^4.17.1",
|
|
"prettier": "1.19.1",
|
|
"socket.io": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.3",
|
|
"@types/node": "^13.9.0",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"prettier"
|
|
],
|
|
"plugins": [
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"curly": "warn",
|
|
"no-console": [
|
|
"warn",
|
|
{
|
|
"allow": [
|
|
"warn",
|
|
"error",
|
|
"info"
|
|
]
|
|
}
|
|
],
|
|
"no-else-return": "warn",
|
|
"no-useless-return": "warn",
|
|
"prefer-const": [
|
|
"warn",
|
|
{
|
|
"destructuring": "all"
|
|
}
|
|
],
|
|
"prefer-template": "warn",
|
|
"prettier/prettier": "warn"
|
|
}
|
|
}
|
|
}
|