mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 09:41:26 -08:00
* initial map side panel * componentize MapSidePanel * remove selection from J40Map * adds isFeatureSelected to toggle component * filters data from server for client UI * styling and refactor * added TODO * adds styling to intro and pairing feedback * add mobile styling * adds popup back to fs feature flag * adds tests and aria roles * makes mobile content same as desktop * prettier update * initial e2e mapSidePanel test * adds cypress tests on desktop and mobile * adds sass util and updates cypress tests * cleans up tests * reverts tsconfig file * fixes map alignment * renaming and using constants * renaming sidePanel to infoPanel * intl messaging * adds snapshot testing and utility sass file * PR feedback - adds intl messages - adds data-cy attr to cy tests - snapshot testing for unit tests - fixes bug where side panel extends past the map - moves all wrapper content in MapWrapper * logs isMobile to troubleshoot deployed PR * adds react-device-detect for isMobile detection * adds new instance of map for mobile * adds instance * adds isMobile to state * tests the fix for mobile map view on PR * PR review feedback - localize MapIntroduction - update snapshot tests - QA feedback - constants.isMobile points to react-device-detect
89 lines
3.2 KiB
JSON
89 lines
3.2 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",
|
|
"start": "gatsby develop",
|
|
"build": "gatsby build --prefix-paths",
|
|
"serve": "gatsby serve",
|
|
"clean": "gatsby clean",
|
|
"cy:open": "CYPRESS_REMOTE_DEBUGGING_PORT=9222 cypress open",
|
|
"cy:run": "cypress run",
|
|
"test": "jest",
|
|
"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: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/(pages|components)/*.tsx' --out-file src/intl/en.json",
|
|
"intl:compile-en": "formatjs compile src/intl/en.json --ast --out-file compiled-lang/en.json"
|
|
},
|
|
"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/chroma-js": "^2.1.3",
|
|
"@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": "^7.4.0",
|
|
"cypress-axe": "^0.12.2",
|
|
"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": {
|
|
"@trussworks/react-uswds": "git+https://git@github.com/nathillardusds/react-uswds#nathillardusds/ssr",
|
|
"@turf/bbox": "^6.5.0",
|
|
"chroma-js": "^2.1.2",
|
|
"d3-ease": "^3.0.1",
|
|
"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",
|
|
"uswds": "^2.10.3"
|
|
}
|
|
}
|