message: Tidy up npm scripts in package.json.
diff: "main": "main.js",
  "types": "main.d.ts",
  "scripts": {
  - "tsc": "tsc --noEmit",
  "mocha": "test/run.sh",
  "debug": "test/run.sh --inspect-brk",
  - "test": "npm run tsc && npm run mocha",
  - "build": "tsc",
  + "test": "npm run build && npm run mocha",
  + "build": "npm run clean && tsc",
  "clean": "ts-emit-clean",
  - "prepack": "npm run clean && npm run build",
  + "prepack": "npm run build",
  "postpack": "npm run clean"
  },
  "browser": {
  