question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove Makefile, put everything in npm scripts

See original GitHub issue

make is not available on Windows. NPM scripts however can run anywhere. Makefiles are also unnecessarily complicated for something simple as running mocha or eslint with a few options. Also, in npm scripts, you don’t have to specify the path of the binary. @stojanovic looking forward to your PR

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
jonathanongcommented, May 14, 2016

who’s for and against this? my personal opinion: we should use npm scripts for wider compat, but not at the expense of having an unmanageable package.scripts object.

0reactions
dead-horsecommented, May 11, 2017

closed via #981

Read more comments on GitHub >

github_iconTop Results From Across the Web

A makefile recipe runs every time even when target is more ...
1 Answer 1 ; Run make for the first time. Rule is not skipped. mtime(node_modules) > mtime(package.json) . ; Run make again. Rule...
Read more >
Why I Prefer Makefiles Over package.json Scripts - Atomic Spin
Does your package.json file have a large scripts section? If you have more than a handful of extremely simple npm scripts, try Makefiles....
Read more >
Allow to run node_modules binaries from makefile builder
Description: When I try to execute scripts from locally npm packages the makefile builder fails Steps to reproduce: create a template ...
Read more >
Simple build tools: npm scripts vs Makefile vs runjs
Simple build tools. We have 3 candidates: npm scripts, Makefile and runjs. All of those are based on command line scripting. You don't...
Read more >
make
The package.json file can have a "make" field (removed when merged with package.json), with the following properties: "scripts" - Similar to npm ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found