aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-27 02:43:49 +0800
committerDan <danjm.com@gmail.com>2018-03-27 02:43:49 +0800
commit4f0881e41be82de28ae6a444f54123b0ee2a04a0 (patch)
treedc8e623792f60ddc8309766515cab7d8f89ae89a /package.json
parent35baff15aa181a5ec647d5738c027c8ba1ee9285 (diff)
parent4efb1c6b491901cbb42ef27a4c6c55814f24d764 (diff)
downloadtangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar.gz
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar.bz2
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar.lz
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar.xz
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar.zst
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.zip
Merge branch 'master' into i18n-translator-redux
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/package.json b/package.json
index f10491fd1..b43112358 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
"mascara": "gulp build && cross-env METAMASK_DEBUG=true node ./mascara/example/server",
"dist": "npm run dist:clear && npm install && gulp dist",
"dist:clear": "rm -rf node_modules/eth-contract-metadata && rm -rf node_modules/eth-phishing-detect",
- "test": "npm run lint && npm run test:coverage && npm run test:integration",
+ "test": "npm run test:unit && npm run test:integration && npm run lint",
"test:unit": "cross-env METAMASK_ENV=test mocha --exit --require babel-core/register --require test/helper.js --recursive \"test/unit/**/*.js\"",
"test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js",
"test:integration": "npm run test:integration:build && npm run test:flat && npm run test:mascara",
@@ -29,6 +29,13 @@
"test:mascara:build:ui": "browserify mascara/test/test-ui.js -o dist/mascara/ui.js",
"test:mascara:build:background": "browserify mascara/src/background.js -o dist/mascara/background.js",
"test:mascara:build:tests": "browserify test/integration/lib/first-time.js -o dist/mascara/tests.js",
+ "sentry": "export RELEASE=`cat app/manifest.json| jq -r .version` && npm run sentry:release && npm run sentry:upload",
+ "sentry:release": "npm run sentry:release:new && npm run sentry:release:clean",
+ "sentry:release:new": "sentry-cli releases --org 'metamask' --project 'metamask' new $RELEASE",
+ "sentry:release:clean": "sentry-cli releases --org 'metamask' --project 'metamask' files $RELEASE delete --all",
+ "sentry:upload": "npm run sentry:upload:source && npm run sentry:upload:maps",
+ "sentry:upload:source": "for FILEPATH in ./dist/chrome/scripts/*.js; do [ -e $FILEPATH ] || continue; export FILE=`basename $FILEPATH` && echo uploading $FILE && sentry-cli releases --org 'metamask' --project 'metamask' files $RELEASE upload $FILEPATH metamask/scripts/$FILE; done;",
+ "sentry:upload:maps": "sentry-cli releases --org 'metamask' --project 'metamask' files $RELEASE upload-sourcemaps ./dist/sourcemaps/ --url-prefix 'sourcemaps' --rewrite",
"lint": "gulp lint",
"lint:fix": "gulp lint:fix",
"disc": "gulp disc --debug",
@@ -145,6 +152,7 @@
"pumpify": "^1.3.4",
"qrcode-npm": "0.0.3",
"ramda": "^0.24.1",
+ "raven-js": "^3.24.0",
"react": "^15.6.2",
"react-addons-css-transition-group": "^15.6.0",
"react-dom": "^15.6.2",
@@ -180,6 +188,7 @@
"xtend": "^4.0.1"
},
"devDependencies": {
+ "@sentry/cli": "^1.30.3",
"babel-core": "^6.24.1",
"babel-eslint": "^8.0.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",