{
  "name": "tsec",
  "version": "0.1.0",
  "description": "Extended TypeScript compiler checking Trusted Types compatibility.",
  "author": "Google ISE Hardening Team",
  "license": "Apache-2.0",
  "homepage": "https://github.com/googleinterns/tsec",
  "bugs": {
    "url": "https://github.com/googleinterns/tsec/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/googleinterns/tsec.git"
  },
  "main": "lib/language_service_plugin.js",
  "bin": {
    "tsec": "bin/tsec"
  },
  "scripts": {
    "build": "yarn tsc -p ./tsconfig.json",
    "clean": "yarn rimraf ./lib",
    "prepublishOnly": "yarn clean && yarn build",
    "postinstall": "yarn build"
  },
  "devDependencies": {
    "@types/glob": "^7.1.1",
    "@types/node": "^13.13.5",
    "rimraf": "^3.0.2",
    "typescript": "^3.9.2"
  },
  "dependencies": {
    "glob": "^7.1.1"
  },
  "peerDependencies": {
    "typescript": ">=3.9.2"
  }
}

{
  "name": "tsec",
  "version": "0.1.0",
  "description": "Extended TypeScript compiler checking Trusted Types compatibility.",
  "author": "Google ISE Hardening Team",
  "license": "Apache-2.0",
  "homepage": "https://github.com/googleinterns/tsec",
  "bugs": {
    "url": "https://github.com/googleinterns/tsec/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/googleinterns/tsec.git"
  },
  "main": "lib/language_service_plugin.js",
  "bin": {
    "tsec": "bin/tsec"
  },
  "scripts": {
    "build": "yarn tsc -p ./tsconfig.json",
    "clean": "yarn rimraf ./lib",
    "prepublishOnly": "yarn clean",
    "prepare": "yarn build"
  },
  "devDependencies": {
    "@types/glob": "^7.1.1",
    "@types/node": "^13.13.5",
    "rimraf": "^3.0.2",
    "typescript": "^3.9.2"
  },
  "dependencies": {
    "glob": "^7.1.1"
  },
  "peerDependencies": {
    "typescript": ">=3.9.2"
  }
}

Change the postinstall script to a prepare script.
Change the postinstall script to a prepare script.

Fix #20.

PiperOrigin-RevId: 351615872
Change-Id: I774b41ed3392bcd0dd877730c9f7cdb74f0f2bbc
