ember-cli-surge
the EmberJS addon to use surge.sh for deployments.
Last updated a month ago by kiwiupover .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ember-cli-surge 
SYNC missed versions from official npm registry.

Ember-cli-surge

Greenkeeper badge Build Status Ember Observer Score Code Climate npm version

Static Web Publishing for Front-End Developers

surge.sh Zero-bullshit, single–command, bring your own source control web publishing CDN. Yes, it's free. Surge Docs

Installation

ember install ember-cli-surge

Deployment

ember surge

The above command will build your ember app using the production environment then deploy that code to the url <your-project-name>.surge.sh

By passing an environment flag ember surge --environment development to the ember surge command will use your development environment.

The default domain name for your project is the <your-app-name.surge.sh>. This can be found in the CNAME file at the root of your project. Use ember generate surge-domain <your-new-domain> to update the domain which will update the CNAME file. Remember the domain name needs to be unique.

For more info check out Surge Docs

Other commands

  • ember surge --new-domain Add your own domain name ie: --new-domain="kiwis-are-great.surge.sh" or (surge.sh) will generate a domain when no argument is passed in ie:--new-domain
    • alias: -d
  • ember surge --login Login to your account at Surge (surge.sh).
    • alias: -l
  • ember surge --whoami Check who you are logged in as.
    • alias: -w
  • ember surge --publish (Default: true) Publishes a project to the web using Surge (surge.sh).
    • alias: -p
  • ember surge --list List all the projects you’ve published on Surge (surge.sh).
    • alias: -ls
  • ember surge --token Get surge.sh authentication token, great for Continuous Integration (CI).
    • alias: -t
  • ember surge --environment (Default: production) The ember env you want deployed default (production).
    • alias: -e
  • ember surge --logout Log out of your account at Surge (surge.sh).
  • ember surge --teardown Tear down a published project.
    • alias: -td

Contributing

We would love to hear your feedback and welcome your PRs. Cheers.

Running Tests

  • yarn test

  • npm run lint:js

  • npm run lint:js -- --fix

License

This software is distributed under the MIT license.

Current Tags

  • 1.4.3-beta.1                                ...           beta (a year ago)
  • 1.4.4                                ...           latest (a month ago)
  • 1.3.1-beta.11                                ...           next (a year ago)

58 Versions

  • 1.4.4                                ...           a month ago
  • 1.4.3                                ...           a year ago
  • 1.4.3-beta.1                                ...           a year ago
  • 1.4.2                                ...           a year ago
  • 1.4.1                                ...           a year ago
  • 1.4.0 [deprecated]           ...           a year ago
  • 1.3.1-beta.17                                ...           a year ago
  • 1.3.1-beta.16                                ...           a year ago
  • 1.3.1-beta.15                                ...           a year ago
  • 1.3.1-beta.14                                ...           a year ago
  • 1.3.1-beta.13                                ...           a year ago
  • 1.3.1-beta.12                                ...           a year ago
  • 1.3.1-beta.11                                ...           a year ago
  • 1.3.1-beta.10                                ...           a year ago
  • 1.3.1-beta.9                                ...           a year ago
  • 1.3.1-beta.8                                ...           a year ago
  • 1.3.1-beta.7                                ...           a year ago
  • 1.3.1-beta.6                                ...           a year ago
  • 1.3.1-beta.4                                ...           a year ago
  • 1.3.1-beta.3                                ...           a year ago
  • 1.3.1-beta.2                                ...           a year ago
  • 1.3.1-beta.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.3.0-beta.2                                ...           2 years ago
  • 1.3.0-beta.1                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.1-alpha.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.2.0-beta.2                                ...           2 years ago
  • 1.2.0-beta.1                                ...           2 years ago
  • 1.1.21                                ...           3 years ago
  • 1.1.20                                ...           3 years ago
  • 1.1.19                                ...           3 years ago
  • 1.1.18                                ...           3 years ago
  • 1.1.17                                ...           3 years ago
  • 1.1.16                                ...           4 years ago
  • 1.1.15                                ...           4 years ago
  • 1.1.14                                ...           4 years ago
  • 1.1.13                                ...           4 years ago
  • 1.1.12                                ...           4 years ago
  • 1.1.11                                ...           4 years ago
  • 1.1.10                                ...           4 years ago
  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 58
Last Month 116
Dependencies (6)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |