j40-cejst-2/client/package.json
Vim 667678f20e
Add additional base layers behind feature flags (#945)
* Add additional base layers behind feature flags

- add voyager base layer under vy
- add positron base layer under ps

* Add mapbox base layer

- requires API token

* Add mapbox layers with API token in URL

* Add base map layers from mapTiler

- add comments to mapping components
- add mapTiler base maps behind feature flags

* Comment out intermittent cypress test failures

* Add flag to remove label layer

* Add MapBox Raster and Vector tiles

- tilesets are commented out until more information is provided by Mikel

* Remove white layer on non-prioritized features

- removes makePaint function
- adds Todo to renaming constants

* refactor all contants to have standard naming

- renames layers, sources, colors, opacity, and zoom
- Adds a large amount of comments to understand how this map works

* remove some instances of mapbox-gl

- this the first step in having only maplibre-gl being used in app

* Remove chroma.js

- chroma.js  was used in the fill function of makeStyle. This was used to create a gradient between non-prio, threshold and prio. Since these 3 step values are no longer needed this function along with the libraries it used is not removed.

* Add comments on mapbox base layer

- adds apiaccesstoken

* set basemap to mapbox and move all layers to Map

* Add API KEY to .env, adjust opacity of prio'd CBTs

- remove this function as it is no longer being used
- add comments on map
- create a high layer opacity and low layer opacity
- add API KEY to prod and dev .env
- add MapBox API key to deploy_staging

* add logging to troubleshoot API KEY

* Remove temp echo of API KEY

* Add GHA env var to gatsby config

* Remove API KEY from GitHub and GHA
2022-01-13 12:25:43 -08:00

97 lines
3.4 KiB
JSON

{
"name": "justice40-tool",
"version": "1.0.0",
"private": true,
"description": "Justice40 Tool",
"author": "Nat Hillard",
"keywords": [
"gatsby"
],
"license": "CC0-1.0",
"scripts": {
"develop": "gatsby develop -H 0.0.0.0",
"start": "gatsby develop -H 0.0.0.0",
"build": "gatsby build --prefix-paths",
"serve": "gatsby serve",
"clean": "gatsby clean",
"cy:open": "CYPRESS_REMOTE_DEBUGGING_PORT=9222 cypress open",
"cy:run": "cypress run",
"licenses": "license-checker --production --onlyAllow 'Apache-2.0;BSD;BSD-2-Clause;BSD-3-Clause;CC0-1.0;CC-BY-3.0;CC-BY-4.0;ISC;MIT;Public Domain;Unlicense;UNLICENSED;ODC-By-1.0;WTFPL;MPL-2.0'",
"test": "jest",
"test:e2e": "start-server-and-test develop http://localhost:8000 cy:open",
"test:e2e:ci": "start-server-and-test develop http://localhost:8000 cy:run",
"test:update": "npm test -- -u",
"deploy": "gatsby build --prefix-paths && gh-pages -d public",
"lint": "eslint './src/**/*.{ts,tsx}' --ignore-pattern node_modules/ --ignore-pattern public --ignore-pattern *scss.d.ts",
"lint:fix": "npm run lint -- --quiet --fix",
"intl:extract": "formatjs extract 'src/**/*.tsx' --out-file src/intl/en.json",
"intl:compile-en": "formatjs compile src/intl/en.json --ast --out-file compiled-lang/en.json",
"test:intl-extraction": "node src/intl/testIntlExtraction"
},
"devDependencies": {
"@formatjs/cli": "^4.2.15",
"@testing-library/cypress": "^7.0.6",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
"@types/d3-ease": "^3.0.0",
"@types/jest": "^26.0.23",
"@types/maplibre-gl": "^1.13.1",
"@types/node": "^15.3.1",
"@types/react": "^17.0.1",
"@types/react-dom": "^17.0.1",
"@types/react-helmet": "^6.1.1",
"@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"axe-core": "^4.2.1",
"babel-jest": "^27.0.1",
"babel-preset-gatsby": "^1.6.0",
"cypress": "^8.5.0",
"cypress-axe": "^0.12.2",
"cypress-cucumber-preprocessor": "^4.2.0",
"eslint": "^7.27.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-formatjs": "^2.17.1",
"eslint-plugin-react": "^7.23.2",
"gatsby": "^3.4.1",
"gatsby-cli": "^3.5.0",
"gatsby-plugin-intl": "^0.3.3",
"gatsby-plugin-prettier-eslint": "^1.0.6",
"gatsby-plugin-react-helmet": "^4.6.0",
"gatsby-plugin-sass": "^4.5.0",
"gh-pages": "^3.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.1",
"license-checker": "^25.0.1",
"prettier": "^2.3.0",
"react-test-renderer": "^17.0.2",
"sass": "^1.33.0",
"sass-loader": "^11.1.1",
"start-server-and-test": "^1.12.3",
"ts-jest": "^27.0.0"
},
"dependencies": {
"@sentry/gatsby": "^6.13.2",
"@trussworks/react-uswds": "^2.0.0",
"@turf/bbox": "^6.5.0",
"d3-ease": "^3.0.1",
"gatsby-plugin-env-variables": "^2.1.0",
"gatsby-plugin-robots-txt": "^1.6.10",
"gatsby-plugin-sitemap": "^4.10.0",
"mapbox-gl": "^1.13.0",
"maplibre-gl": ">=1.14.0",
"query-string": "^7.0.0",
"react": "^17.0.2",
"react-device-detect": "^1.17.0",
"react-dom": "^17.0.1",
"react-helmet": "^6.1.0",
"react-intl": "^5.20.4",
"react-map-gl": "^6.1.16",
"react-use": "^17.3.1",
"uswds": "^2.10.3"
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": false
}
}