middlebury / midd-frontend
Middlebury College's theme assets.
Installs: 5 499
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 81
Language:Twig
Type:drupal-library
- dev-master
- 4.2.6
- 4.2.5
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.0.1
- 2.0.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.1
- v1.1.0
- 1.0.5-alpha2
- 1.0.5-alpha1
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- v0.0.2
- dev-master-dist
- dev-curriculum-update
- dev-app-theme
- dev-wrmc-template-updates
- dev-dependency-update-4-25
- dev-basic-components
- dev-a11y-updates-v5
- dev-curriculum-table
- dev-quad-story-spacing
- dev-miis-curr-table
- dev-expandable-table
- dev-npm-scripts
- dev-course-catalog
- dev-dart-sass-update
- dev-media-component
- dev-library-search-widget
- dev-aaron-vercel-test
- dev-541-footer-landmarks
- dev-560-pdf-links
This package is auto-updated.
Last update: 2025-04-28 23:36:16 UTC
README
Frontend code for middlebury_theme
Requirements
- Node ^18.13.0
To check if you already have node installed, open terminal and use the following command:
node -v
Getting started
Clone the repo to a local machine, using your preferred method.
SAW is not used to work in this repo due to conflict with SAW and how node works.
Open terminal and change directory into the cloned local repo.
Install node modules:
npm install
You may be asked to fix dependencies, go ahead and do that.
Development
Run local browser sync server and watch files:
npm start
Build for production
npm run build
Changing output path
For development on saw.middlebury.edu
, you can build assets to a desired Drupal theme directory by creating an .env
file in the root directory of this repo.
THEME_DIR="../your/path/to/d8/web/themes/custom/middlebury_theme/"
Now when you run npm run build
or npm run dev
, assets will be output to that directory.