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

Be smart with package.json #7

Open
raineydavid opened this issue Aug 12, 2018 · 1 comment
Open

Be smart with package.json #7

raineydavid opened this issue Aug 12, 2018 · 1 comment
Labels
npm npm.js related questions question Further information is requested

Comments

@raineydavid
Copy link
Owner

Describe the question
What can I do with package.json so that I save myself rework?

@raineydavid raineydavid added question Further information is requested npm npm.js related questions labels Aug 12, 2018
@raineydavid
Copy link
Owner Author

Answer

# Add the following to the script section of package.json
"scripts": {
    # saves you remembering to install!
    "prestart": "npm install",
    # everybody needs a good javascript linter
    "lint": "eslint src"
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
npm npm.js related questions question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant