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
190
Greenkeeper – managing dependencies with confidence
boennemann
0
83
JavaScript Release Management for Open Source Projects and Companies
boennemann
0
510
We fail to follow SemVer – and why it needn't matter
boennemann
0
260
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
580
Other Decks in Programming
See All in Programming
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
81k
CSC307 Lecture 10
javiergs
PRO
0
310
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
I/O Extended Android in Korea 2024 ~ Whats new in Android development tools
pluu
0
250
Introduction to GitOps
hwchiu
0
110
Trial
cairolibrary720
1
130
Android開発者のための Kotlin Multiplatform入門
ntaro
0
190
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
Polarsの成長: v0.14からv1.0までの変遷と今後の展望
zerebom
1
350
AWSでゲームサーバーを運用! Amazon GameLiftのお話
iriikeita
0
200
Product Management LT会_クアンド新家
shinshin
0
210
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Berlin
prof18
0
110
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
248
12k
Building a Modern Day E-commerce SEO Strategy
aleyda
25
6.7k
How to Think Like a Performance Engineer
csswizardry
4
590
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
16
1.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
90
47k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
245
1.2M
Building Flexible Design Systems
yeseniaperezcruz
323
37k
Happy Clients
brianwarren
94
6.5k
How to Ace a Technical Interview
jacobian
274
23k
Teambox: Starting and Learning
jrom
130
8.6k
Designing on Purpose - Digital PM Summit 2013
jponch
113
6.6k
Unsuck your backbone
ammeep
666
57k
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