mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 09:41:26 -08:00
* Fixes #66: As a developer, I want to limit the audience that sees new features, so that we can control the message and positioning of our tool. Implements simple feature flagging via URL parameters. Provide "?flags=x,y,z" to enable flags x, y, and z. * Fixing type to use Location instead of URL * Updating README with info on how to use feature flags
77 lines
2.8 KiB
JSON
77 lines
2.8 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 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": "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/react-helmet": "^6.1.1",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/node": "^15.3.1",
|
|
"@types/react": "^17.0.1",
|
|
"@types/react-dom": "^17.0.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-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": "github:nathillardusds/react-uswds#nathillardusds/ssr",
|
|
"query-string": "^7.0.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"react-helmet": "^6.1.0",
|
|
"uswds": "^2.10.3"
|
|
}
|
|
}
|