Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell ember.js and ember-data version from ember-CLI?

Doing ember -v only shows ember cli version.

How can you view ember.js version and ember data versions?

like image 605
ahnbizcad Avatar asked Apr 28 '15 06:04

ahnbizcad


1 Answers

The version of ember.js and ember-data is determined by your app's dependencies.

Bower dependencies are listed in bower.json file.

npm dependencies are listed in your package.json file.

In the command line, you can just use cat and grep to show you relevant lines.

For example, in the app's directory (same place you use ember -v):

cat bower.json | grep ember-data

That will return any line that matches the text ember-data. It would output something like this:

"ember-data": "1.0.0-beta.16.1",
like image 122
rog Avatar answered Oct 23 '22 22:10

rog