102 lines
3.0 KiB
JSON
102 lines
3.0 KiB
JSON
{
|
|
"name": "colouring-london-app",
|
|
"version": "1.0.0",
|
|
"description": "Render frontend (server- and client-side)",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"clean": "rm -rf build",
|
|
"start": "razzle start",
|
|
"build": "razzle build",
|
|
"test": "razzle test --env=jsdom",
|
|
"lint": "eslint --ext .tsx --ext .ts .",
|
|
"start:prod": "NODE_ENV=production node build/server.js"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.30",
|
|
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
|
"@fortawesome/react-fontawesome": "^0.1.11",
|
|
"@loadable/component": "^5.14.1",
|
|
"@mapbox/sphericalmercator": "^1.1.0",
|
|
"ajv": "^7.1.1",
|
|
"ajv-formats": "^1.5.1",
|
|
"body-parser": "^1.19.0",
|
|
"bootstrap": "^4.5.0",
|
|
"canvas-confetti": "^1.2.0",
|
|
"connect-pg-simple": "^6.1.0",
|
|
"express": "^4.17.1",
|
|
"express-session": "^1.17.1",
|
|
"geojson": "^0.5.0",
|
|
"leaflet": "^1.7.1",
|
|
"lodash": "^4.17.21",
|
|
"mapnik": "^4.5.8",
|
|
"markdown-to-jsx": "^7.1.3",
|
|
"node-fs": "^0.1.7",
|
|
"nodemailer": "^6.4.11",
|
|
"pg-format": "^1.0.4",
|
|
"pg-promise": "^8.7.5",
|
|
"query-string": "^6.13.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-leaflet": "^3.1.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"serialize-javascript": "^5.0.1",
|
|
"sharp": "^0.28.3",
|
|
"use-throttle": "0.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.7",
|
|
"@types/express-session": "^1.17.0",
|
|
"@types/geojson": "^7946.0.7",
|
|
"@types/jest": "^26.0.22",
|
|
"@types/leaflet": "^1.7.0",
|
|
"@types/loadable__component": "^5.13.3",
|
|
"@types/lodash": "^4.14.168",
|
|
"@types/mapbox__sphericalmercator": "^1.1.3",
|
|
"@types/node": "^12.12.53",
|
|
"@types/nodemailer": "^6.4.0",
|
|
"@types/pg-format": "^1.0.2",
|
|
"@types/react": "^17.0.3",
|
|
"@types/react-dom": "^17.0.3",
|
|
"@types/react-router-dom": "^4.3.5",
|
|
"@types/sharp": "^0.28.0",
|
|
"@types/webpack-env": "^1.16.0",
|
|
"@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",
|
|
"typescript": "^4.2.4",
|
|
"webpack": "^5.24.0",
|
|
"webpack-dev-server": "^3.11.0"
|
|
},
|
|
"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}"
|
|
]
|
|
}
|
|
}
|