ticketfly-shared-config
Advanced tools
Comparing version 0.0.2 to 0.0.3
#!/bin/env node | ||
var fs = require('fs'); | ||
var express = require('express'); | ||
var express = require('./express'); | ||
@@ -6,0 +6,0 @@ /** |
@@ -7,4 +7,8 @@ 'use strict'; | ||
afterInstall: function() { | ||
this.addPackageToProject('broccoli-jscs', '0.0.14'); | ||
this.addPackageToProject('broccoli-sass', '^0.2.3'); | ||
this.addPackageToProject('git-repo-info', '^1.0.2'); | ||
return this.insertIntoFile('.gitignore', '.openshift'); | ||
} | ||
}; |
@@ -9,2 +9,9 @@ /* jshint node: true */ | ||
includedCommands: function() { | ||
return { | ||
'openshift': require('./lib/commands/openshift'), | ||
'openshift-deploy': require('./lib/commands/openshift-deploy') | ||
}; | ||
}, | ||
blueprintsPath: function() { | ||
@@ -11,0 +18,0 @@ return path.join(__dirname, 'blueprints'); |
{ | ||
"name": "ticketfly-shared-config", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Shared configuration across projects.", | ||
@@ -36,2 +36,6 @@ "directories": { | ||
}, | ||
"dependencies": { | ||
"git-repo-info": "^1.0.3", | ||
"rsvp": "~3.0.9" | ||
}, | ||
"keywords": [ | ||
@@ -38,0 +42,0 @@ "ember-addon", |
# Shared Config | ||
This README outlines the details of collaborating on this Ember addon. | ||
Shared configuration across projects. | ||
## Installation | ||
Add addon to `ember-cli` project as a dependency: | ||
* `git clone` this repository | ||
* `npm install` | ||
* `bower install` | ||
```sh | ||
npm install ticketfly-shared-config --save-dev | ||
``` | ||
## Running | ||
Run generator: | ||
* `ember server` | ||
* Visit your app at http://localhost:4200. | ||
```sh | ||
ember g ticketfly-shared-config | ||
``` | ||
## Running Tests | ||
Generator will do several things: | ||
* `ember test` | ||
* `ember test --server` | ||
+ add `broccoli-jscs`, `broccoli-sass` and `git-repo-version` as dependencies | ||
+ create `.openshift` folder and `.jscsrc` file. | ||
+ add `openshift` command | ||
## Building | ||
### Openshift command | ||
* `ember build` | ||
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/). | ||
```sh | ||
ember openshift push | ||
ember openshift push --environment development | ||
ember openshift push my-server --environment production | ||
ember openshift push my-server | ||
ember openshift push my-server --aws // not implemented yet | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17370
12
325
32
2
2
+ Addedgit-repo-info@^1.0.3
+ Addedrsvp@~3.0.9
+ Addedgit-repo-info@1.4.1(transitive)
+ Addedrsvp@3.0.21(transitive)