sinclairzx81 / hammer Goto Github PK
View Code? Open in Web Editor NEWBuild Tool for Browser and Node Applications
License: MIT License
Build Tool for Browser and Node Applications
License: MIT License
In a near future, it would be nice to see a comparison among Hammer and other build tools, like bundless is doing. Maybe a fork that could cover the corresponding commands in Hammer.
Hi,
first of all - thanks for Hammer! I am using it on MacOSX and Linux with no problem.
On Win10 it fails with this error message:
node:events:504
throw er; // Unhandled 'error' event
^
Error: spawn mkdir ENOENT
Any idea why that is and how to run it properly?
Thanks, Dirk
Hello @sinclairzx81, thanks for such a useful tool. Amazing job!
It would be very useful if Hammer could offer support for PWA, detecting a manifest file (.webmanifest
/.json
) and transforming icons and other resources. Parcel lacks a good support for PWA (plug-ins are needed).
Would be cool if Hammer exposed a public API for writing custom build chains (for example a dev server)
Trying to use Hammer on a UNIX system (macOS Monterey) throws this error:
$ hammer
env: node\r: No such file or directory
The CRLF line endings cause env
to be unable to find node
, instead it strips the \n
character but leaves the \r
.
See https://stackoverflow.com/questions/29045140/env-bash-r-no-such-file-or-directory.
The fix appears to be as easy as using LF line endings instead of CRLF.
The same issue exists in Smoke-Task.
You hummer is cool! I can run node script with any module types without configure. I'm happy with it.
But I can not just run script. I use command hammer run my-script.js
and hammer activate watch directory. I'm not want watch. I just run once. I use ctrl-c for any running my scripts.
How can I run script once? May be hammer has option for it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.