Add tests

This commit is contained in:
uwap 2022-12-31 09:04:15 +01:00
parent 3bd6b0ac2c
commit a64f40b6cc
11 changed files with 2252 additions and 21 deletions

View file

@ -8,7 +8,7 @@
"build": "npx spack",
"lint": "npx eslint src/",
"prepare": "husky install",
"test": "yarn lint",
"test": "jest",
"push": "yarn build && node ./upload.js"
},
"dependencies": {
@ -16,12 +16,19 @@
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.23",
"@swc/core": "^1.3.24",
"@swc/jest": "^0.2.24",
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"dotenv": "^16.0.3",
"eslint": "^8.30.0",
"husky": "^8.0.0",
"jest": "^29.3.1",
"lodash": "^4.17.21",
"screeps-jest": "^2.0.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
}