Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Commit

Permalink
chore: add meteor dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela committed Dec 30, 2015
1 parent 32fcb8b commit a5ea316
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions package.js
@@ -1,24 +1,23 @@
/* global packageFix:true Package:false */ /* global Package:false */
// package metadata file for AtmosphereJS // package metadata file for AtmosphereJS


try { try {
packageFix = Package Package.describe({

packageFix.describe({
name: 'formly:angular-formly', name: 'formly:angular-formly',
summary: 'angular-formly (official): forms for AngularJS', summary: 'angular-formly (official): forms for AngularJS',
version: '0.0.0-semantically-released.0', version: '0.0.0-semantically-released.0',
git: 'https://github.com/formly-js/angular-formly.git', git: 'https://github.com/formly-js/angular-formly.git',
}) })


packageFix.onUse((api) => { Package.onUse(function(api) {
api.versionsFrom(['METEOR@1.0']) api.versionsFrom(['METEOR@1.0'])
// api-check
api.use('wieldo:api-check@7.5.5') api.use('wieldo:api-check@7.5.5')
api.imply('wieldo:api-check')
// angular
api.use('angular:angular@1.4.0')
api.addFiles('dist/formly.js', 'client') api.addFiles('dist/formly.js', 'client')
}) })

} catch (e) { } catch (e) {
// little workaround... //
// ghooks compiles this file and throws ReferenceError because
// Package is a global variable available only in Meteor environment
} }

0 comments on commit a5ea316

Please sign in to comment.