ahnbizcad
ahnbizcad

Reputation: 10817

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?

Upvotes: 9

Views: 6922

Answers (2)

Felix
Felix

Reputation: 4081

If you're using npm:

npm list --depth=0

Results in:

    <project name> <project location>
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ...

Upvotes: 4

rog
rog

Reputation: 5361

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",

Upvotes: 7

Related Questions