{"_id":"webpack-synchronizable-shell-plugin","_rev":"9-b21a8c7046aa92e30a445b39353d0f1a","name":"webpack-synchronizable-shell-plugin","description":"Run shell commands before and after webpack builds","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"webpack-synchronizable-shell-plugin","version":"0.0.1","description":"Run shell commands before and after webpack builds","main":"lib/index.js","scripts":{"test":"webpack","test:dev":"webpack-dev-server --progress","build":"rollup -c","webpack":"webpack --progress","webpack-dev-server":"webpack-dev-server --progress","lint":"eslint src/webpack-shell-plugin.js"},"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"license":"MIT","homepage":"https://github.com/Feiyang1/webpack-shell-plugin","devDependencies":{"babel-core":"^6.7.6","babel-preset-env":"^1.6.1","babel-preset-es2015-rollup":"^1.1.1","css-loader":"^0.23.1","eslint":"^2.7.0","rollup":"^0.25.8","rollup-plugin-babel":"^2.4.0","style-loader":"^0.13.1","webpack":"^1.13.1"},"gitHead":"19c4aa6d52241c5fb25c5165291f91f5c512f085","_id":"webpack-synchronizable-shell-plugin@0.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"},"dist":{"integrity":"sha512-IpCZU3frJqWlpa9emX+hnnuh19Nc6FLYDkUyUGbJjtHCTLskhdnD4yK87wtamn3zr0FqWNvUDrOkSpAWKsIElA==","shasum":"ce4855aeef99913e11567db9bd85b52699a79d03","tarball":"https://registry.npmjs.org/webpack-synchronizable-shell-plugin/-/webpack-synchronizable-shell-plugin-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPh1Fy58lCUMlggA6NspDq2fA3iQmDqWD/DX2oIYfiqAiEAxXzgQEOxiXShGj06QxnRhbGjinLvC6ra/GBAckhs1Ho="}]},"maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-synchronizable-shell-plugin-0.0.1.tgz_1509941727536_0.18809403479099274"},"directories":{}},"0.0.2":{"name":"webpack-synchronizable-shell-plugin","version":"0.0.2","description":"Run shell commands before and after webpack builds","main":"lib/index.js","scripts":{"test":"webpack","test:dev":"webpack-dev-server --progress","build":"rollup -c","webpack":"webpack --progress","webpack-dev-server":"webpack-dev-server --progress","lint":"eslint src/webpack-shell-plugin.js"},"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"license":"MIT","homepage":"https://github.com/Feiyang1/webpack-shell-plugin","devDependencies":{"babel-core":"^6.7.6","babel-preset-env":"^1.6.1","babel-preset-es2015-rollup":"^1.1.1","css-loader":"^0.23.1","eslint":"^2.7.0","rollup":"^0.25.8","rollup-plugin-babel":"^2.4.0","style-loader":"^0.13.1","webpack":"^1.13.1"},"gitHead":"9a3d2f638bdfa2d5afe47f5778edd495fbab0901","_id":"webpack-synchronizable-shell-plugin@0.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"},"dist":{"integrity":"sha512-AxWzPtbnri8G6XYMj271QYkJtRPg0/sXR+QqqUMiPn9liF5n51jGnuWtXrwbet7VFvgb5a24qW3Hsi1N/kvUtA==","shasum":"5e306beab17ce5eccd45b78e6ccfce5d297dcd2b","tarball":"https://registry.npmjs.org/webpack-synchronizable-shell-plugin/-/webpack-synchronizable-shell-plugin-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtvExwDu0PFGND0NAVZEp74GIj/ODl2XDNd1lsdMvjGQIhAOGL3ht27bDtKGkEkkJwBrgwTILeucORwrJYSIeSVqAc"}]},"maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-synchronizable-shell-plugin-0.0.2.tgz_1510544757625_0.011935857124626637"},"directories":{}},"0.0.3":{"name":"webpack-synchronizable-shell-plugin","version":"0.0.3","description":"Run shell commands before and after webpack builds","main":"lib/index.js","scripts":{"test":"webpack","test:dev":"webpack-dev-server --progress","build":"rollup -c","webpack":"webpack --progress","webpack-dev-server":"webpack-dev-server --progress","lint":"eslint src/webpack-shell-plugin.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"license":"MIT","homepage":"https://github.com/Feiyang1/webpack-shell-plugin","devDependencies":{"babel-core":"^6.7.6","babel-preset-env":"^1.6.1","babel-preset-es2015-rollup":"^1.1.1","css-loader":"^0.23.1","eslint":"^2.7.0","rollup":"^0.25.8","rollup-plugin-babel":"^2.4.0","style-loader":"^0.13.1","webpack":"^1.13.1"},"gitHead":"43fed0273ca27af90a12cfbc23b87fe4c547b703","_id":"webpack-synchronizable-shell-plugin@0.0.3","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"},"dist":{"integrity":"sha512-5ZuH0oF31Wd5rDj2ztPulRhxFKatYS/pY9VAn2jETdtdRsCL1oXgDbadEnu5zK1K5b51q2YKdcjKOBxnVtI7fQ==","shasum":"eb23b7bcf7ba85c6db2ab46d371ad0d075e822b4","tarball":"https://registry.npmjs.org/webpack-synchronizable-shell-plugin/-/webpack-synchronizable-shell-plugin-0.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDARcP+r1jdKrspb6UwLs1mCyf+7waP0sIrToDzh+J+sAIgaynmDQNV860Am6ul/6+wWR+9yPiBm/5hgfu+m36M6AQ="}]},"maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-synchronizable-shell-plugin-0.0.3.tgz_1510545491613_0.30653698672540486"},"directories":{}},"0.0.4":{"name":"webpack-synchronizable-shell-plugin","version":"0.0.4","description":"Run shell commands before and after webpack builds","main":"lib/index.js","scripts":{"test":"webpack","test:dev":"webpack-dev-server --progress","build":"rollup -c","webpack":"webpack --progress","webpack-dev-server":"webpack-dev-server --progress","lint":"eslint src/webpack-shell-plugin.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"license":"MIT","homepage":"https://github.com/Feiyang1/webpack-shell-plugin","devDependencies":{"babel-core":"^6.7.6","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-es2015-rollup":"^1.1.1","css-loader":"^0.23.1","eslint":"^2.7.0","rollup":"^0.25.8","rollup-plugin-babel":"^2.4.0","style-loader":"^0.13.1","webpack":"^1.13.1"},"gitHead":"f4ea626fb707a2617d7a1b3144ad3c52228c8afc","_id":"webpack-synchronizable-shell-plugin@0.0.4","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"},"dist":{"integrity":"sha512-2wO1bn4woBkvSs7fZpHLL03gviX6uePuzWWNj3EUu30YRtFGLqJ4ML9U5wuIY0ax4ThEtCX1WW80Ykf09xrEVw==","shasum":"67b77868d903052b11ee36603fead58165a251f3","tarball":"https://registry.npmjs.org/webpack-synchronizable-shell-plugin/-/webpack-synchronizable-shell-plugin-0.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0s+O1xG21uPOBCiDvRF123azUbxY5WPA+FfPc5yHzLQIhAIhqVwypCel3RUfALlID1nTyPOmverE4n8Bk5rDTXW7J"}]},"maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-synchronizable-shell-plugin-0.0.4.tgz_1511041182639_0.29978464054875076"},"directories":{}},"0.0.5":{"name":"webpack-synchronizable-shell-plugin","version":"0.0.5","description":"Run shell commands before and after webpack builds","main":"lib/index.js","scripts":{"test":"webpack","test:dev":"webpack-dev-server --progress","build":"rollup -c","webpack":"webpack --progress","webpack-dev-server":"webpack-dev-server --progress","lint":"eslint src/webpack-shell-plugin.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"license":"MIT","homepage":"https://github.com/Feiyang1/webpack-shell-plugin","dependencies":{"babel-polyfill":"^6.26.0"},"devDependencies":{"babel-core":"^6.7.6","babel-preset-env":"^1.6.1","babel-preset-es2015-rollup":"^1.1.1","css-loader":"^0.23.1","eslint":"^2.7.0","rollup":"^0.25.8","rollup-plugin-babel":"^2.4.0","style-loader":"^0.13.1","webpack":"^1.13.1"},"gitHead":"f002297f44ea2f8b479619123f7048f9f1ddca85","_id":"webpack-synchronizable-shell-plugin@0.0.5","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"},"dist":{"integrity":"sha512-J93XwXf3W/TKocxi1RdISX75qa+yFGfWgz5/nkZ9VZ6kxvZxYCV8ehuz7IM+UTLMitLGqJrI8QtzXNObUFXpKw==","shasum":"a1056c95e69fb4227ad4b22fa8e53de786dd4da2","tarball":"https://registry.npmjs.org/webpack-synchronizable-shell-plugin/-/webpack-synchronizable-shell-plugin-0.0.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA69mV17uaTdp+uY4HlyDXp0XrnuA2gplEND9XS2z70gAiEAoDNKiVxT+by/2wxlMkkwb9yxypCqLjrfyR6il2+g73U="}]},"maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-synchronizable-shell-plugin-0.0.5.tgz_1511041613925_0.7319808022584766"},"directories":{}},"0.0.6":{"name":"webpack-synchronizable-shell-plugin","version":"0.0.6","description":"Run shell commands before and after webpack builds","main":"lib/index.js","scripts":{"test":"webpack","test:dev":"webpack-dev-server --progress","build":"rollup -c","webpack":"webpack --progress","webpack-dev-server":"webpack-dev-server --progress","lint":"eslint src/webpack-shell-plugin.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"license":"MIT","homepage":"https://github.com/Feiyang1/webpack-shell-plugin","dependencies":{"babel-polyfill":"^6.26.0"},"devDependencies":{"babel-core":"^6.7.6","babel-preset-env":"^1.6.1","babel-preset-es2015-rollup":"^1.1.1","css-loader":"^0.23.1","eslint":"^2.7.0","rollup":"^0.25.8","rollup-plugin-babel":"^2.4.0","style-loader":"^0.13.1","webpack":"^1.13.1"},"gitHead":"ede1654bce59dea487cc6df3650bc0e627e119d7","_id":"webpack-synchronizable-shell-plugin@0.0.6","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"},"dist":{"integrity":"sha512-OtBaqomiUbitbY87CEQCMC7Yp/OA9CiXDXpSHMlykYOWEbTvEEDjNVH6tyS9pOtjzQznCuBz6oAmNAkeeSrQ7A==","shasum":"db64d83446c75f3f3131c2e03d99c1f5afc1aa00","tarball":"https://registry.npmjs.org/webpack-synchronizable-shell-plugin/-/webpack-synchronizable-shell-plugin-0.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGWmdZH7kP8+IASmJ/zLixbNWuVJIL8PQuE0VESnk6usAiBIhcLN8rWHVdDXQY5jVEXL4c8I8gQ3ZmLTXltkbDr/cQ=="}]},"maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-synchronizable-shell-plugin-0.0.6.tgz_1511042668378_0.7982774740085006"},"directories":{}},"0.0.7":{"name":"webpack-synchronizable-shell-plugin","version":"0.0.7","description":"Run shell commands before and after webpack builds","main":"lib/index.js","scripts":{"test":"webpack","test:dev":"webpack-dev-server --progress","build":"rollup -c","webpack":"webpack --progress","webpack-dev-server":"webpack-dev-server --progress","lint":"eslint src/webpack-shell-plugin.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"license":"MIT","homepage":"https://github.com/Feiyang1/webpack-shell-plugin","dependencies":{"babel-polyfill":"^6.26.0"},"devDependencies":{"babel-core":"^6.7.6","babel-preset-env":"^1.6.1","babel-preset-es2015-rollup":"^1.1.1","css-loader":"^0.23.1","eslint":"^2.7.0","rollup":"^0.25.8","rollup-plugin-babel":"^2.4.0","style-loader":"^0.13.1","webpack":"^1.13.1"},"gitHead":"f08b1cfb75e2eba63b0ba2775d277a0b7a44462a","_id":"webpack-synchronizable-shell-plugin@0.0.7","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"},"dist":{"integrity":"sha512-b1ZPHwkHR5+MDRLp9CbLxDaaTTcf4/tmxU+Tc6Z3lpv6krnIPv0doXfgBHkDthHUkwsURyO9fgRnJ/VxyFBEwQ==","shasum":"9fc85210996f01d0eb13e200cde1ded4fef8b528","tarball":"https://registry.npmjs.org/webpack-synchronizable-shell-plugin/-/webpack-synchronizable-shell-plugin-0.0.7.tgz","fileCount":16,"unpackedSize":29600,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXcua+ueGCBOvtY36Lrx9+/Qt8/flIaDi3a/ChJ1oonAiAqM/A8RHeKa0WC+CvNB08hK+2JTBZA4X/1lj9n2lgJag=="}]},"maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-synchronizable-shell-plugin_0.0.7_1519878506333_0.11484197860593026"},"_hasShrinkwrap":false}},"readme":"# Webpack Synchronizable Shell Plugin\r\nThis plugin is a fork of [webpack-shell-plugin](https://github.com/1337programming/webpack-shell-plugin).\r\n\r\nIt differs from [webpack-shell-plugin](https://github.com/1337programming/webpack-shell-plugin) by allowing user to customize script execution order. For example, we can specify that webpack should block until user's precompile scripts finish executing. Another example is we can execute scripts in the order in which they are specified, or we can execute them in parallel. \r\n\r\nThe point of this plugin is to give users freedom in choosing how scripts are executed.\r\n\r\n## Installation\r\n\r\n`npm install --save-dev webpack-synchronizable-shell-plugin`\r\n\r\n## Setup\r\nIn `webpack.config.js`:\r\n\r\n```js\r\nconst WebpackSynchronizableShellPlugin = require('webpack-synchronizable-shell-plugin');\r\n\r\nmodule.exports = {\r\n  ...\r\n  ...\r\n  plugins: [\r\n    new WebpackSynchronizableShellPlugin({\r\n      onBuildStart:{\r\n        scripts: ['echo \"Webpack Start\"'],\r\n        blocking: true,\r\n        parallel: false\r\n      }, \r\n      onBuildEnd:{\r\n        scripts: ['echo \"Webpack End\"'],\r\n        blocking: false,\r\n        parallel: true\r\n      }\r\n  })],\r\n  ...\r\n}\r\n```\r\n\r\n### API\r\n* `onBuildStart`: configuration object for scripts that execute before a compilation. \r\n**Default:**\r\n```js\r\n  {\r\n    scripts: [],\r\n    blocking: false,\r\n    parallel: false\r\n  }\r\n```\r\n* `onBuildEnd`: configuration object for scripts that execute after files are emitted at the end of the compilation. \r\n**Default:**\r\n```js\r\n  {\r\n    scripts: [],\r\n    blocking: false,\r\n    parallel: false\r\n  }\r\n```\r\n* `onBuildExit`: configuration object for scripts that execute after webpack's process is complete. *Note: this event also fires in `webpack --watch` when webpack has finished updating the bundle.*\r\n**Default:**\r\n```js\r\n  {\r\n    scripts: [],\r\n    blocking: false,\r\n    parallel: false\r\n  }\r\n```\r\n* `blocking (onBuildStart, onBuildEnd, onBuildExit)`: block webpack until scripts finish execution.\r\n* `parallel (onBuildStart, onBuildEnd, onBuildExit)`: execute scripts in parallel, otherwise execute scripts in the order in which they are specified in the scripts array.\r\n\r\n**Note:** below combination is not supported.\r\n ```js\r\n  {\r\n    blocking: true\r\n    parallel: true\r\n  } \r\n ```\r\n\r\n* `dev`: switch for development environments. This causes scripts to execute once. Useful for running HMR on webpack-dev-server or webpack watch mode. **Default: true**\r\n* `safe`: switches script execution process from spawn to exec. If running into problems with spawn, turn this setting on. **Default: false**\r\n* `verbose`: **DEPRECATED** enable for verbose output. **Default: false**\r\n","maintainers":[{"name":"feiyang.chen","email":"feiyang.chen1@gmail.com"}],"time":{"modified":"2022-05-24T07:36:37.927Z","created":"2017-11-06T04:15:28.449Z","0.0.1":"2017-11-06T04:15:28.449Z","0.0.2":"2017-11-13T03:45:58.538Z","0.0.3":"2017-11-13T03:58:13.028Z","0.0.4":"2017-11-18T21:39:42.738Z","0.0.5":"2017-11-18T21:46:55.451Z","0.0.6":"2017-11-18T22:04:29.256Z","0.0.7":"2018-03-01T04:28:26.541Z"},"homepage":"https://github.com/Feiyang1/webpack-shell-plugin","keywords":["webpack","shell","plugin","shell","serve","hmr","browser","script","opie","manion"],"repository":{"type":"git","url":"git+https://github.com/Feiyang1/webpack-shell-plugin.git"},"license":"MIT","readmeFilename":"README.md","users":{"castwide":true}}