{
  "name": "intl-pluralrules",
  "version": "1.0.1",
  "description": "Intl.PluralRules polyfill",
  "keywords": [
    "unicode",
    "cldr",
    "i18n",
    "internationalization",
    "pluralization"
  ],
  "author": "Eemeli Aro <eemeli@gmail.com>",
  "license": "ISC",
  "homepage": "https://github.com/eemeli/intl-pluralrules#readme",
  "repository": "eemeli/intl-pluralrules",
  "files": [
    "plural-rules.js",
    "polyfill.js"
  ],
  "main": "polyfill.js",
  "babel": {
    "presets": [
      [
        "@babel/preset-env",
        {
          "targets": "> 0.25%, not dead"
        }
      ]
    ]
  },
  "prettier": {
    "semi": false,
    "singleQuote": true
  },
  "dependencies": {
    "make-plural": "^4.3.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.4.3",
    "@babel/core": "^7.4.3",
    "@babel/preset-env": "^7.4.3",
    "jest": "^24.7.1"
  },
  "scripts": {
    "build": "babel -d . src/ --ignore '**/*.test.js'",
    "prepublishOnly": "npm test",
    "test": "jest"
  }
}

{
  "name": "intl-pluralrules",
  "version": "1.0.1",
  "description": "Intl.PluralRules polyfill",
  "keywords": [
    "unicode",
    "cldr",
    "i18n",
    "internationalization",
    "pluralization"
  ],
  "author": "Eemeli Aro <eemeli@gmail.com>",
  "license": "ISC",
  "homepage": "https://github.com/eemeli/intl-pluralrules#readme",
  "repository": "eemeli/intl-pluralrules",
  "files": [
    "plural-rules.js",
    "polyfill.js"
  ],
  "main": "polyfill.js",
  "babel": {
    "presets": [
      [
        "@babel/preset-env",
        {
          "targets": "> 0.25%, not dead"
        }
      ]
    ]
  },
  "prettier": {
    "semi": false,
    "singleQuote": true
  },
  "dependencies": {
    "make-plural": "^4.3.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.4.3",
    "@babel/core": "^7.4.3",
    "@babel/preset-env": "^7.4.3",
    "jest": "^24.7.1"
  },
  "scripts": {
    "build": "babel -d . src/ --ignore '**/*.test.js'",
    "prepublishOnly": "npm test && npm run build",
    "test": "jest"
  }
}

Add build to prepublishOnly script
Add build to prepublishOnly script
