Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-stencil

Package Overview
Dependencies
Maintainers
11
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-stencil

Quickly create a new stencil application: npm init stencil

  • 3.1.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
11
Created
Source

Create Stencil

Note that you will need to use npm 6 or higher.

Run:

npm i -g npm

To install latest version of npm

Starters

The create-stencil CLI offers the following starters for bootstrapping your project:

  • component - allows one to spin up a component library containing one or more Stencil components. Best suited for teams/individuals looking to reuse components across one or more applications.
  • app - allows one to spin up an application, complete with routing. This is a community-driven project, and is not formally owned by the Stencil team
  • ionic-pwa - allows one to spin up an Ionic PWA, complete with tabs layout and routing. This is a community-driven project.

Usage

Interactive mode

npm init stencil

Command mode

npm init stencil <starter> <projectName>

Example:

npm init stencil component my-stencil-library

Using a proxy

If you are behind a proxy, configure https_proxy environment variable.

Built-in starters

  • app (community-maintained)
  • ionic-pwa (community-maintained)
  • component

Developing locally

If you want to add features, clone this repo, open terminal:

Install dependencies
npm install

Then, compile and run the starter:

npm run dev

And it will help you test out your changes.

Citations

Created by William M. Riley:

License

  • MIT

Keywords

FAQs

Package last updated on 17 Jan 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc