Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install runs prepublish #217

Closed
sudo-suhas opened this issue Jul 26, 2017 · 0 comments
Closed

npm install runs prepublish #217

sudo-suhas opened this issue Jul 26, 2017 · 0 comments

Comments

@sudo-suhas
Copy link
Contributor

This only affects people looking to contribute to the project. If I try npm install, the following happens:

λ npm install
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead

> node-sass@4.5.3 install E:\Projects\repos\depcheck\node_modules\node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-57_binding.node
Download complete  ] - :
Binary saved to E:\Projects\repos\depcheck\node_modules\node-sass\vendor\win32-x64-57\binding.node
Caching binary to C:\Users\suhas.karanth\AppData\Roaming\npm-cache\node-sass\4.5.3\win32-x64-57_binding.node

> node-sass@4.5.3 postinstall E:\Projects\repos\depcheck\node_modules\node-sass
> node scripts/build.js

Binary found at E:\Projects\repos\depcheck\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

> depcheck@0.0.1 prepublish E:\Projects\repos\depcheck
> npm run compile && npm run component


> depcheck@0.0.1 compile E:\Projects\repos\depcheck
> babel src/ -d dist/

src\check.js -> dist\check.js
src\cli.js -> dist\cli.js
src\constants.js -> dist\constants.js
src\detector\gruntLoadTaskCallExpression.js -> dist\detector\gruntLoadTaskCallExpression.js
src\detector\importDeclaration.js -> dist\detector\importDeclaration.js
src\detector\requireCallExpression.js -> dist\detector\requireCallExpression.js
src\detector\requireResolveCallExpression.js -> dist\detector\requireResolveCallExpression.js
src\index.js -> dist\index.js
src\parser\coffee.js -> dist\parser\coffee.js
src\parser\es6.js -> dist\parser\es6.js
src\parser\es7.js -> dist\parser\es7.js
src\parser\jsx.js -> dist\parser\jsx.js
src\parser\sass.js -> dist\parser\sass.js
src\parser\typescript.js -> dist\parser\typescript.js
src\special\babel.js -> dist\special\babel.js
src\special\bin.js -> dist\special\bin.js
src\special\commitizen.js -> dist\special\commitizen.js
src\special\eslint.js -> dist\special\eslint.js
src\special\feross-standard.js -> dist\special\feross-standard.js
src\special\gulp-load-plugins.js -> dist\special\gulp-load-plugins.js
src\special\mocha.js -> dist\special\mocha.js
src\special\webpack.js -> dist\special\webpack.js
src\utils\get-scripts.js -> dist\utils\get-scripts.js
src\utils\index.js -> dist\utils\index.js

> depcheck@0.0.1 component E:\Projects\repos\depcheck
> babel-node ./build/component.js > ./dist/component.json

yarn install also runs the prepublish script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant