diff options
author | Ryan Rowland <ryan.w.rowland@gmail.com> | 2018-03-20 13:43:13 +0800 |
---|---|---|
committer | Ryan Rowland <ryan.w.rowland@gmail.com> | 2018-03-20 14:11:48 +0800 |
commit | faa28490827adea52d71c5b9aa8c2af7c0f990ca (patch) | |
tree | 02f682424217c3b16c2d616847a101c5686b713a /package.json | |
parent | 424e98f6a896df6a848a92ef318464abc505d83d (diff) | |
download | tangerine-wallet-browser-faa28490827adea52d71c5b9aa8c2af7c0f990ca.tar tangerine-wallet-browser-faa28490827adea52d71c5b9aa8c2af7c0f990ca.tar.gz tangerine-wallet-browser-faa28490827adea52d71c5b9aa8c2af7c0f990ca.tar.bz2 tangerine-wallet-browser-faa28490827adea52d71c5b9aa8c2af7c0f990ca.tar.lz tangerine-wallet-browser-faa28490827adea52d71c5b9aa8c2af7c0f990ca.tar.xz tangerine-wallet-browser-faa28490827adea52d71c5b9aa8c2af7c0f990ca.tar.zst tangerine-wallet-browser-faa28490827adea52d71c5b9aa8c2af7c0f990ca.zip |
Issue 3505 | Transpile to ES5
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 00587ece6..d3c0299fc 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,10 @@ "mock": "beefy development/mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./", "watch": "mocha watch --recursive \"test/unit/**/*.js\"", "mascara": "gulp build && cross-env METAMASK_DEBUG=true node ./mascara/example/server", - "dist": "npm run dist:clear && npm install && gulp dist", + "dist": "npm run dist:clear && npm install && gulp dist && npm run test:es5", "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:es5": "es-check es5 ./dist/**/*.js", "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", @@ -200,6 +201,7 @@ "envify": "^4.0.0", "enzyme": "^3.3.0", "enzyme-adapter-react-15": "^1.0.5", + "es-check": "^2.0.2", "eslint-plugin-chai": "0.0.1", "eslint-plugin-mocha": "^4.9.0", "eslint-plugin-react": "^7.4.0", |