Skip to content

NikolayMakhonin/app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Test Coverage

Description

For quickly create NodeJs module with svelte components using these commands (just copy/paste it to the console):

Create app ot module from template

(Create new clear empty repository before)

Config:

(
SET TEMPLATE_BRANCH=webapp
SET TEMPLATE_REPO=https://github.com/NikolayMakhonin/app-template.git
SET /p DIR_NAME=Enter project directory name:
SET /p YOUR_REPO_URL=Enter your new clear repository url:
)
 

Install:

git clone --origin template --branch %TEMPLATE_BRANCH% %TEMPLATE_REPO% %DIR_NAME%
cd %DIR_NAME%
git branch -m %TEMPLATE_BRANCH% master
git tag -a -m "New project from template \"%TEMPLATE_BRANCH%\"" v0.0.0
git remote set-url --push template no_push
git remote add origin %YOUR_REPO_URL%
git checkout -b develop
git push --all origin
git push --tags origin
git branch -u origin/develop develop
git branch -u origin/master master
 

Or you can just clone repository without history using this command:

npx degit NikolayMakhonin/app-template#webapp <app name> && cd <app name> && npm i && npm run test

Documentation

Terminal App

Template

License

CC0-1.0

About

NodeJS app or module templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published