mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
* Adds the PrioritizationCopy and TractPriotization - adds both components - removes logic around selecting AK data points - update snapshots * Add tests for TractPrioritization * Adds tests for PrioritizationCopy * Add income icon and tilde - this is dependent on imputed income and adjacency * Add tool tip to low income icon * Update snapshots * Removing AreaDetail test to allow tooltip library - This library react-tooltip creates random DOM ID which will not allow for snapshot testing as he IDs change on each build. Due to time constraints, we simply removed the AreaDetails test. The AreaDetails component is made up of sub component and each sub component has tests so this is low risk. - This is a temporary solution. Some longer terms solutions may be 1. Remove this library and get the USWDS tool tip to work 2. Re-factor the areaDetail.tests.tsx snapshot tests to do more DOM assertions rather than snapshots 3. Some combination of the two. * Fix Tribal percentage error
102 lines
3.6 KiB
JSON
102 lines
3.6 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:removeNesting": "node src/intl/removeNesting.js",
|
|
"intl:compile-en": "formatjs compile src/intl/en.json --ast --out-file compiled-lang/en.json",
|
|
"test:intl-extraction": "node src/intl/testIntlExtraction",
|
|
"prepare": "cd .. && husky install client/.husky",
|
|
"gc": "node .generate_component $1"
|
|
},
|
|
"devDependencies": {
|
|
"@formatjs/cli": "^4.8.2",
|
|
"@testing-library/cypress": "^8.0.2",
|
|
"@testing-library/jest-dom": "^5.16.2",
|
|
"@testing-library/react": "^11.2.7",
|
|
"@types/d3-ease": "^3.0.0",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/maplibre-gl": "^1.14.0",
|
|
"@types/node": "^15.14.9",
|
|
"@types/react": "^17.0.41",
|
|
"@types/react-dom": "^17.0.14",
|
|
"@types/react-helmet": "^6.1.5",
|
|
"@types/react-test-renderer": "^17.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"axe-core": "^4.4.1",
|
|
"babel-jest": "^27.5.1",
|
|
"babel-preset-gatsby": "^1.14.0",
|
|
"cypress": "^8.3.0",
|
|
"cypress-axe": "^0.14.0",
|
|
"cypress-cucumber-preprocessor": "^4.2.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-formatjs": "^2.21.0",
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"gatsby": "^3.14.6",
|
|
"gatsby-cli": "^3.14.2",
|
|
"gatsby-plugin-intl": "^0.3.3",
|
|
"gatsby-plugin-prettier-eslint": "^1.0.6",
|
|
"gatsby-plugin-react-helmet": "^4.14.0",
|
|
"gatsby-plugin-sass": "^4.14.0",
|
|
"gh-pages": "^3.2.3",
|
|
"husky": "^7.0.4",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^27.5.1",
|
|
"license-checker": "^25.0.1",
|
|
"prettier": "^2.6.0",
|
|
"react-test-renderer": "^17.0.2",
|
|
"sass": "~1.32.13",
|
|
"sass-loader": "^11.1.1",
|
|
"ts-jest": "^27.1.3"
|
|
},
|
|
"dependencies": {
|
|
"-": "^0.0.1",
|
|
"@sentry/gatsby": "^7.7.0",
|
|
"@trussworks/react-uswds": "^3.1.0",
|
|
"@turf/bbox": "^6.5.0",
|
|
"d3-ease": "^3.0.1",
|
|
"gatsby-plugin-env-variables": "^2.2.0",
|
|
"gatsby-plugin-robots-txt": "^1.7.0",
|
|
"gatsby-plugin-sitemap": "^4.10.0",
|
|
"mapbox-gl": "^1.13.2",
|
|
"maplibre-gl": "^1.14.0",
|
|
"query-string": "^7.1.1",
|
|
"react": "^17.0.2",
|
|
"react-device-detect": "^1.17.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-helmet": "^6.1.0",
|
|
"react-intl": "^5.24.7",
|
|
"react-map-gl": "^6.1.19",
|
|
"react-tooltip": "^4.2.21",
|
|
"react-use": "^17.3.2",
|
|
"uswds": "^2.13.3"
|
|
},
|
|
"cypress-cucumber-preprocessor": {
|
|
"nonGlobalStepDefinitions": false
|
|
}
|
|
}
|