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 init command (or add postinstall and postupdate hooks) #24

Open
michalkvasnicak opened this issue Jun 22, 2017 · 2 comments
Open

Add init command (or add postinstall and postupdate hooks) #24

michalkvasnicak opened this issue Jun 22, 2017 · 2 comments

Comments

@michalkvasnicak
Copy link
Owner

This command will simple define build, start, test to scripts section of package.json in your project.

@michalkvasnicak
Copy link
Owner Author

Perhaps we should install commands in postinstall or postupdate hooks instead of command. It's hard to run binary using npm. There isn't an equivalent for yarn spust ...

@michalkvasnicak michalkvasnicak changed the title Add init command Add init command (or add postinstall and postupdate hooks) Jun 23, 2017
@michalkvasnicak
Copy link
Owner Author

Hooks should add scripts to package.json only if there aren't already. In this case it should just output an information.

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

No branches or pull requests

1 participant