{
  "name": "pusher-platform-js",
  "description": "Pusher Platform client library for web browsers",
  "author": "Pusher",
  "license": "MIT",
  "homepage": "https://github.com/pusher/pusher-platform-js",
  "bugs": {
    "url": "https://github.com/pusher/pusher-platform-js/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pusher/pusher-platform-js.git"
  },
  "devDependencies": {
    "webpack": "^1.9.5",
    "ts-loader": "^1.3.3",
    "typescript": "^2.0.7"
  },
  "scripts": {
    "build": "rm -rf lib target && node_modules/webpack/bin/webpack.js --config=webpack.js",
    "test": "node_modules/webpack/bin/webpack.js --config=webpack.js && node test/test.js"
  },
  "version": "0.0.1"
}

{
  "name": "pusher-platform-js",
  "description": "Pusher Platform client library for web browsers",
  "main": "target/pusher-platform.js",
  "author": "Pusher",
  "license": "MIT",
  "homepage": "https://github.com/pusher/pusher-platform-js",
  "bugs": {
    "url": "https://github.com/pusher/pusher-platform-js/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pusher/pusher-platform-js.git"
  },
  "devDependencies": {
    "webpack": "^1.9.5",
    "ts-loader": "^1.3.3",
    "typescript": "^2.0.7"
  },
  "scripts": {
    "build": "rm -rf lib target && node_modules/webpack/bin/webpack.js --config=webpack.js",
    "test": "node_modules/webpack/bin/webpack.js --config=webpack.js && node test/test.js"
  },
  "version": "0.0.2"
}

Set main field for imports
Set main field for imports
