New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

dev-template

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

dev-template

Build your entire project with one command 🚀

unpublished
latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Dev Template

dt --template mvc

No more installing and configuring all basic dependencies manually every time you start a new project. the dev template can install and configure everything with a single command. A CLI that runs templates with a sequence of commands to launch your projects. Anyone (including you) can create a template that will install and run the commands needed to start your projects.

current version semantic-release

Installing the command line tool

The dev template is currently tested on Node.js 14 & 16, although it may work on older versions of Node.js. You must also have npm 6 or higher.

you need to have installed: git, npm and node

Installation is as simple as running the following command (if you see EACCES error, reading fixing npm permissions may help):

npm install -g dev-template

Example

Create and open a new empty folder and run our hello-world as an example. wait until the process finishes and run yarn dev after starting the server open your browser at http://localhost:3000 and see if it is showing "Hello World!"

mkdir example-dt
cd example-dt
dt --template hello-world
yarn dev

How to use

To get started you need to keep in mind one of the templates created by the community for the dev template, see the list if you don't know one by heart.

Now run follow the instructions in template documentation or only run:

dt --template {template-name}

You can get the template name into the list.

to see the template documentation click on template card in the list

if you want to contribute to the project read the terms of contribution. if you want to create your own template for everyone to use read the template documentation

Keywords

cli

FAQs

Package last updated on 28 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts