bryant-the-coder / generator-html-scss-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-html-scss-js

  • This is for anyone who wanna use this for web development
  • This package includes languages such as scss, js and html

Request

Please help me in solving this problem. The problem is that when I or you install the generator. No package-lock.json is being installed. If anyone out there in the community can help, please make a pull request or an issue in the repository. Thanks in advance. πŸ˜…

Installation

First, install Yeoman and generator-html-scss-js using npm (I assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-html-scss-js

Install yo a time only

Then generate a new project in your respective directory:

yo html-scss-js

Folder structure

generator-html-scss-js
β”œβ”€ .editorconfig
β”œβ”€ .eslintignore
β”œβ”€ .git
β”œβ”€ .gitattributes
β”œβ”€ .gitignore
β”œβ”€ .travis.yml
β”œβ”€ generators
β”‚  └─ app
β”‚     β”œβ”€ index.js                   Main process happend
β”‚     └─ templates
β”‚        β”œβ”€ .gitignore
β”‚        β”œβ”€ app
β”‚        β”‚  β”œβ”€ js
β”‚        β”‚  β”‚  └─ script.js
β”‚        β”‚  └─ scss
β”‚        β”‚     β”œβ”€ style.scss
β”‚        β”‚     └─ _variables.scss
β”‚        β”œβ”€ gulpfile.js             Compile scss-css, copy files to their own dir
β”‚        β”œβ”€ index.html
β”‚        β”œβ”€ package-lock.json
β”‚        β”œβ”€ package.json
β”‚        └─ _gitignore
β”œβ”€ LICENSE
β”œβ”€ package-lock.json
β”œβ”€ package.json
β”œβ”€ README.md
└─ __tests__
   └─ app.js

Friendly Reminder

  • If you want to update to a newer version, please check the github repo to check whether are there any problems.
  • Please update the package every month. Run npm update generator-html-scss-js -g
  • If you encounter any issue, please file an issue at the repo :)
  • Pull request is always welcome :D

About

License:Other


Languages

Language:JavaScript 81.8%Language:HTML 17.7%Language:SCSS 0.4%