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
170
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
280
Greenkeeper – managing dependencies with confidence
boennemann
0
98
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
330
Dependency Hell Just Froze Over
boennemann
1
560
We fail to follow SemVer – and why it needn’t matter
boennemann
0
290
We fail to follow SemVer – and why it needn’t matter
boennemann
3
1.2k
We fail to follow SemVer – and why it needn’t matter
boennemann
0
230
Hoodie.js Introduction – Salzburg Web Dev Meetup
boennemann
0
680
Other Decks in Programming
See All in Programming
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
460
XP, Testing and ninja testing
m_seki
3
220
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
170
Hypervel - A Coroutine Framework for Laravel Artisans
albertcht
1
110
GraphRAGの仕組みまるわかり
tosuri13
8
520
WindowInsetsだってテストしたい
ryunen344
1
220
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
50
32k
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
2
330
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
0
310
Discover Metal 4
rei315
2
110
技術同人誌をMCP Serverにしてみた
74th
1
530
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
390
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Writing Fast Ruby
sferik
628
62k
The Invisible Side of Design
smashingmag
300
51k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Six Lessons from altMBA
skipperchong
28
3.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
Documentation Writing (for coders)
carmenintech
72
4.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Being A Developer After 40
akosma
90
590k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
680
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
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