Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
npm – more than just install
Search
Stephan Bönnemann
August 08, 2015
Programming
0
160
npm – more than just install
Stephan Bönnemann
August 08, 2015
Tweet
Share
More Decks by Stephan Bönnemann
See All by Stephan Bönnemann
Greenkeeper – managing dependencies with confidence
boennemann
0
200
Greenkeeper – managing dependencies with confidence
boennemann
0
88
JavaScript Release Management for Open Source Projects and Companies
boennemann
0
520
We fail to follow SemVer – and why it needn't matter
boennemann
0
280
Dependency Hell Just Froze Over
boennemann
1
550
We fail to follow SemVer – and why it needn’t matter
boennemann
0
270
We fail to follow SemVer – and why it needn’t matter
boennemann
3
1.1k
We fail to follow SemVer – and why it needn’t matter
boennemann
0
220
Hoodie.js Introduction – Salzburg Web Dev Meetup
boennemann
0
610
Other Decks in Programming
See All in Programming
Quarto Clean Theme
nicetak
0
220
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
860
Modern Functional Fluent CFML REST by Luis Majano
ortus24
0
110
Kotlin Multiplatform at Stable and Beyond (Kotlin Vienna, October 2024)
zsmb
2
320
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
1.1k
Micro Frontends for Java Microservices - dev2next 2024
mraible
PRO
0
180
推しの夫に恋のGPS「ときメーター」#M5Stack #IoT #M5JPTour2024
riyu
0
220
コードレビューと私の過去と未来
jxmtst
0
140
Vue :: Better Testing 2024
up1
1
350
ECS向けのドリフト検知機構を実装してみた
tkikuc
0
260
tsconfig.jsonの最近の新機能 ファイルパス編
uhyo
6
1.3k
Re:PandasAI:生成AIがデータ分析業務にもたらすパラダイムシフト【増補改訂版】
negi111111
1
640
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
334
57k
Building an army of robots
kneath
302
42k
KATA
mclloyd
27
13k
What the flash - Photography Introduction
edds
67
11k
Web Components: a chance to create the future
zenorocha
310
42k
[RailsConf 2023] Rails as a piece of cake
palkan
49
4.7k
Docker and Python
trallard
40
3k
Done Done
chrislema
181
16k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Code Reviewing Like a Champion
maltzj
519
39k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Transcript
npm The package manager for JavaScript @boennemann
npm install @boennemann
npm install --save hapi npm install --save-dev tap npm install
--global babel @boennemann
npm i -S hapi npm i -D tap npm i
-g babel @boennemann
npm i -g npm @boennemann
npm i boennemann/animals @boennemann
npm i <user>/<repo> @boennemann
npm i gist:<user>/<id> @boennemann
npm i bitbucket:<user>/<repo> @boennemann
npm i gitlab:<user>/<repo> @boennemann
npm i ~/projects/whatever @boennemann
npm i ~/projects/whatever.tgz @boennemann
npm i http://a.com/whatever.tgz @boennemann
npm more than just install @boennemann
“You have to know that @boennemann is really, I mean
REALLY, into npm [...] stuff.” – Stephan Seidt @boennemann
users @boennemann
npm docs <package> @boennemann
npm prune @boennemann
packages @boennemann
npm init @boennemann
npm config set init.author.name="<name>" @boennemann
npm dist-tag add <pkg>@<version> <tag> @boennemann
{ "bundleDependencies": [ "my-lib", "my-project-client", "my-project-server" // … ] }
@boennemann
{ "scripts": { "start": "gulp serve", "build": "gulp build" //
… } } @boennemann
applications @boennemann
npm dedupe @boennemann
npm shrinkwrap @boennemann
wat @boennemann
/**package { "name": "my-package", "version": "1.0.0" } **/ @boennemann
npm help <command> http://docs.npmjs.com/ @boennemann
npm @boennemann
npm @boennemann
@npmWombat @boennemann
demo @boennemann