Socket
Book a DemoInstallSign in
Socket

camperjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camperjs

Starter Kit for React Apps

0.0.7
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

CamperJS

Build Status

Installation

Add npm registry

npm set registry http://npm.vernacular.ai
$ [sudo] npm install -g camperjs

Quick Start

The quickest way to get started with camperjs is to utilize the executable camper to generate an application as shown below:

Create the app:

$ camper myapp

   create : myapp
   create : myapp/package.json
   create : myapp/.babelrc
   create : myapp/.editorconfig
   create : myapp/.eslintrc.json
   create : myapp/.flowconfig
   create : myapp/webpack.config.babel.js
   create : myapp/src
   create : myapp/src/client
   create : myapp/src/client/app.jsx
   create : myapp/src/client/index.jsx
   create : myapp/src/server
   create : myapp/src/server/app.js
   create : myapp/src/server/index.js
   create : myapp/src/shared
   create : myapp/src/shared/config.js
   create : myapp/src/shared/util.js
   create : myapp/src/client/action
   create : myapp/src/client/action/hello.js
   create : myapp/src/client/reducer
   create : myapp/src/client/reducer/hello.js

   install dependencies:
     $ cd myapp && yarn install

   run the app:
     $ DEBUG=myapp:* yarn start


Install dependencies:

$ yarn install

Start your app at http://localhost:8000/:

$ yarn start

File Structure

myapp
|
|____src
|      |
|      |____client
|      |    |____app.jsx
|      |    |____index.jsx
|      |
|      |____server
|      |    |____app.js
|      |    |___index.js
|      |
|      |____shared
|           |___home.js
|           |___util.js
|           |___action
|           |   |___hello.js
|           |___reducer
|               |___hello.js
|
|_____.babelrc
|
|_____.editorconfig
|
|_____.eslintrc.json
|
|_____.flowconfig
|
|_____webpack.config.babel.js
|
|_____package.json

Command Line Options

This generator can also be further configured with the following command line flags.


  Usage: camper [options] [dir]

  Options:

    -h, --help     output usage information
        --version  output the version number
    -f, --force    force on non-empty directory

License

MIT

FAQs

Package last updated on 19 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.