Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamj/rhd-frontend-pattern.library
A pattern library for the rhd-frontend repo
https://github.com/adamj/rhd-frontend-pattern.library
Last synced: 23 days ago
JSON representation
A pattern library for the rhd-frontend repo
- Host: GitHub
- URL: https://github.com/adamj/rhd-frontend-pattern.library
- Owner: AdamJ
- License: apache-2.0
- Created: 2019-11-04T13:17:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T19:09:30.000Z (about 2 years ago)
- Last Synced: 2024-10-31T10:44:08.118Z (2 months ago)
- Language: CSS
- Size: 1.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RHD Frontend Pattern Library
This is a test repo for the rhd-frontend project, delivered as an installable package on GitHub.
## Build process
```bash
npm install
gulp build
```- `npm install`: install dependencies
- `gulp build`: builds the distributable code. Copies content from various locations into the `/dist` folder and includes the following:
- package.json
- README.md
- css/rhd-theme/rhd-theme.css### Additional build commands
- `gulp`: executes the CSS build command
- `gulp css`: the CSS build command. Runs the `.scss` code through autoprefixer, injects the package.json banner into the top of the file, creates a sourcemap, and drops folder into the appropriate location under the `./css` directory.
- `gulp copy-source`: Copy build files into the `./dist` directory. Runs the `clean-dist` command first to ensure that only the latest content is included.
- `gulp build`: Copy the files to the /dist location, running and completing the CSS build first.## Requirements
To build this package locally (not accepting the prebuilt files we provide), you will need to have Node v10 and NPM v6.12 installed.