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

@timkendrick/skivvy-package-react-app

v0.1.3

Published

ESLint/Mocha/ES6/JSX/Browserify/Stylus app tasks

Downloads

4

Readme

Skivvy package: @timkendrick/react-app

npm version Stability Build Status

ESLint/Mocha/ES6/JSX/Browserify/Stylus app tasks

Installation

skivvy install @timkendrick/react-app

Overview

This package allows you to perform ESLint/Mocha/ES6/JSX/Browserify/Stylus app tasks from within the Skivvy task runner.

Configuration settings:

| Name | Type | Required | Default | Description | | ---- | ---- | -------- | ------- | ----------- | | source | object | No | N/A | Paths to source files | | source.scripts | string | No | "src/scripts" | Path to JS source files | | source.styles | string | No | "src/styles" | Path to Stylus source files | | source.templates | string | No | "src/templates" | Path to HTML page templates folder | | source.assets | string | No | "src/assets" | Path to assets folder | | tests | string | No | "test" | Path to test root | | destination | string | No | "dist" | Path to destination root | | port | number | No | 3000 | Port to use for preview server | | debug | boolean | No | false | Whether to run the tasks in dev mode |

Included tasks

test

Lint source files and run unit tests

Usage:

skivvy run test

Configuration settings:

| Name | Type | Required | Default | Description | | ---- | ---- | -------- | ------- | ----------- | | scripts | string | No | "<%= package.source.scripts %>" | Path to JS source files | | tests | string | No | "<%= package.tests %>" | Path to test root | | mocha | string | No | "<%= package.tests %>/**/*.spec.js" | Path to Mocha specs |

build

Run the test task, clean destination folder, copy assets and compile source files

If the package's debug configuration setting is true, this task will watch for changes.

Usage:

skivvy run build

Configuration settings:

| Name | Type | Required | Default | Description | | ---- | ---- | -------- | ------- | ----------- | | source | object | No | N/A | Paths to source files | | source.scripts | string | No | "<%= package.source.scripts %>" | Path to JS source files | | source.js | string | No | "<%= package.source.scripts %>/index.js" | Path to JS entry point | | source.styles | string | No | "<%= package.source.styles %>" | Path to Stylus source files | | source.stylus | string | No | "<%= package.source.styles %>/index.styl" | Path to Stylus entry point | | source.assets | string | No | "<%= package.source.assets %>" | Path to assets folder | | source.index | string | No | "<%= package.source.templates %>/index.html" | Path to HTML page template | | destination.root | string | No | "<%= package.destination %>" | Path to destination root folder | | destination.index | string | No | "<%= package.destination %>/index.html" | Path to destination HTML file | | destination.js | string | No | "<%= package.destination %>/js/app.js" | Path to destination JS file | | destination.css | string | No | "<%= package.destination %>/css/app.css" | Path to destination CSS file |

serve

Run the build task and launch a preview server

Usage:

skivvy run serve

Configuration settings:

| Name | Type | Required | Default | Description | | ---- | ---- | -------- | ------- | ----------- | | root | string | No | "<%= package.destination %>" | Path to destination root | | port | number | No | "<%= package.port %>" | Port to use for preview server | | watch | boolean | No | "<%= package.debug %>" | Whether to reload on file changes |

create-app

Create a new app component

Usage:

skivvy run create-app

Configuration settings:

| Name | Type | Required | Default | Description | | ---- | ---- | -------- | ------- | ----------- | | name | string | No | N/A | App component name | | destination | string | No | "<%= package.source.scripts %>/apps" | Path to app components folder |

create-view

Create a new view component

Usage:

skivvy run create-view

Configuration settings:

| Name | Type | Required | Default | Description | | ---- | ---- | -------- | ------- | ----------- | | name | string | No | N/A | View component name | | destination | string | No | "<%= package.source.scripts %>/views" | Path to view components folder |

create-component

Create a new component

Usage:

skivvy run create-component

Configuration settings:

| Name | Type | Required | Default | Description | | ---- | ---- | -------- | ------- | ----------- | | name | string | No | N/A | Component name | | destination | string | No | "<%= package.source.scripts %>/components" | Components folder |