diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-09-26 05:26:37 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-09-26 05:26:37 +0800 |
commit | 4d9ca132a3bd894a16b3fe8f790d6b15f737abdf (patch) | |
tree | c0755debc01caae27c742299f410cad44d03a80d /package.json | |
parent | 98e9556a5f7535e0563adf01d08e8b8d6ae0bccb (diff) | |
download | tangerine-wallet-browser-4d9ca132a3bd894a16b3fe8f790d6b15f737abdf.tar tangerine-wallet-browser-4d9ca132a3bd894a16b3fe8f790d6b15f737abdf.tar.gz tangerine-wallet-browser-4d9ca132a3bd894a16b3fe8f790d6b15f737abdf.tar.bz2 tangerine-wallet-browser-4d9ca132a3bd894a16b3fe8f790d6b15f737abdf.tar.lz tangerine-wallet-browser-4d9ca132a3bd894a16b3fe8f790d6b15f737abdf.tar.xz tangerine-wallet-browser-4d9ca132a3bd894a16b3fe8f790d6b15f737abdf.tar.zst tangerine-wallet-browser-4d9ca132a3bd894a16b3fe8f790d6b15f737abdf.zip |
Add mozilla addon linter to test suite
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json index 7ceba7844..b2177e449 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "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,6 +41,7 @@ "sentry:publish": "node ./development/sentry-publish.js", "lint": "eslint .", "lint:fix": "eslint . --fix", + "mozilla-lint": "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\"", @@ -230,6 +231,7 @@ "@storybook/addon-info": "^3.4.2", "@storybook/addon-knobs": "^3.4.2", "@storybook/react": "^3.4.2", + "addons-linter": "^1.3.4", "babel-core": "^6.24.1", "babel-eslint": "^8.0.0", "babel-plugin-transform-async-to-generator": "^6.24.1", |