apply opstooling-js & opstooling-js-style
remove tests
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.eslintrc.json
deleted
100644 → 0
.mocharc.js
deleted
100644 → 0
.pre-commit-config.yaml
0 → 100644
.prettierignore
0 → 100644
.prettierrc
deleted
100644 → 0
.prettierrc.js
0 → 100644
... | ... | @@ -12,17 +12,17 @@ |
"probot-app" | ||
], | ||
"scripts": { | ||
"typecheck": "tsc --noEmit", | ||
"fix:eslint": "eslint --fix", | ||
"fix:prettier": "prettier --write", | ||
"fix": "yarn fix:eslint '{*,**/*}.{js,ts}' && yarn fix:prettier '{*,**/*}.json'", | ||
"start": "nodemon", | ||
"test": "mocha", | ||
"lint": "eslint src/**/* --cache", | ||
"lint:fix": "eslint src/**/* --cache --fix", | ||
"build": "run-s build:*", | ||
"build:clean": "rimraf dist/", | ||
"build:js": "babel src/ --extensions '.ts,.js' --out-dir dist/" | ||
"build": "rimraf dist; babel src/ --extensions '.ts,.js' --out-dir dist/" | ||
}, | ||
"dependencies": { | ||
"@polkadot/api": "^8.1.1", | ||
"@polkadot/util-crypto": "^9.0.1", | ||
"opstooling-js": "https://github.com/paritytech/opstooling-js#v0.0.3", | ||
"probot": "^11.0.1" | ||
}, | ||
"devDependencies": { | ||
... | ... | @@ -30,20 +30,10 @@ |
"@babel/core": "^7.15.8", | ||
"@babel/preset-env": "^7.15.8", | ||
"@babel/preset-typescript": "^7.15.0", | ||
"@types/chai": "^4.2.22", | ||
"@types/mocha": "^9.0.0", | ||
"@resolritter/tsc-files": "^1.1.4", | ||
"@types/node": "^16.10.3", | ||
"@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"@typescript-eslint/parser": "^5.0.0", | ||
"chai": "^4.3.4", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"mocha": "^9.1.2", | ||
"nock": "^13.0.5", | ||
"nodemon": "^2.0.13", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.4.1", | ||
"opstooling-js-style": "https://github.com/paritytech/opstooling-js-style#master", | ||
"rimraf": "^3.0.2", | ||
"smee-client": "^1.2.2", | ||
"ts-node": "^10.3.0", | ||
... | ... |
src/types.ts
0 → 100644