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
220
Greenkeeper – managing dependencies with confidence
boennemann
0
91
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
290
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.2k
We fail to follow SemVer – and why it needn’t matter
boennemann
0
220
Hoodie.js Introduction – Salzburg Web Dev Meetup
boennemann
0
620
Other Decks in Programming
See All in Programming
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
160
Contemporary Test Cases
maaretp
0
130
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.1k
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
2
660
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
Quine, Polyglot, 良いコード
qnighy
4
640
Amazon Qを使ってIaCを触ろう!
maruto
0
400
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
4
640
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
ヤプリ新卒SREの オンボーディング
masaki12
0
130
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
A Philosophy of Restraint
colly
203
16k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
A better future with KSS
kneath
238
17k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Why Our Code Smells
bkeepers
PRO
334
57k
Designing the Hi-DPI Web
ddemaree
280
34k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
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