这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@siddiq
Copy link

@siddiq siddiq commented Sep 18, 2018

I just made it easy to cut paste.
Because in most npm projects, the dev wants to save the name of new package in the package.json.

Description

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • node_modules/.bin/jscs -c .jscsrc stacktrace.js passes without errors
  • npm test passes without errors
  • I have read the contribution guidelines
  • I have updated the documentation accordingly
  • I have added tests to cover my changes

I just made it easy to cut paste.
Because in most npm projects, the dev wants to save the name of new package in the package.json.
@Alexsey
Copy link

Alexsey commented Jan 12, 2019

It's been a long time since --save is doing nothing - install by default will add a package in the package.json - see docs, section "npm install [<@scope>/]<name>"

@eriwen
Copy link
Member

eriwen commented Sep 14, 2019

Thanks for the PR, @siddiq. As @Alexsey mentioned, --save isn't necessary anymore. I'm going to close this with that in mind.

@eriwen eriwen closed this Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants