@ximatriarx/graphql
v1.0.2
Published
A GraphQL project template
Downloads
5
Maintainers
Readme
A minimalistic GraphQL project template preconfigured with TypeScript, Express, ESLint, Prettier, Jest, Lint-Staged and Husky.
Status
Code
Project
Info
Statistics
Setup
npx @ximatriarx/graphql init
- Use it as a GitHub repository template.
- Clone it using
git clone https://github.com/XiMatriarx/graphql.git
. - Use
bin/init.sh
to create projects.
Usage
npm start
~ Start the project.npm run build
~ Build the project.npm run dev
~ Build the project in watch mode.npm run lint
~ Lint the codebase using ESLint.npm run style
~ Style the codebase using Prettier.npm test
~ Test the codebase using Jest.npm run docker
~ Build the project using Docker.npm run init
~ Initialize git hooks with Husky for Lint-staged.