-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
130 lines (130 loc) · 4.43 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "hsl-map-publisher",
"version": "0.1.0",
"description": "HSL Map Publisher",
"main": "index.js",
"scripts": {
"eslint-check": "eslint --print-config . | eslint-config-prettier-check",
"prettier": "prettier \"src/**/*.{js,css}\" \"scripts/**/*.js\" \"migrations/**/*.js\" \"seeds/**/*.js\" \"*.js\" --write",
"lint": "eslint \"src/**/*.js\" \"scripts/**/*.js\" --fix",
"build": "cross-env NODE_ENV=production webpack --config webpack.prod.js",
"serve": "serve -l 5000 dist",
"start": "webpack-serve ./webpack.dev.js",
"start:production": "serve -l 5000 dist",
"server": "node -r dotenv/config scripts/server",
"server:production": "node -r dotenv/config scripts/server.js",
"worker": "node -r dotenv/config scripts/worker",
"worker:production": "./fonts.sh && fc-cache -f -v && node -r dotenv/config scripts/worker.js",
"knex": "PG_CONNECTION_STRING=postgres://postgres:postgres@localhost:5432/postgres knex",
"docker:build": "docker build -t hsl-map-publisher .",
"docker:run": "docker run -d -p 4000:4000 --name publisher -v $(pwd)/output:/output -v $(pwd)/fonts:/fonts --link publisher-postgres -e \"PG_CONNECTION_STRING=postgres://postgres:postgres@publisher-postgres:5432/postgres\" --shm-size=1G hsl-map-publisher",
"docker:stop": "docker stop publisher",
"docker:rm": "docker rm publisher",
"docker:rebuild": "yarn run docker:stop && yarn run docker:rm && yarn run docker:build && yarn run docker:run",
"docker:logs": "docker logs publisher",
"prepare": "husky install",
"test": "node -r dotenv/config test/testStops"
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix"
],
"*.css": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/HSLdevcom/hsl-map-publisher.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/HSLdevcom/hsl-map-publisher/issues"
},
"homepage": "https://github.com/HSLdevcom/hsl-map-publisher#readme",
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.3.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
"eslint": "^5.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^8.0.0",
"lint-staged": "^13.0.2",
"prettier": "^1.14.3",
"react-refresh": "^0.14.0",
"webpack-cli": "^3.0.8",
"webpack-serve": "^1.0.4",
"worker-loader": "^2.0.0"
},
"dependencies": {
"@azure/storage-blob": "^10.4.0",
"@koa/cors": "^2.2.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@turf/turf": "^6.5.0",
"apollo-cache-inmemory": "^1.1.1",
"apollo-client": "^2.0.3",
"apollo-link": "^1.2.2",
"apollo-link-http": "^1.2.0",
"babel-polyfill": "^6.26.0",
"bullmq": "^1.86.2",
"cheerio": "=1.0.0-rc.3",
"classnames": "^2.2.5",
"clean-webpack-plugin": "^0.1.19",
"dotenv": "^8.1.0",
"dotenv-webpack": "^1.7.0",
"fs-extra": "9.0.0",
"graphql": "^0.11.7",
"graphql-tag": "^2.5.0",
"haversine": "^1.1.1",
"hsl-map-style": "hsldevcom/hsl-map-style#master",
"html-webpack-plugin": "^4.0.0-alpha",
"ioredis": "^5.0.6",
"knex": "^2.0.0",
"koa": "^2.5.3",
"koa-body": "^6.0.1",
"koa-json-body": "^5.3.0",
"koa-router": "^7.4.0",
"koa-session": "^5.10.1",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"node-fetch": "^1.7.3",
"p-map": "^1.2.0",
"pdf-merger-js": "^3.4.0",
"pg": "^8.7.3",
"prop-types": "^15.6.0",
"puppeteer": "^13.7.0",
"qrcode": "^1.0.0",
"qs": "^6.5.2",
"raw-loader": "^0.5.1",
"react": "18.2.0",
"react-apollo": "^2.0.1",
"react-dom": "18.2.0",
"react-measure": "^2.5.2",
"recompose": "^0.30.0",
"segseg": "^0.2.2",
"serve": "^13.0.2",
"style-loader": "^0.19.0",
"uuid": "^3.1.0",
"viewport-mercator-project": "^4.1.1",
"webpack": "^4.12.1",
"webpack-merge": "^4.1.3"
}
}