Skip to content

Instantly share code, notes, and snippets.

@brianleroux
Created October 10, 2019 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianleroux/9fc2bcb29f96a29022ac918385727f1e to your computer and use it in GitHub Desktop.
Save brianleroux/9fc2bcb29f96a29022ac918385727f1e to your computer and use it in GitHub Desktop.
add arc locally
```bash
npm init -f
npm i @architect/architect
```
edit `package.json` with a startup script
```
{
"name": "arc-static",
"scripts": {
"start": "npx arc sandbox"
},
"dependencies": {
"@architect/architect": "^6.0.13"
}
}
```
run `npm start` and it _should_ work
@andybee
Copy link

andybee commented Oct 10, 2019

Can architect be a dev-dependency, or is it required to be a "proper" dependency for Architect to deploy etc.?

@ryanblock
Copy link

Arc can and should be a dev dep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment