Basic tests

This commit is contained in:
Aleksandr Kraiz
2022-04-22 17:43:44 +04:00
parent a56c4f0e11
commit d2e17cd0e3
10 changed files with 783 additions and 2803 deletions

View File

@@ -8,10 +8,10 @@
"start": "npm run build-ts && node lib/index.js",
"develop": "concurrently -i -k -p \"[{name}]\" -n \"Node,TypeScript\" -c \"yellow.bold,cyan.bold\" \"yarn watch-js\" \"yarn watch-ts\"",
"clean": "rimraf lib/*",
"build-ts": "npm run typechain:generate-types && tsc --skipLibCheck",
"build-ts": "npm run typechain:generate-types && tsc -p tsconfig.build.json --skipLibCheck",
"watch-ts": "npm run typechain:generate-types && tsc -w --skipLibCheck",
"watch-js": "nodemon lib/index.js",
"test": "exit 0",
"test": "jest",
"coverage": "jest --coverage",
"lint:eslint": "eslint ./src --ext .ts,.js,.tsx,.jsx",
"lint:eslint:fix": "eslint ./src --ext .ts,.js,.tsx,.jsx --fix",
@@ -37,6 +37,7 @@
"devDependencies": {
"@typechain/ethers-v5": "^10.0.0",
"@types/csprng": "^0.1.2",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.23",
"@types/node-fetch": "^2.6.1",
"@types/socket.io-client": "1.4.33",
@@ -45,11 +46,14 @@
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"concurrently": "^7.0.0",
"dotenv": "^16.0.0",
"eslint": "^8.12.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typechain": "^8.0.0",
"typescript": "^4.5.3"
},
@@ -73,4 +77,4 @@
"files": [
"lib/**/*"
]
}
}