/searchthesourcecode.com

Front end for searchthesourcecode

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

searchthesourcecode.com

This site is built with Eleventy using the following stack:


Developing locally

Install dependencies

npm install

Run the site locally

npm run dev

Commands

Development

  • npm run webpack:dev: Compiles Tailwind CSS and Typescript in development mode and listens for changes to CSS and TypeScript files
  • npm run eleventy:dev: Spins up local environment of eleventy and listens for changes to Nunjucks files and other assets
  • npm run dev: Concurrently runs webpack:dev and eleventy:dev to spin up local environment

Production

  • npm run webpack:prod: Compiles Tailwind CSS and Typescript ready for production
  • npm run eleventy:prod: Compiles Nunjucks files ready for production
  • npm run build: Command used to run webpack:prod and eleventy:prod