2018-09-09 17:22:44 -04:00
|
|
|
{
|
|
|
|
"name": "colouring-london-app",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Render frontend (server- and client-side)",
|
|
|
|
"private": true,
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
2020-01-09 08:07:50 -05:00
|
|
|
"clean": "rm -rf build",
|
2018-09-09 17:22:44 -04:00
|
|
|
"start": "razzle start",
|
|
|
|
"build": "razzle build",
|
|
|
|
"test": "razzle test --env=jsdom",
|
2020-04-09 09:32:58 -04:00
|
|
|
"lint": "eslint --ext .tsx --ext .ts .",
|
2018-09-09 17:22:44 -04:00
|
|
|
"start:prod": "NODE_ENV=production node build/server.js"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-08-04 10:53:05 -04:00
|
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.30",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
|
|
|
"@fortawesome/react-fontawesome": "^0.1.11",
|
2021-04-26 14:19:06 -04:00
|
|
|
"@loadable/component": "^5.14.1",
|
2018-09-10 05:44:32 -04:00
|
|
|
"@mapbox/sphericalmercator": "^1.1.0",
|
2021-03-11 13:40:01 -05:00
|
|
|
"ajv": "^7.1.1",
|
|
|
|
"ajv-formats": "^1.5.1",
|
2019-05-27 11:12:48 -04:00
|
|
|
"body-parser": "^1.19.0",
|
2020-08-04 10:53:05 -04:00
|
|
|
"bootstrap": "^4.5.0",
|
|
|
|
"canvas-confetti": "^1.2.0",
|
2020-04-09 09:08:18 -04:00
|
|
|
"connect-pg-simple": "^6.1.0",
|
2019-05-27 11:12:48 -04:00
|
|
|
"express": "^4.17.1",
|
2020-08-04 10:53:05 -04:00
|
|
|
"express-session": "^1.17.1",
|
2021-04-26 14:19:06 -04:00
|
|
|
"geojson": "^0.5.0",
|
|
|
|
"leaflet": "^1.7.1",
|
2021-04-26 18:53:15 -04:00
|
|
|
"lodash": "^4.17.21",
|
2021-04-26 18:35:12 -04:00
|
|
|
"mapnik": "^4.5.8",
|
2019-02-24 10:29:39 -05:00
|
|
|
"node-fs": "^0.1.7",
|
2020-08-04 10:53:05 -04:00
|
|
|
"nodemailer": "^6.4.11",
|
2019-08-12 16:57:44 -04:00
|
|
|
"pg-promise": "^8.7.5",
|
2020-08-04 10:53:05 -04:00
|
|
|
"query-string": "^6.13.1",
|
2021-04-26 14:19:06 -04:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
|
|
|
"react-leaflet": "^3.1.0",
|
2020-08-04 10:53:05 -04:00
|
|
|
"react-router-dom": "^5.2.0",
|
2021-04-18 15:44:05 -04:00
|
|
|
"serialize-javascript": "^5.0.1",
|
2021-04-26 14:19:06 -04:00
|
|
|
"sharp": "^0.28.1",
|
2020-01-09 08:07:50 -05:00
|
|
|
"use-throttle": "0.0.3"
|
2018-09-09 17:22:44 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-08-04 10:53:05 -04:00
|
|
|
"@types/express": "^4.17.7",
|
2020-04-09 09:08:18 -04:00
|
|
|
"@types/express-session": "^1.17.0",
|
2021-04-26 14:19:06 -04:00
|
|
|
"@types/geojson": "^7946.0.7",
|
|
|
|
"@types/jest": "^26.0.22",
|
|
|
|
"@types/leaflet": "^1.7.0",
|
|
|
|
"@types/loadable__component": "^5.13.3",
|
2021-04-26 18:53:15 -04:00
|
|
|
"@types/lodash": "^4.14.168",
|
2019-09-17 12:53:58 -04:00
|
|
|
"@types/mapbox__sphericalmercator": "^1.1.3",
|
2020-08-04 10:53:05 -04:00
|
|
|
"@types/node": "^12.12.53",
|
2020-04-09 09:08:18 -04:00
|
|
|
"@types/nodemailer": "^6.4.0",
|
2021-04-26 14:19:06 -04:00
|
|
|
"@types/react": "^17.0.3",
|
|
|
|
"@types/react-dom": "^17.0.3",
|
2019-12-10 06:50:47 -05:00
|
|
|
"@types/react-router-dom": "^4.3.5",
|
2021-04-26 14:19:06 -04:00
|
|
|
"@types/sharp": "^0.28.0",
|
|
|
|
"@types/webpack-env": "^1.16.0",
|
2021-04-18 15:38:21 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
|
|
"@typescript-eslint/parser": "^4.22.0",
|
|
|
|
"copy-webpack-plugin": "^8.1.1",
|
|
|
|
"eslint": "^7.24.0",
|
|
|
|
"eslint-plugin-jest": "^24.3.5",
|
|
|
|
"eslint-plugin-react": "^7.23.2",
|
|
|
|
"html-webpack-plugin": "^5.2.0",
|
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
|
|
"postcss": "^8.2.4",
|
|
|
|
"razzle": "^4.0.4",
|
|
|
|
"razzle-dev-utils": "^4.0.4",
|
|
|
|
"razzle-plugin-typescript": "^4.0.4",
|
|
|
|
"ts-jest": "^26.5.5",
|
2021-04-26 14:19:06 -04:00
|
|
|
"typescript": "^4.2.4",
|
2021-04-18 15:38:21 -04:00
|
|
|
"webpack": "^5.24.0",
|
|
|
|
"webpack-dev-server": "^3.11.0"
|
2019-08-12 05:24:08 -04:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"transform": {
|
|
|
|
"\\.(ts|tsx)$": "ts-jest",
|
|
|
|
"\\.css$": "<rootDir>/node_modules/razzle/config/jest/cssTransform.js",
|
|
|
|
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/node_modules/razzle/config/jest/fileTransform.js"
|
|
|
|
},
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/src/**/__tests__/**/*.(ts|js)?(x)",
|
|
|
|
"<rootDir>/src/**/?(*.)(spec|test).(ts|js)?(x)"
|
|
|
|
],
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.{js,jsx,ts,tsx}"
|
|
|
|
]
|
2018-09-09 17:22:44 -04:00
|
|
|
}
|
|
|
|
}
|