ES6 support in app and tests (#6)
.mocharc.js
0 → 100644
babel.config.json
0 → 100644
... | ... | @@ -13,9 +13,12 @@ |
], | ||
"scripts": { | ||
"start": "probot run ./index.js", | ||
"test": "jest", | ||
"test": "mocha", | ||
"lint": "eslint index.js --cache", | ||
"lint:fix": "eslint index.js --cache --fix" | ||
"lint:fix": "eslint index.js --cache --fix", | ||
"build": "run-s build:*", | ||
"build:clean": "rimraf dist/", | ||
"build:js": "babel index.js --extensions '.ts,.js' --out-dir dist/" | ||
}, | ||
"dependencies": { | ||
"@polkadot/api": "^6.0.5", | ||
... | ... | @@ -23,18 +26,22 @@ |
"probot": "^11.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.15.7", | ||
"@babel/core": "^7.15.8", | ||
"@babel/preset-env": "^7.15.8", | ||
"@babel/register": "^7.15.3", | ||
"chai": "^4.3.4", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"jest": "^26.6.3", | ||
"mocha": "^9.1.2", | ||
"nock": "^13.0.5", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.4.1", | ||
"rimraf": "^3.0.2", | ||
"smee-client": "^1.2.2" | ||
}, | ||
"engines": { | ||
"node": ">= 10.13.0" | ||
}, | ||
"jest": { | ||
"testEnvironment": "node" | ||
} | ||
} |
This diff is collapsed.
Please register or sign in to comment