├── .circleci └── config.yml ├── .eslintignore ├── .eslintrc.js ├── .github └── pull_request_template.md ├── .gitignore ├── .huskyrc.json ├── .lintstagedrc.json ├── .prettierignore ├── .prettierrc ├── .storybook ├── addons.js ├── config.js └── webpack.config.js ├── LICENSE ├── README.md ├── config └── testing │ ├── __mocks__ │ ├── file-mock.ts │ ├── gatsby.ts │ └── styleMock.ts │ └── setupTests.ts ├── gatsby-browser.js ├── gatsby-config.js ├── gatsby-node.js ├── gatsby-ssr.js ├── jest-preprocess.js ├── jest.config.js ├── lighthouserc.json ├── loadershim.js ├── package.json ├── src ├── @types │ └── index.d.ts ├── components │ ├── header │ │ ├── __stories__ │ │ │ └── header.stories.tsx │ │ ├── __tests__ │ │ │ └── Header.test.tsx │ │ ├── index.tsx │ │ └── styles.less │ ├── image │ │ └── index.tsx │ ├── layout │ │ ├── index.tsx │ │ └── styles.module.css │ └── seo │ │ └── index.tsx ├── images │ ├── gatsby-astronaut.png │ └── gatsby-icon.png └── pages │ ├── 404 │ └── index.tsx │ ├── index.en.tsx │ ├── index.fi.tsx │ └── page-2 │ ├── index.en.tsx │ └── index.fi.tsx ├── tasks ├── deployment │ ├── gatsby-deploy-end.sh │ ├── gatsby-deploy-start.sh │ ├── storybook-deploy-end.sh │ └── storybook-deploy-start.sh └── lighthouse │ └── detect-pages.sh ├── tsconfig.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /.huskyrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.huskyrc.json -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | public 3 | build-storybook 4 | .cache -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.prettierrc -------------------------------------------------------------------------------- /.storybook/addons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.storybook/addons.js -------------------------------------------------------------------------------- /.storybook/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.storybook/config.js -------------------------------------------------------------------------------- /.storybook/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/.storybook/webpack.config.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /config/testing/__mocks__/file-mock.ts: -------------------------------------------------------------------------------- 1 | module.exports = 'test-file-stub' 2 | -------------------------------------------------------------------------------- /config/testing/__mocks__/gatsby.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/config/testing/__mocks__/gatsby.ts -------------------------------------------------------------------------------- /config/testing/__mocks__/styleMock.ts: -------------------------------------------------------------------------------- 1 | export default {} 2 | -------------------------------------------------------------------------------- /config/testing/setupTests.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect' 2 | -------------------------------------------------------------------------------- /gatsby-browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/gatsby-browser.js -------------------------------------------------------------------------------- /gatsby-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/gatsby-config.js -------------------------------------------------------------------------------- /gatsby-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/gatsby-node.js -------------------------------------------------------------------------------- /gatsby-ssr.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jest-preprocess.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/jest-preprocess.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/jest.config.js -------------------------------------------------------------------------------- /lighthouserc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/lighthouserc.json -------------------------------------------------------------------------------- /loadershim.js: -------------------------------------------------------------------------------- 1 | global.___loader = { 2 | enqueue: jest.fn(), 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/package.json -------------------------------------------------------------------------------- /src/@types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/@types/index.d.ts -------------------------------------------------------------------------------- /src/components/header/__stories__/header.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/components/header/__stories__/header.stories.tsx -------------------------------------------------------------------------------- /src/components/header/__tests__/Header.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/components/header/__tests__/Header.test.tsx -------------------------------------------------------------------------------- /src/components/header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/components/header/index.tsx -------------------------------------------------------------------------------- /src/components/header/styles.less: -------------------------------------------------------------------------------- 1 | .header { 2 | background: rebeccapurple; 3 | margin-bottom: 1.45rem; 4 | } 5 | -------------------------------------------------------------------------------- /src/components/image/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/components/image/index.tsx -------------------------------------------------------------------------------- /src/components/layout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/components/layout/index.tsx -------------------------------------------------------------------------------- /src/components/layout/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/components/layout/styles.module.css -------------------------------------------------------------------------------- /src/components/seo/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/components/seo/index.tsx -------------------------------------------------------------------------------- /src/images/gatsby-astronaut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/images/gatsby-astronaut.png -------------------------------------------------------------------------------- /src/images/gatsby-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/images/gatsby-icon.png -------------------------------------------------------------------------------- /src/pages/404/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/pages/404/index.tsx -------------------------------------------------------------------------------- /src/pages/index.en.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/pages/index.en.tsx -------------------------------------------------------------------------------- /src/pages/index.fi.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/pages/index.fi.tsx -------------------------------------------------------------------------------- /src/pages/page-2/index.en.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/pages/page-2/index.en.tsx -------------------------------------------------------------------------------- /src/pages/page-2/index.fi.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/src/pages/page-2/index.fi.tsx -------------------------------------------------------------------------------- /tasks/deployment/gatsby-deploy-end.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/tasks/deployment/gatsby-deploy-end.sh -------------------------------------------------------------------------------- /tasks/deployment/gatsby-deploy-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/tasks/deployment/gatsby-deploy-start.sh -------------------------------------------------------------------------------- /tasks/deployment/storybook-deploy-end.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/tasks/deployment/storybook-deploy-end.sh -------------------------------------------------------------------------------- /tasks/deployment/storybook-deploy-start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/tasks/deployment/storybook-deploy-start.sh -------------------------------------------------------------------------------- /tasks/lighthouse/detect-pages.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/tasks/lighthouse/detect-pages.sh -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tripheo0412/jamstack-typescript-boilerplate/HEAD/yarn.lock --------------------------------------------------------------------------------