a83a027f14
Tile server refactor, highlight colour, retina tiles
85 lines
2.4 KiB
JSON
85 lines
2.4 KiB
JSON
{
|
|
"name": "colouring-london-app",
|
|
"version": "1.0.0",
|
|
"description": "Render frontend (server- and client-side)",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "razzle start",
|
|
"build": "razzle build",
|
|
"test": "razzle test --env=jsdom",
|
|
"lint": "eslint .",
|
|
"start:prod": "NODE_ENV=production node build/server.js"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.21",
|
|
"@fortawesome/free-solid-svg-icons": "^5.10.1",
|
|
"@fortawesome/react-fontawesome": "^0.1.4",
|
|
"@mapbox/sphericalmercator": "^1.1.0",
|
|
"body-parser": "^1.19.0",
|
|
"bootstrap": "^4.3.1",
|
|
"connect-pg-simple": "^6.0.1",
|
|
"express": "^4.17.1",
|
|
"express-session": "^1.16.2",
|
|
"leaflet": "^1.5.1",
|
|
"mapnik": "^4.2.1",
|
|
"node-fs": "^0.1.7",
|
|
"nodemailer": "^6.3.0",
|
|
"pg-promise": "^8.7.5",
|
|
"prop-types": "^15.7.2",
|
|
"query-string": "^6.8.2",
|
|
"react": "^16.9.0",
|
|
"react-dom": "^16.9.0",
|
|
"react-leaflet": "^1.0.1",
|
|
"react-leaflet-universal": "^1.2.0",
|
|
"react-router-dom": "^5.0.1",
|
|
"serialize-javascript": "^1.7.0",
|
|
"sharp": "^0.22.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.0",
|
|
"@types/express-session": "^1.15.13",
|
|
"@types/jest": "^24.0.17",
|
|
"@types/mapbox__sphericalmercator": "^1.1.3",
|
|
"@types/node": "^8.10.52",
|
|
"@types/nodemailer": "^6.2.1",
|
|
"@types/prop-types": "^15.7.1",
|
|
"@types/react": "^16.9.1",
|
|
"@types/react-dom": "^16.8.5",
|
|
"@types/react-leaflet": "^2.4.0",
|
|
"@types/react-router-dom": "^4.3.4",
|
|
"@types/sharp": "^0.22.2",
|
|
"@types/webpack-env": "^1.14.0",
|
|
"babel-eslint": "^10.0.2",
|
|
"eslint": "^5.16.0",
|
|
"eslint-plugin-jest": "^22.15.0",
|
|
"eslint-plugin-react": "^7.14.3",
|
|
"razzle": "^3.0.0",
|
|
"razzle-plugin-typescript": "^3.0.0",
|
|
"ts-jest": "^24.0.2",
|
|
"tslint": "^5.18.0",
|
|
"tslint-react": "^4.0.0",
|
|
"typescript": "^3.5.3"
|
|
},
|
|
"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}"
|
|
]
|
|
}
|
|
}
|