1.0.10 • Published 5 years ago

basic-boilerplate-parcel.js v1.0.10

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

basic-boilerplate-parcel.js

This library helps you to create a setup for modern web development uisng Parcel. Creates for you the next folder structure:

.
├── .browserslistrc
├── .postcssrc
├── .gitignore.new
├── package.json.bak
├── package.json.new
└── src
    ├── css
    │   ├── components
    │   │   ├── _button.scss
    │   │   ├── _carousel.scss
    │   │   ├── _cover.scss
    │   │   └── _pagination.scss
    │   ├── helpers
    │   │   ├── _functions.scss
    │   │   ├── _mixins.scss
    │   │   ├── _reset.scss
    │   │   └── _variables.scss
    │   ├── layout
    │   │   ├── _footer.scss
    │   │   ├── _grid.scss
    │   │   └── _header.scss
    │   ├── main.scss
    │   └── pages
    │       ├── _contact.scss
    │       └── _home.scss
    ├── img
    ├── index.html
    └── js
        ├── main.js
        └── typoUtil.js

This package is going to accelerate your experiments by adding dependencies to your package.json with some js libraries and creating a basic folder structure to start working with Parcel. Also helps you with SASS and PostCSS.

Just start coding at your index.html file with all the dependencies ready for js and css

Setup

Adding the library as dev dependency after creating your project directory

$ mkdir <your-project-directory>
$ cd  <your-project-directory>
$ yarn init -y
$ yarn add --dev basic-boilerplate-parcel.js

Running

$ node node_modules/basic-boilerplate-parcel.js/basicBoilerplateSetup.js 

Then you can use the package.json.new with all the dependencies replacing your original package file. Then execute:

$ yarn install
$ yarn dev

JS Libraries included

  • @fortawesome/fontawesome-free
  • handlebars
  • normalize.css
  • typography
  • typography-theme-moraga
  • moment.js

JS Development Libraries included

  • autoprefixer
  • eslint
  • parcel-bundler
  • postcss-modules
  • sass
  • stylelint

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ByteDecoder/basic-boilerplate-parcel.js.

Copyright (c) 2019 Rodrigo Reyes released under the MIT license

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago