chore(npm): always bundle assets before generating a package
This commit is contained in:
Родитель
1daf0c68b7
Коммит
b54ba46acd
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче