message: Add testing step to precommit
diff: "check": "flow check",
  "dev": "babel-node test/server.js",
  "lint": "eslint src",
  - "precommit": "lint-staged",
  + "precommit": "npm run testonly && lint-staged",
  "prepublish": ". ./resources/prepublish.sh",
  "preversion": ". ./resources/checkgit.sh && npm test",
  "test": "npm run lint && npm run check && npm run testonly && npm run build",
  "lint-staged": {
  "*.js": [
  "prettier --jsx-bracket-same-line --single-quote --trailing-comma=all --write",
  - "npm run lint && npm run check && npm run testonly && npm run build",
  "git add"
  ]
  },
  