PayPal, 2017-07-20
80% of npm users are using it to build websites
10 billion downloads per month
520,000 packages
8.4 million users
- everyone
npm install -g npm
Breaking
Feature
Fix
major
minor
patch
~3.5.3 ^3.5.3
You can tell it's cool because it has an X in the name!
{
"name": "@seldo/some-package",
"version": "1.0.0",
...
"scripts": {
"test": "mocha ./test/*.js",
"start": "node ./index.js"
}
}
publish: prepublish, publish, postpublish install: preinstall, install, postinstall uninstall: preuninstall, uninstall, postuninstall version: preversion, version, postversion test: pretest, test, posttest stop: prestop, stop, poststop start: prestart, start, poststart restart: prerestart, restart, postrestart
npm install husky
npm install --save-dev
npx jest
npx create-react-app
npx webpack@3.3
Think of some questions.
There's swag in it for you!
* especially if your friend is your manager
The best way to reach me is Twitter:
@seldo
You can get these slides:
https://slides.com/seldo/npm-for-enterprise