-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.27 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "glasgow-litter",
"description": "A visualization of Glasgow's litter.",
"private": true,
"author": "Gary Blackwood <gary@garyblackwood.co.uk>",
"license": "MIT",
"keywords": [
"glasgow",
"litter"
],
"devDependencies": {
"@types/geojson": "^7946.0.8",
"@types/leaflet": "^1.7.5",
"@types/node": "^16.11.1",
"@types/react": "^17.0.30",
"@types/react-dom": "^17.0.9",
"@types/react-leaflet": "^2.8.2",
"@types/react-leaflet-markercluster": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"browser-sync": "^2.27.7",
"concurrently": "^6.3.0",
"cross-env": "^7.0.3",
"esbuild": "^0.13.7",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.26.1",
"fs-extra": "^10.0.0",
"husky": "^7.0.2",
"lint-staged": "^11.2.0",
"prettier": "^2.4.1",
"typescript": "^4.4.4"
},
"dependencies": {
"@chakra-ui/icons": "^1.1.7",
"@chakra-ui/react": "^1.8.6",
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
"framer-motion": "^6.2.8",
"leaflet": "^1.7.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-leaflet": "^3.2.2",
"react-leaflet-markercluster": "^3.0.0-rc1"
},
"scripts": {
"build": "node app/build.js",
"build:prod": "cross-env NODE_ENV=production npm run build && npm run copy:data-detected",
"clean": "rm -rf build",
"copy:data-detected": "mkdir -p ./build/data/detected && cp ./data/detected/*.jpg ./build/data/detected",
"dev": "concurrently --kill-others \"npm run build\" \"npm run tsc:watch\" \"npm run sync\"",
"format": "prettier --write app/*.js app/src/*.{tsx,html} && black .",
"lint": "npm run lint:py && npm run lint:app",
"lint:py": "bash -c 'pylint **/*.py'",
"lint:app": "eslint -c app/.eslintrc --fix **/*.{ts,tsx}",
"prepare": "husky install",
"start": "npm run dev",
"sync": "browser-sync start --server --serveStatic 'build' '.' --index 'build/index.html'",
"tsc": "tsc --project app/tsconfig.json",
"tsc:watch": "npm run tsc -- --watch"
},
"lint-staged": {
"*.py": [
"black",
"pylint"
],
"*.{ts,tsx}": [
"prettier",
"eslint -c app/.eslintrc --fix"
]
}
}