a screeps bot

package.json 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "screeps-bot-hivemind",
  3. "version": "1.0.4",
  4. "description": "",
  5. "main": "src/main.js",
  6. "screeps_bot": true,
  7. "repository": {
  8. "type": "git",
  9. "url": "git://github.com/Mirroar/hivemind.git"
  10. },
  11. "author": "David Franke",
  12. "license": "MIT",
  13. "bugs": {
  14. "url": "https://github.com/Mirroar/hivemind/issues"
  15. },
  16. "scripts": {
  17. "test": "xo && ava",
  18. "coverage": "nyc ava"
  19. },
  20. "devDependencies": {
  21. "ava": "^1.4.1",
  22. "lodash": "^3.0.0",
  23. "nyc": "^13.3.0",
  24. "xo": "^0.24.0"
  25. },
  26. "xo": {
  27. "rules": {
  28. "brace-style": [
  29. "error",
  30. "stroustrup"
  31. ],
  32. "comma-dangle": [
  33. "error",
  34. "always-multiline"
  35. ],
  36. "curly": [
  37. "error",
  38. "multi-line"
  39. ],
  40. "import/no-unassigned-import": [
  41. "error",
  42. {
  43. "allow": [
  44. "**/prototype.*",
  45. "**/constants"
  46. ]
  47. }
  48. ],
  49. "prefer-destructuring": [
  50. "error",
  51. {
  52. "array": false,
  53. "object": false
  54. }
  55. ]
  56. },
  57. "globals": [
  58. "_",
  59. "Game",
  60. "Memory"
  61. ],
  62. "ignores": [
  63. "src/screeps-profiler.js",
  64. "src/snippets.js",
  65. "mock/constants.js"
  66. ]
  67. }
  68. }