diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-09-26 05:30:53 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-09-26 05:30:53 +0800 |
commit | 4f135132d780d3254a6b5d448dde0acc6593807a (patch) | |
tree | d84dde7ec7f47e23d57e1cf81aa45d08097f1ef6 /package.json | |
parent | 32a40641eb1ab2614fa024316a760342f473f531 (diff) | |
download | tangerine-wallet-browser-4f135132d780d3254a6b5d448dde0acc6593807a.tar.gz tangerine-wallet-browser-4f135132d780d3254a6b5d448dde0acc6593807a.tar.zst tangerine-wallet-browser-4f135132d780d3254a6b5d448dde0acc6593807a.zip |
Add build step to mozilla-lint
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json index 5320963b9..e2964e551 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "scripts": { "start": "gulp dev:extension", "mascara": "gulp dev:mascara & node ./mascara/example/server", - "dist": "gulp dist && npm run mozilla-lint", + "dist": "gulp dist", "doc": "jsdoc -c development/tools/.jsdoc.json", "publish-docs": "gh-pages -d docs/jsdocs", - "test": "npm run test:unit && npm run test:integration && npm run lint", + "test": "npm run test:unit && npm run test:integration && npm run lint && npm run mozilla-lint", "watch:test:unit": "nodemon --exec \"npm run test:unit\" ./test ./app ./ui", "test:unit": "cross-env METAMASK_ENV=test mocha --exit --require test/setup.js --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\" && dot-only-hunter", "test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js", @@ -41,7 +41,7 @@ "sentry:publish": "node ./development/sentry-publish.js", "lint": "eslint .", "lint:fix": "eslint . --fix", - "mozilla-lint": "addons-linter dist/firefox", + "mozilla-lint": "gulp build && addons-linter dist/firefox", "ui": "npm run test:flat:build:states && beefy development/ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./", "mock": "beefy development/mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./", "watch": "mocha watch --recursive \"test/unit/**/*.js\"", |