@odg/test
v1.6.0
Published
Stanley TheTemplate for typescript project
Downloads
1
Readme
Table of Contents
🎇 Benefits
- 🚀 Speed start new project or package using typescript
- 🚨 Over 300 rules for pattern, possible errors and errors in Linter
- 🎇 Code quality guaranteed
- 📢 AutoReview when opening a pull-request/merge
- 🧪 Automatic Test when opening pull-request/merge
📗 Libraries
📁 Dependencies
- Node.js 16 or later
- Yarn Optional/Recommended
- ODG TsConfig Last Version
⏩ Get Started
🔘 Use Template
Click in use this template button and clone your template project
🔑 Configure Github Token
🙈 Create Github Token
Before create new GITHUB_TOKEN in
🔐 Create project Environment
- On GitHub.com, navigate to the main page of the repository.
- Under your repository name, click
⚙️ Settings
. - In the "Security" section of the sidebar, select
✳️ Secrets
, then click Actions. - Click New repository secret.
- Type a name with: GH_TOKEN
- Enter with your access secret token
ghp_Dsfde....
- Click Add secret.
💻 Prepare To Develop
Copy .env.example
to .env
and add the values according to your needs.
📍 Start Project
First install dependencies with the following command
yarn install
# or
npm install
📨 Build and Run
To build the project, you can use the following command
if you change files, you need to run
yarn build
andyarn start
again
yarn build && yarn start
# or
yarn dev
🧪 Teste Code
To Test execute this command
yarn test
# or
yarn test:watch