chore(npm): always bundle assets before generating a package

This commit is contained in:
k88hudson 2016-02-23 18:14:50 -05:00
Родитель 1daf0c68b7
Коммит b54ba46acd
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -99,7 +99,7 @@
"test:jpm": "jpm test -b beta",
"test:karma": "karma start --browsers FirefoxNightly",
"tdd": "karma start --no-single-run",
"package": "jpm xpi && mv @activity-streams-$npm_package_version.xpi dist/activity-streams-$npm_package_version.xpi",
"package": "npm run bundle && jpm xpi && mv @activity-streams-$npm_package_version.xpi dist/activity-streams-$npm_package_version.xpi",
"travis": "npm-run-all travis:*",
"travis:eslint": "npm run test:lint",
"travis:jpm": "jpm test -b $JPM_FIREFOX_BINARY -v",

Просмотреть файл

@ -46,7 +46,7 @@ scripts:
tdd: karma start --no-single-run
# package: Build add-on
package: jpm xpi && mv @activity-streams-$npm_package_version.xpi dist/activity-streams-$npm_package_version.xpi
package: =>bundle && jpm xpi && mv @activity-streams-$npm_package_version.xpi dist/activity-streams-$npm_package_version.xpi
# This is for ci
travis: