pacificclimate/climate-explorer-frontend

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "climate-explorer-frontend",
  "version": "2.3.4",
  "description": "PCIC Climate Explorer front end application",
  "private": true,
  "license": "GPL-3.0",
  "contributors": [
    "James Hiebert <hiebert@uvic.ca>",
    "Lee Zeman <lzeman@uvic.ca>",
    "Rod Glover <rglover@uvic.ca>"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/pacificclimate/climate-explorer-frontend"
  },
  "bugs": "https://github.com/pacificclimate/climate-explorer-frontend/issues",
  "dependencies": {
    "axios": "^0.21.4",
    "bootstrap": "^3.3.5",
    "bootstrap-slider": "^5.1.0",
    "c3": "~0.4.11-rc4",
    "chroma-js": "^1.3.4",
    "classnames": "^2.2.6",
    "create-react-class": "^15.7.0",
    "enzyme": "^3.6.0",
    "enzyme-adapter-react-16": "^1.5.0",
    "filesaver.js": "^0.2.0",
    "jszip": "2.5.0",
    "leaflet": "^1.3.4",
    "leaflet-draw": "^1.0.4",
    "leaflet-image": "^0.4.0",
    "lodash": "^4.17.21",
    "moment": "^2.29.4",
    "pcic-react-components": "git+https://git@github.com/pacificclimate/pcic-react-components.git#3.1.1",
    "pcic-react-external-text": "git+https://git@github.com/pacificclimate/pcic-react-external-text.git#1.0.0",
    "proj4": "^2.4.4",
    "proj4leaflet": "^1.0.2",
    "prop-types": "^15.6.0",
    "react": "^16.8.6",
    "react-bootstrap": "^0.32.0",
    "react-bootstrap-table": "^4.3.1",
    "react-dom": "^16.8.6",
    "react-input-range": "^1.3.0",
    "react-leaflet": "^2.0.0",
    "react-leaflet-draw": "0.19.0",
    "react-loader": "^2.4.5",
    "react-markdown": "^4.0.8",
    "react-router-bootstrap": "^0.24.4",
    "react-router-dom": "^4.3.1",
    "react-scripts": "3.0.1",
    "react-test-renderer": "^16.5.2",
    "shp-write": "^0.3.2",
    "shpjs": "^3.4.3",
    "togeojson": "^0.16.0",
    "togpx": "^0.5.4",
    "tokml": "^0.4.0",
    "underscore.get": "^0.2.9",
    "url-join": "^4.0.0",
    "wellknown": "^0.5.0",
    "xlsx": "^0.18.2"
  },
  "scripts": {
    "reinstall": "rm -rf ./node_modules; npm install",
    "start": "react-scripts --openssl-legacy-provider start",
    "start:rg": "CE_BACKEND_URL=https://services.pacificclimate.org/marmot/api NCWMS_URL=https://services.pacificclimate.org/marmot/ncwms TILECACHE_URL=https://tiles.pacificclimate.org/tilecache/tilecache.py CE_ENSEMBLE_NAME=all_downscale_files CE_CURRENT_VERSION=$(./generate-commitish.sh) react-scripts start",
    "build": "react-scripts --openssl-legacy-provider build",
    "test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!(leaflet|pcic-react-components)/)\"",
    "jenkins-test": "CI=true react-scripts test --env=jsdom --transformIgnorePatterns \"node_modules/(?!(leaflet|pcic-react-components)/)\"",
    "eject": "react-scripts eject",
    "format": "prettier --write .",
    "lint": "prettier --check .",
    "prepare": "husky install"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "husky": "^9.0.11",
    "lint-staged": "^15.2.2",
    "prettier": "3.2.5"
  },
  "lint-staged": {
    "*.{js,css,md}": "prettier --write"
  }
}