This is a template project that showcases a basic setup for TypeScript-based applications. The app initializes by logging the output of a generic identity
function using both string and number data types.
- The application is bundled using Webpack.
- Includes configurations for testing with Jest.
- Ensures code quality with Husky, lint-staged, ESLint, and Prettier.
- Uses the ArcGIS core and Esri's Calcite components.
- Styled using styled-components and includes a generic identity function demonstration.
-
Clone the repository:
git clone https://github.com/chrismahlke/template.git
-
Navigate to the project directory:
cd template
-
Install dependencies:
npm install
To start the development server:
npm start
To build the project for production:
npm run build
For testing:
npm test
- TypeScript Setup: The main functionality is demonstrated in the
index.tsx
file, where a generic identity function is tested with both string and number data types. - Styling: Uses styled-components for styling. Global styles can be found in the
styles/index.css
file. - ArcGIS & Esri Components: The project depends on the ArcGIS core and Esri's Calcite components, making it suitable for creating applications with geographic data and Esri's design components.
- Code Quality Tools: With Husky, lint-staged, ESLint, and Prettier integrated, the project ensures that the code committed is of high quality.
Feel free to create issues or pull requests if you have suggestions or improvements.
This project is licensed under the ISC license.
This is a basic README to get you started. Depending on the eventual functionality and complexity of your project, you might want to expand upon this, adding sections like "Known Issues", "Roadmap", or "Acknowledgments".