Remove Makefile, put everything in npm scripts
See original GitHub issuemake
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:
- Created 8 years ago
- Comments:19 (12 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.closed via #981