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

What's package.json for? #14

Open
nerdmax opened this issue Feb 25, 2020 · 3 comments
Open

What's package.json for? #14

nerdmax opened this issue Feb 25, 2020 · 3 comments

Comments

@nerdmax
Copy link

nerdmax commented Feb 25, 2020

I generated a golang serverless template and found a package.json file in the project root. It has some scripts like: "test", "lint", "build", etc... which are using dotbox.

I checked the README file and there's nothing related to these scripts nor the package.json. So what's this package.json for?

@msolimans
Copy link
Owner

It was meant for nodejs projects since generator-sls is not only specific to one language- support of nodejs is still a work in progress, I hope I will be able to dedicate some free time to start refactoring and add new features to this project.

Thanks @nerdmax for reporting, PRs are welcome.

@msolimans
Copy link
Owner

@ryus08 ^^

@ryus08
Copy link
Contributor

ryus08 commented Jun 6, 2020

I guess I assumed that since serverless needs nodejs at least to run, the package.json is at least needed for that.

Personally, I think I'm becoming a fan of utilizing nodejs as good cross-platform scripting language for CI as well, although it takes a little more overhead to use than conventional make/bash. I've never used dotbox though.

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

No branches or pull requests

3 participants