diff --git a/package.json b/package.json index 8272d8a62326..f7ecebed82b5 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,11 @@ "devDependencies": { "asar": "^0.11.0", "browserify": "^13.1.0", + "check-for-leaks": "^1.0.2", "electabul": "~0.0.4", "electron-docs-linter": "^2.3.3", "electron-typescript-definitions": "^1.2.7", + "husky": "^0.14.3", "request": "^2.68.0", "standard": "^8.4.0", "standard-markdown": "^4.0.0" @@ -41,6 +43,8 @@ "create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version", "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts", "preinstall": "node -e 'process.exit(0)'", + "prepack": "check-for-leaks", + "prepush": "check-for-leaks", "release": "./script/upload.py -p", "repl": "python ./script/start.py --interactive", "start": "python ./script/start.py",