diff --git a/gatsby-config.js b/gatsby-config.js index d95a569e..d535429e 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,3 +1,12 @@ module.exports = { - plugins: ['gatsby-plugin-sass'], + plugins: [ + { + resolve: `gatsby-plugin-sass`, + options: { + includePaths: [ + require('path').resolve(__dirname, 'node_modules') + ] + } + }, + ], }; diff --git a/package.json b/package.json index ebe38f19..f9d6c455 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "reactstrap": "^7.1.0", "styled-components": "^5.0.1", "swagger-ui-react": "3.25.0", + "uswds": "^2.10.0", "validator": "^12.2.0" }, "devDependencies": { @@ -81,18 +82,11 @@ "@babel/preset-env": "^7.5.5", "@babel/preset-react": "^7.0.0", "@babel/runtime": "^7.6.2", - "@storybook/addon-a11y": "^5.2.0", - "@storybook/addon-actions": "^5.3.8", - "@storybook/addon-knobs": "^5.2.0", - "@storybook/addon-links": "^5.2.0", - "@storybook/addon-viewport": "^5.3.13", - "@storybook/addons": "^5.2.0", - "@storybook/react": "^5.3.12", - "@storybook/storybook-deployer": "^2.8.1", - "@testing-library/dom": "^7.16.1", + "@testing-library/dom": "^7.29.0", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.2.1", "@testing-library/react-hooks": "^3.3.0", + "@testing-library/user-event": "^12.6.0", "babel-core": "^6.26.3", "babel-eslint": "^10.0.3", "babel-jest": "^24.9.0", @@ -117,6 +111,7 @@ "gatsby-plugin-sass": "^2.3.1", "gh-pages": "^2.2.0", "jest": "^24.9.0", + "jest-axe": "^4.1.0", "node-sass": "^4.13.1", "prettier": "^1.16.0", "react-router-dom": "^4.3.1", diff --git a/src/doc.mdx b/src/doc.mdx index 61ba1de1..e3c15353 100644 --- a/src/doc.mdx +++ b/src/doc.mdx @@ -2,6 +2,7 @@ name: Home route: / --- +import "../node_modules/uswds/dist/scss/uswds.scss" # Data Catalog Components A set of React components to facilitate the creation of Open Data Catalogs with React.