Giter VIP home page Giter VIP logo

lionels-legacy's Introduction

Lionel's Legacy

Developers

Setup

Register the shared Git configuration file (.gitconfig):

git config --local include.path ../.gitconfig

Install PNPM:

curl -fsSL https://get.pnpm.io/install.sh | sh -

Install Node dependencies, including the requisite version of Node if necessary (defined in .npmrc):

pnpm install

Environment

Ensure that any essential environment variables are defined (consult .env.development).

For sensitive environment variables or ones that should otherwise not be committed, use a .local file, e.g. .env.development.local.

When adding a dependency upon a new environment variable, be sure to update the .env.development and .env.production files in order to document it.

Any environment variable whose name is prefixed with VITE_ will be exposed to the Vite processed code.

Compile and Start a Development Server with Hot-Reloading

pnpm dev

Compile and Minify for Production

pnpm build

Locally Preview Latest Production Build

pnpm preview

Be sure to run pnpm build first.

Deploy (to Github Pages)

Push to main branch to trigger a deployment to Github Pages via a Github Action/workflow:

git push origin main

To deploy manually (not recommended):

pnpm deploy

Lint with ESLint and Stylelint

pnpm lint

Or fix lints:

pnpm lint:fix

For more targetted linting, the following are also available:

pnpm lint:js
pnpm lint:js:fix
pnpm lint:css
pnpm lint:css:fix

Format with Prettier

pnpm format

Or fix formatting issues:

pnpm format:fix

Spellcheck with CSpell

pnpm spelling

Or launch an interactive script to add unrecognised words to the list of ignoreWords in cspell.config.yaml:

pnpm spelling:fix

Other Notable Tools

lionels-legacy's People

Contributors

al avatar dependabot[bot] avatar

Watchers

 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.