GithubHelp home page GithubHelp logo

isabella232 / generator-jam3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from experience-monks/generator-jam3

0.0 0.0 0.0 1.41 MB

This is a generator for Jam3 projects

License: MIT License

JavaScript 92.07% HTML 2.80% CSS 0.09% PHP 5.04%

generator-jam3's Introduction

nyg-jam3

stable

Jam3 project scaffold based on nyg. Used to create the basic files needed for a Jam3 project.

Usage

NPM

The nyg generator is designed to function similar to yeoman. To get it running, simply follow these steps:

npm i nyg -g
npm i nyg-jam3 -g
cd your-project-directory
nyg nyg-jam3

You will then be prompted with a number of questions, which will define the project. The appropriate files will then be copied to the current directory and it will install all your needed dependencies. Congratulations, you are now setup with the basis of a Jam3 project.

Prompts

What is your name? (Author)
Default: (empty string)
A name used in the README.md, package.json and humans.txt.

What is your email? (Author Email)
Default: (empty string)
An email used in the package.json and humans.txt.

Describe the project:
Default: (empty string)
A brief description of the project that is used at the top of the README.md.

What is your git repository? (GitHub Repository)
Default: (empty string)
The git repository used for the project, used within the package.json.

What framework will your project use?"
Default: React
The framework that this project will be based on, all necessary files and modules will be downloaded to get you up and running with the selected framework. Currently supports React, Bigwheel, or None. In the case of None, source files won't be created, but all the common development scripts will still be setup.

Would you perfer ComponentName/ComponentName.js over ComponentName/index.js?
Default: false
Whether file names will follow the convention of [folder name]/[folder name].js or [folder name]/index.js.

Would you like to use ES6?
Default: true
Whether to use ES6 and babel transpilation. Sets up a .babelrc file and all necessary dependencies.

What css preprocessor will your project use?
Default: SCSS
Which css preprocessor should be setup on the project, defaults to SASS, but LESS is also an option.

Separate common npm modules into vendor.js?
Default: true
Whether to separate all npm modules into a separate vender.js file, limiting the bundle.js file to just custom code.

What backend language would you like to use?
Default: PHP
Whether to copy over backend libraries that aid development such as automatic meta tag generation.

Would you like to include an unsupported page?
Default: true
Whether to include automatic unsupported page redirection.

Choose the password to use for password protection. (leave blank to disable)
Default: (empty string)
If you want to enable password protection via .htaccess, simply type the password you would like to use and the .htaccess and .htpasswd files will be created.

Where on the server will your .htpasswd be located?
Default: /var/www
If you opted to add password protection, this will need to be set to the location of the .htpasswd file in your production environment.

License

MIT, see LICENSE.md for details.

generator-jam3's People

Contributors

njam3 avatar namniak avatar iranreyes avatar jephuff avatar wongbsn avatar neo avatar mattdesl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.