Giter Club home page Giter Club logo

starter-web's Introduction

Starter-Web

License Last Commit Open Issues

A starter template for web projects


Requirements

  • Node.js (LTS or newer).
  • NPM (comes included with Node.js) or Yarn.

Quick Start

$ cd ~/dev/
$ npx degit astraloverflow/starter-web#2023.4.28 my-new-website
$ cd my-new-website
$ npm install
$ npm run dev

NPM Scripts

npm run test

  • Runs stylelint (see .stylelintrc.js) and eslint (see .eslintrc.js) to check files for syntax and coding style errors.
  • Runs tsc --noEmit to check typescript types and compliation errors

npm run format

  • Runs Prettier to format all code to the same style. See Prettier website for full list of supported languages. Best used with the Prettier plugin for your chosen editor.

npm run dev

  • Runs Parcel in development mode and runs a development server.

npm run prod

  • Runs Parcel in production mode and builds the project.

LICENSE

Unless you want to release your project into the public domain via CC0 (which this project does), you should replace the contents of LICENSE with a license of your choosing (MIT, BSD, GPL, etc.)


.gitignore

Inside of .gitignore you will find the following

# These files lock down the project's node dependencies
# These are only here for the development of starter-web
# You should remove whichever one you are using in your project
package-lock.json
yarn.lock

As the comment in the file says, you should remove one of those two lines if you want to use the "version locking" features of either one, especially if you are developing with other people or on multiple computers/servers or are using a CI.


Package.json

It is highly recommended that you customize package.json with the details of your project, mainly the following fields:

{
  // Prevents your project from unintentionally being published to NPM.
  "private": true,
  // SPDX license identifier for your project's license.
  // The list of SPDX license identifiers can be found here: https://spdx.org/licenses/
  "license": "",
  // Your project's version number, as seen by NPM.
  "version": "0.0.0",
  // Your project's name, as seen by NPM. See NPM docs for allowed characters.
  "name": "starter-web",
  // Your project's description, as seen by NPM. Can be left blank.
  "description": "",
  // URL to your project's code repository.
  // If hosted on GitHub you can use the shorthand "user/repo"
  "repository": ""
}

starter-web's People

Contributors

astraloverflow avatar

Watchers

James Cloos avatar  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.