ソースを参照

Outsource the convoluted `web-ext sign` wrapping code (#2)

pull/342/head
Federico Brigante 7年前
committed by Guillaume Vincent
コミット
255ab15f01
1個のファイルの変更3行の追加2行の削除
  1. +3
    -2
      package.json

+ 3
- 2
package.json ファイルの表示

@@ -12,7 +12,7 @@
"zip": "git archive -o build/lesspass.zip HEAD:extension && npm run zip:firefox && npm run zip:chrome && rm build/lesspass.zip",
"build": "npm run clean && gulp && npm run zip",
"release": "npm run build && npm run release-cws && npm run release-amo",
"release-amo": "cd extension && OK='has been submitted for review.' && web-ext sign | sed -n \"s/\\($OK\\).*$/\\1/;1,/$OK/p\" | perl -pe 'BEGIN { $s=1 } END { exit $s } $s=0 if /'\"$OK\"'/;'",
"release-amo": "cd extension && webext submit",
"release-cws": "webstore upload --source build/lesspass.chrome-v$npm_package_version.zip --auto-publish",
"dev": "cd extension && web-ext run",
"test": "echo 'no test'"
@@ -24,7 +24,8 @@
"chrome-webstore-upload-cli": "^1.1.1",
"gulp": "^3.9.1",
"json": "^9.0.6",
"web-ext": "^1.9.1"
"web-ext": "^1.9.1",
"webext": "1.9.1-with-submit.1"
},
"private": true
}

読み込み中…
キャンセル
保存