Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about npm scripts #20

Merged
merged 1 commit into from
Jun 13, 2014

Conversation

junosuarez
Copy link
Member

Addresses #9

@migurski
Copy link
Contributor

You run a node program by calling npm start?

@junosuarez
Copy link
Member Author

yep. npm start is an alias of npm run start, and npm test is an alias of npm run test, and you can add arbitrary other scripts in package.json which are called by npm run <script>

@migurski
Copy link
Contributor

Got it, thanks. Seemed weird to use a package manager to run things, but okay.

migurski added a commit that referenced this pull request Jun 13, 2014
Add information about npm scripts
@migurski migurski merged commit c54209f into codeforamerica:master Jun 13, 2014
@junosuarez
Copy link
Member Author

Not really any different than with go build go test go get etc. npm is the primary cli interface to node. npm is such an integral part of Node.js - I suppose it's different in other ecosystems with multiple package managers which evolved separately from the platform core.

@migurski
Copy link
Contributor

That makes sense; it's interesting to me how the path dependencies of different languages evolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants