# taco-start-script

> Run npm start script based on environment

Latest version **1.1.0** (published 2015-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install taco-start-script
pnpm add taco-start-script
yarn add taco-start-script
bun add taco-start-script
```

Provides the command `taco-start-script`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-10-26 |
| First published | 2015-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | kapetan |
| Keywords | env, environment, taco, start, run, exec, script |

## Links

- npm: https://www.npmjs.com/package/taco-start-script
- Repository: https://github.com/kapetan/taco-start-script
- Homepage: https://github.com/kapetan/taco-start-script#readme
- Issues: https://github.com/kapetan/taco-start-script/issues
- npm.io page: https://npm.io/package/taco-start-script

## Dependencies (2)

- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [end-of-stream](https://npm.io/package/end-of-stream.md) ^1.1.0

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2015-10-26
- 1.0.1 — 2015-10-26
- 1.0.0 — 2015-10-26

## README

# taco-start-script

Run a start command depending on the environment. Compatible with other [taco](https://github.com/maxogden/taco) deployment tools.

	npm install -g taco-start-script

# Usage

In the `package.json` specify a start command for each environment.

```json
{
	"name": "my-app",
	"scripts": {
		"start": "taco-start-script",
		"start-development": "node server.js",
		"start-staging": "taco-nginx node server.js"
	}
}
```

Now when running `npm start` the script will look at `NODE_ENV` environment variable to determine how to start the application. If not specified it defaults to `development`.

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