As I understand Ember Team recommended to migrate applications from bower to npm, but I wasn't able to find clear migration plan for that. Does someone have successful migration experience? Could you please share your experience or give some useful links with detailed instructions. Thanks.
this is my current bower.json file:
{
"name": "...",
"dependencies": {
"jquery": "1.11.3",
"ember": "^2.14.0",
"bootstrap-sass-official": "3.3.5",
"inputmask": "~3.3.6",
"bootstrap-star-rating": "~3.5.2",
"font-awesome": "~4.5.0",
"pubnub": "3.15.2",
"bootstrap-switch": "^3.3.2",
"soundmanager2": "*",
"lodash": "^2.4.0",
"mixpanel": "~2.7.1",
"slick-carousel": "1.5.8",
"seiyria-bootstrap-slider": "~6.0.6"
},
"resolutions": {
"jquery": "1.11.3",
"ember": "2.14.0"
}
}
To switch to Ember from npm you need to include ember-source
in your package.json
file as shown here: https://github.com/ember-cli/ember-new-output/blob/f98da31d2299050773c98e01b1019437cd323391/package.json
You no longer need a bower.json file, so the only things in it should be addoms that you haven't yet migrated to npm equivalents ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.