Scaffolds out HTML5 Boilerplate
$ npm install --global generator-h5bp
Run it with yo
:
$ yo h5bp
You might also find the Server Configs generator useful.
MIT © Sindre Sorhus
Archived!
Home Page: https://html5boilerplate.com
License: MIT License
Scaffolds out HTML5 Boilerplate
$ npm install --global generator-h5bp
Run it with yo
:
$ yo h5bp
You might also find the Server Configs generator useful.
MIT © Sindre Sorhus
Lemme know if anyone has any objections!
I've been trying to get this to run on windows for the past hour-- after i run yo h5bp
it prompts me for if i want docs, and regardless of any input i give it it exits gracefully but generates nothing.
Any ideas?
Is there any progress towards updating this to match the latest H5BP release? What can I do to help? (I haven’t worked on generators, but willing to pitch in).
is there a way to automate this to get always latest h5bp?
svgo-grunt is compatible with Grunt 0.4 (see https://github.com/svg/svgo-grunt/commit/aa3c25ebd334afbe3ce9756a121ed712f6381092) but it doesn't appear to be updated on npm: https://npmjs.org/package/svgo-grunt
I believe yeoman/generator-webapp also scaffolds html5-boilerplate framework.
Is this project going to be different than the above? If yes then based on what factors?
I am kind of caught in two minds as to which yeoman generator to use. Generator-webapp is great but it is not well-updated with the changes in the html5boilerplate framework.
If this project is going to be in sync with the main framework, then there is nothing like this then!
I've got: node: v0.10.5
, npm: 1.2.18
, have installed yeoman, and npm install -g generator-h5bp
. I get several WARN
lines when installing that reference something like:
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.5","npm":"1.2.18"})
When I run yo h5bp
it asks if I want to install docs, then immediately returns the prompt. Is this user error (I’m fairly new to the whole Yeoman + Grunt + Bower workflow), a version incompatibility, or something else? Should the generator return any error output?
Hello. Wouldn’t it be nice to add a Gruntfile.js and package.json so that the generated h5bp is ready for live-reload, sass, and building out of the box?
We're still using some deprecated methods.
(!) #expandFiles() is deprecated. Use the glob module.
(!) #expand() is deprecated. Use the glob module.
Also we should update the generator to use the new fs
methods introduced in the 0.18 release.
Suggest to add ability for choosing which server config file user want to include.
Make it as a question in prompt... Is it make sense for you?
@sindresorhus @arthurvr
It looks like the icon sizes have changed as of iOS7. Not sure what the best way to handle this would be, but I'll start off by putting an issue in here.
I'm looking at this stackoverflow post which says the dimensions have changed.
I like having a generator that just scaffolds h5bp for me, but some ideas:
.htaccess
. Why not make it an option (list) to choose other configs?main.css
. Why not to make it optional?yo h5bp
. why oh why?Yeoman provides all this power, why not to use it @sindresorhus?
It would be great to use the Grunt watch task aside with H5BP, when developing with the generator
Whenever I run "yo h5bp" I get:
/usr/local/lib/node_modules/generator-h5bp/app/index.js:4
var cb = this.async();
^
TypeError: Object [object Object] has no method 'async'
at new module.exports (/usr/local/lib/node_modules/generator-h5bp/app/index.js:4:16)
at Environment.create (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/env/index.js:325:10)
at Environment.run (/usr/local/lib/node_modules/yo/node_modules/yeoman-generator/lib/env/index.js:361:24)
at init (/usr/local/lib/node_modules/yo/bin/yo:98:7)
at pre (/usr/local/lib/node_modules/yo/bin/yo:110:3)
at Object. (/usr/local/lib/node_modules/yo/bin/yo:135:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Driving me a little nuts. Is there any way I can isolate the problem?
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.