You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
2.9 KiB
107 lines
2.9 KiB
{
|
|
"name": "iassure-wx",
|
|
"version": "1.3.2",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"paths": "resolve-tspaths --out \"dist\"",
|
|
"start": "resolve-tspaths --out \"dist\" && node --inspect=0.0.0.0:9229 dist/backend/app.js",
|
|
"dev": "tsc-watch -p ./tsconfig.node.json --onSuccess \"npm run start\" --onFailure \"echo WHOOPS! Server compilation failed\"",
|
|
"spa-dev": "vite --config=src/frontend/vite.config.ts",
|
|
"spa-build": "tsc -p ./tsconfig.web.json && vite --config=src/frontend/vite.config.ts build",
|
|
"spa-preview": "vite --config=src/frontend/vite.config.ts"
|
|
},
|
|
"keywords": [],
|
|
"author": "Fionn Sperath",
|
|
"license": "AGPL-3.0-only",
|
|
"dependencies": {
|
|
"axios": "^1.3.4",
|
|
"express": "^4.18.1",
|
|
"morgan": "^1.10.0",
|
|
"node-schedule": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.13",
|
|
"@types/leaflet": "^1.9.3",
|
|
"@types/morgan": "^1.9.4",
|
|
"@types/node": "^18.16.3",
|
|
"@types/react-dom": "^18.0.9",
|
|
"@types/react": "^18.0.26",
|
|
"@typescript-eslint/eslint-plugin": "^5.38.1",
|
|
"@typescript-eslint/parser": "^5.38.1",
|
|
"@vitejs/plugin-react": "^3.0.0",
|
|
"bootstrap": "^5.2.3",
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-n": "^15.2.5",
|
|
"eslint-plugin-promise": "^6.0.1",
|
|
"eslint-plugin-react": "^7.31.11",
|
|
"eslint": "^8.23.1",
|
|
"leaflet": "^1.9.3",
|
|
"react-bootstrap": "^2.7.4",
|
|
"react-dom": "^18.2.0",
|
|
"react-leaflet": "^4.2.1",
|
|
"react-router": "^6.11.1",
|
|
"react": "^18.2.0",
|
|
"resolve-tspaths": "^0.8.8",
|
|
"rimraf": "^3.0.2",
|
|
"tsc-watch": "^5.0.3",
|
|
"typescript": "^4.9.4",
|
|
"vite": "^4.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"env": {
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"airbnb-typescript/base",
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"import",
|
|
"promise"
|
|
],
|
|
"overrides": [],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"project": [
|
|
"./tsconfig.node.json",
|
|
"./tsconfig.web.json"
|
|
]
|
|
},
|
|
"rules": {
|
|
"no-console": "warn",
|
|
"import/extensions": "off",
|
|
"eol-last": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{
|
|
"devDependencies": true
|
|
}
|
|
],
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"newlines-between": "always",
|
|
"alphabetize": {
|
|
"order": "asc"
|
|
}
|
|
}
|
|
],
|
|
"@typescript-eslint/ban-ts-comment": "off"
|
|
}
|
|
}
|
|
}
|