motion
Version:
motion - moving development forward
84 lines (83 loc) • 4.58 kB
JSON
{
"_args": [
[
"surge@https://registry.npmjs.org/surge/-/surge-0.17.7.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "surge@0.17.7",
"_id": "surge@0.17.7",
"_inCache": true,
"_location": "/surge",
"_phantomChildren": {},
"_requested": {
"name": "surge",
"raw": "surge@https://registry.npmjs.org/surge/-/surge-0.17.7.tgz",
"rawSpec": "https://registry.npmjs.org/surge/-/surge-0.17.7.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/surge/-/surge-0.17.7.tgz",
"type": "remote"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/surge/-/surge-0.17.7.tgz",
"_shasum": "d9ec476451530ff88ffd6ad4e970041181aa032f",
"_shrinkwrap": null,
"_spec": "surge@https://registry.npmjs.org/surge/-/surge-0.17.7.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "brock@chloi.io",
"name": "Brock Whitten"
},
"bin": {
"surge": "./lib/cli.js"
},
"bugs": {
"url": "https://github.com/sintaxi/surge/issues"
},
"dependencies": {
"du": "0.1.0",
"fstream-ignore": "1.0.2",
"is-domain": "0.0.1",
"minimist": "1.1.1",
"moniker": "0.1.2",
"netrc": "0.1.4",
"progress": "1.1.8",
"prompt": "~0.2.14",
"read": "1.0.5",
"request": "2.40.0",
"split": "0.3.1",
"surge-ignore": "0.2.0",
"tar": "1.0.0",
"tar.gz": "0.1.1",
"url-parse-as-address": "1.0.0"
},
"description": "CDN for front-end developers",
"devDependencies": {
"commander": "2.9.0",
"mocha": "*",
"nixt": "0.4.1",
"should": "7.1.0",
"yargs": "3.30.0"
},
"homepage": "https://github.com/sintaxi/surge#readme",
"ignore": [
"test"
],
"license": "ISC",
"main": "./lib/surge.js",
"name": "surge",
"optionalDependencies": {},
"readme": "# surge(.sh)\n\n> Publish web apps to a CDN with a single command and no setup required.\n\n[](https://nodei.co/npm/surge/)\n\nThis is the CLI client for the surge.sh hosted service. It’s what gets installed when you run `npm install -g surge`.\n\nThis CLI library manages access tokens locally and handles the upload and subsequent reporting when you publish a project using surge.\n\n## Usage\n\nIt’s easier to show than tell so let’s get to it! The following command will deploy the current working directory to the surge servers where the application will be available at sintaxi.com.\n\n $ surge ./ sintaxi.com\n\nRun `surge --help` to see the following overview of the `surge` command...\n\n```\n Surge – Single-command web publishing. (v0.17.6)\n\n Usage:\n surge [options]\n\n Options:\n -p, --project path to projects asset directory (./)\n -d, --domain domain of your project (<random>.surge.sh)\n -a, --add adds user to list of collaborators (email address)\n -r, --remove removes user from list of collaborators (email address)\n -V, --version show the version number\n -h, --help show this help message\n\n Shorthand usage:\n surge [project path] [domain]\n\n Additional commands:\n surge whoami show who you are logged in as\n surge logout expire local token\n surge login only performs authentication step\n surge list list all domains you have access to\n surge teardown tear down a published project\n\n Guides:\n Getting started surge.sh/help/getting-started-with-surge\n Custom domains surge.sh/help/adding-a-custom-domain\n Additional help surge.sh/help\n\n When in doubt, run surge from within you project directory.\n\n```\n\n## CDN Features\n\n- Custom CNAME & custom SSL\n- Fallback 404.html pages\n- HTML5 mode 200.html pages\n- Stays out of `git`s way\n- Supports clean URLs && trailing slashes `/`\n- Implicit signup\n- Supports CNAME files\n\nIf you’re using tools like Grunt, Gulp, or a static site generator like Jekyll, your files are output into a compile directory like `_site/`, `build/`, or `www/`. From the root of your project, pass Surge the path to this directory to upload your compiled assets.\n\n surge www\n\nYou may also add this directory to your `.gitignore` to keep your compiled assets out of your Git history.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sintaxi/surge.git"
},
"scripts": {
"test": "mocha -t 5000",
"test:local": "ENDPOINT='localhost:5001' ./node_modules/.bin/mocha"
},
"version": "0.17.7"
}