npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

oyanachan

v1.2.3

Published

The quick & easy way to compile basic website

Downloads

15

Readme

OyanaChan

The quick & easy way to compile basic website (js, scss, imgs, svg)

OyanaChan is a rebuild version of gulp-oyana.

OyanaChan is made for:

  • Node > 12
  • NPM > 6
  • Gulp > 4

If you have to used older teck please consider used gulp-oyana insted.

How to install

If you havent gulp.

  • Unix: sudo npm install gulp -g.
  • Windows: npm install gulp -g.

If you havent create your package.json yet.

  • npm init

Install

  • npm install oyanachan --save-dev.

How to use

In your gulpfile.js.

Use only the options you need!

	const oyana = require('oyanachan');

	oyana({
		'jsMinPath' : './public/js',
		'jsPath' : './resources/js',
		'jsName' : 'main.min',
		'cssPath' : './public/css',
		'scssPath' : './resources/scss',
		'outputStyle' : 'compressed',
		'imgMinPath' : './public/img',
		'imgPath' : './resources/img',
		'htmlMinPath' : './htmlMin',
		'htmlPath' : './html',
		'htmlPages' : {
			'index.html':[
				'html/head.inc.html',
				'html/header.inc.html',
				'html/home.inc.html',
				'html/footer.inc.html',
				'html/foot.inc.html'
			]
		},
		'proxyPath' : 'http://localhost'
	});

If you dont need js complation remove {jsMinPath, jsPath, jsName}. If you dont need scss complation remove {scssPath, cssPath, outputStyle}. If you dont need images complation remove {imgMinPath, imgPath}. If you dont need browser sync remove {proxyPath}. If you dont need browser sync remove {proxyPath}.

Command line:

| Command | Effect | Alias | |--------|-------|-------| | gulp js-compile | Compile all js from jsPath to jsMinPath. | gulp js, gulp jquery, gulp script | | gulp js-compile-silent | Compile all js from jsPath to jsMinPath without notification. | | | gulp scss-compile | Compile all scss from scssPath to cssPath in outputStyle.| gulp scss, gulp sass, gulp compass, | | gulp scss-compile-silent | Compile all scss from scssPath to cssPath in outputStyle without notification. | | | gulp html-compile | Compile all html, svg, html, plain text from htmlPath to htmlMinPath you have to customise the hiercht throuw htmlPages.| | | gulp html-compile-silent | Compile all html, svg, html, plain text from htmlPath to htmlMinPath you have to customise the hiercht throuw htmlPages without notification. | | | gulp img-minimize | Minimize all Images from imgPath to imgMinPath. | gulp img, gulp image, gulp images, gulp minimize | | gulp img-minimize-silent | Minimize all Images from imgPath to imgMinPath without notification. | | | gulp watch | Watch all scss, js, img and compile on update. | | | gulp watch-silent | Watch all scss, js, img and compile on update without notification. | | | gulp oyana | Compile all files then watch it. | gulp gulp oyanachan | | gulp oyana-silent | Compile all files then watch it without notification. | gulp * |

Any issue with SCSS compilation?

Gulp SASS common issues-and their fixes