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

now-init-svelte

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

now-init-svelte

Initialize now.sh for svelte or sapper

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Now Init Svelte

npm version build status license

What is now-init-svelte?

now-init-svelte is a tool that allows you to generate files that are needed to use svelte/sapper with now.sh.

Installation

To install now-init-svelte, use npm:

npm install --global now-init-svelte

Usage

Svelte

To generate the files:

now-init-svelte svelte

# Serve locally
now dev

# Deploy to now.sh
now

Sapper

To generate files for sapper projects:

now-init-svelte sapper
npm run build

# Serve locally
now dev

# Deploy to now.sh
now

Development

Pull requests are encouraged and always welcome. Pick an issue and help us out!

To install and work on now-init-svelte locally:

git clone https://github.com/Axelen123/now-init-svelte.git
cd now-init-svelte
npm install

To build the project, and all the other modules included in the package:

npm run build

It's written in TypeScript, but don't let that put you off — it's basically just JavaScript with type annotations. You'll pick it up in no time. If you're using an editor other than Visual Studio Code you may need to install a plugin in order to get syntax highlighting and code hints etc.

Running Tests

npm run test

License

MIT

FAQs

Package last updated on 17 Jun 2019

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