After npm install tachyons, tachyons package not added in package.json?

2.5k views Asked by At

npm install output:

npm WARN [email protected] No description
npm WARN [email protected] No repository field.

+ [email protected]
updated 1 package and audited 518 packages in 5.404s
found 0 vulnerabilities

How can it be added in package.json

1

There are 1 answers

0
Kristupas Repečka On

You should include the command you're executing.

However, I assume that you executed npm install. To add a package to dependencies you should do npm install --save or npm install --save-dev.

More info in the documentation https://docs.npmjs.com/cli/install