# now-init-svelte

> Initialize now.sh for svelte or sapper

Latest version **1.0.0** (published 2019-06-17) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install now-init-svelte
pnpm add now-init-svelte
yarn add now-init-svelte
bun add now-init-svelte
```

Provides the command `now-init-svelte`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-06-17 |
| First published | 2019-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Ax333l |
| Maintainers | ax333len |

## Links

- npm: https://www.npmjs.com/package/now-init-svelte
- Repository: https://github.com/Axelen123/now-init-svelte
- Issues: https://github.com/Axelen123/now-init-svelte/issues
- npm.io page: https://npm.io/package/now-init-svelte

## Dependencies (12)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [cli-ux](https://npm.io/package/cli-ux.md) ^5.2.1
- [p-event](https://npm.io/package/p-event.md) ^4.1.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.0.1
- [inquirer](https://npm.io/package/inquirer.md) ^6.3.1
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.13.0
- [@oclif/errors](https://npm.io/package/@oclif/errors.md) ^1.2.2
- [@oclif/parser](https://npm.io/package/@oclif/parser.md) ^3.8.1
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.5.14
- [identify-indent](https://npm.io/package/identify-indent.md) ^0.1.0
- [update-notifier](https://npm.io/package/update-notifier.md) ^3.0.0
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^2.2.0

## Recent versions

- 1.0.0 (latest) — 2019-06-17

## README

# Now Init Svelte

<p>
  <a href="https://www.npmjs.com/package/now-init-svelte">
    <img src="https://img.shields.io/npm/v/now-init-svelte.svg" alt="npm version">
  </a>

  <a href="https://david-dm.org/Axelen123/now-init-svelte">
    <img src="https://david-dm.org/Axelen123/now-init-svelte.svg" alt="dependencies>
  </a>

  <a href="https://travis-ci.org/Axelen123/now-init-svelte">
    <img src="https://api.travis-ci.org/Axelen123/now-init-svelte.svg?branch=master"
         alt="build status">
  </a>

  <a href="https://github.com/Axelen123/now-init-svelte/blob/master/LICENSE">
    <img src="https://img.shields.io/npm/l/now-init-svelte.svg" alt="license">
  </a>
</p>


## 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](https://now.sh).

## Installation

To install now-init-svelte, use npm:
```sh
npm install --global now-init-svelte
```

## Usage

### Svelte

To generate the files:
```sh
now-init-svelte svelte

# Serve locally
now dev

# Deploy to now.sh
now
```

### Sapper

To generate files for sapper projects:
```sh
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](https://github.com/Axelen123/now-init-svelte/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and help us out!

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

```bash
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:

```bash
npm run build
```

It's written in [TypeScript](https://www.typescriptlang.org/), 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](https://code.visualstudio.com/) you may need to install a plugin in order to get syntax highlighting and code hints etc.


### Running Tests

```bash
npm run test
```

## License

[MIT](LICENSE)

---
_Source: https://npm.io/package/now-init-svelte · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
