An experimental front-end package registry, inspired by Bower and The-Birds-Nest
- visit this gist in any web-browser.
- copy the URL of the package you wish to install.
- packages can be resolved with a simple HTTP
GETof these URLs.
| ----------------------------------|-----------|-----------|-----------|-----------| | |
| File | % Stmts |% Branches | % Funcs | % Lines | | |
| ----------------------------------|-----------|-----------|-----------|-----------| | |
| bin/ | 72.22 | 68.75 | 100 | 73.53 | | |
| npm-cli.js | 72.22 | 68.75 | 100 | 73.53 | | |
| lib/ | 71.16 | 59.86 | 79.62 | 75.77 | | |
| access.js | 63.77 | 27.78 | 54.55 | 66.15 | | |
| adduser.js | 73.63 | 58.82 | 100 | 78.57 | | |
| bin.js | 92.31 | 50 | 100 | 90.91 | | |
| bugs.js | 71.43 | 60.61 | 75 | 80 | |
| ββ [email protected] | |
| ββ [email protected] | |
| ββ [email protected] | |
| β ββ [email protected] | |
| β β ββ [email protected] | |
| β β ββ [email protected] | |
| β β ββ [email protected] | |
| β β ββ [email protected] | |
| β β ββ [email protected] | |
| β β ββ [email protected] |
| $(document).ready(function() { | |
| var components = { | |
| days: {length: 86400000}, | |
| hours: {length: 3600000}, | |
| minutes: {length: 60000}, | |
| seconds: {length: 1000} | |
| }, | |
| dateOfWedding = new Date('Fri Oct 23 2015 16:30:00 GMT-0800 (PST)'); | |
| Object.keys(components).forEach(function(key) { |
| npm-enterprise:enterprise-demo-2 benjamincoe$ npm publish --verbose | |
| npm info it worked if it ends with ok | |
| npm verb cli [ 'node', '/usr/local/bin/npm', 'publish', '--verbose' ] | |
| npm info using [email protected] | |
| npm info using [email protected] | |
| npm verb publish [ '.' ] | |
| npm verb cache add spec . | |
| npm verb tar pack [ '/Users/benjamincoe/.npm/@foo/blarg/1.0.18/package.tgz', | |
| npm verb tar pack '/Users/benjamincoe/os-npm/enterprise-demo-2' ] | |
| npm verb tarball /Users/benjamincoe/.npm/@foo/blarg/1.0.18/package.tgz |
| user root; | |
| worker_processes 1; | |
| error_log /var/log/nginx/error.log; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { |
| npm-enterprise:npme benjamincoe$ npm ls | |
| @npm/[email protected] /private/etc/npme | |
| βββ¬ @npm/[email protected] | |
| β βββ¬ [email protected] | |
| β β βββ [email protected] | |
| β β βββ [email protected] | |
| β β βββ¬ [email protected] | |
| β β β βββ [email protected] | |
| β β βββ¬ [email protected] | |
| β β β βββ [email protected] |
An experimental front-end package registry, inspired by Bower and The-Birds-Nest
GET of these URLs.Make sure you have a 2.x npm client installed.
Install dependencies with Homebrew:
brew install ansible
brew install couchdb
brew install redis
brew install nginx
ssh-keygen -t rsa -C "[email protected]".authorized_keys on the remote host.rsync -a [email protected]:/etc/npme /etc/| { | |
| "name": "@npm/apple", | |
| "version": "0.0.39", | |
| "description": "", | |
| "main": "index.js", | |
| "author": "Ben Coe <[email protected]>", | |
| "license": "ISC", | |
| "repository": { | |
| "url": "git://github.com/npm/apple.git" |