Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:npm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
development:npm [2023/04/20 15:00] – demiankatz | development:npm [2023/05/01 17:01] (current) – demiankatz | ||
---|---|---|---|
Line 5: | Line 5: | ||
To setup NPM to run, first install node and run "npm install" | To setup NPM to run, first install node and run "npm install" | ||
- | ===== npm run build:css ===== | + | ===== Build Tasks ===== |
+ | |||
+ | These tasks build artifacts in the themes through a one-time action. | ||
+ | |||
+ | ==== npm run build ==== | ||
+ | |||
+ | Generates any artifacts that require pre-processing inside all available themes. As of this writing, this is an alias for '' | ||
+ | |||
+ | ==== npm run build: | ||
Generates any CSS files that require pre-processing inside all available themes. As of this writing, this is an alias for '' | Generates any CSS files that require pre-processing inside all available themes. As of this writing, this is an alias for '' | ||
- | ===== npm run build: | + | ==== npm run build:less ==== |
:!: Using "npm run build: | :!: Using "npm run build: | ||
Line 19: | Line 27: | ||
< | < | ||
- | ===== npm run build: | + | ==== npm run build:scss ==== |
Compiles all sass files into a compressed css file. This script will detect themes inside of your themes directory and build the proper paths for you. | Compiles all sass files into a compressed css file. This script will detect themes inside of your themes directory and build the proper paths for you. | ||
Line 25: | Line 33: | ||
< | < | ||
- | ===== npm run lessToSass ===== | + | ==== npm run lessToSass |
+ | |||
+ | Converts all less files to sass. Mostly for the VuFind® dev team. | ||
+ | |||
+ | ===== Development Build Tasks ===== | ||
+ | |||
+ | These tasks are equivalent to the similarly-named build tasks above, but they produce development-mode artifacts that allow more detailed debugging. | ||
+ | |||
+ | * build-dev | ||
+ | * build-dev: | ||
+ | * build-dev: | ||
+ | |||
+ | ===== Watch Tasks ===== | ||
- | Converts all less files to sass. Mostly for the VuFind® dev team. By default does bootstrap3 and bootprint3. | + | These tasks run a monitoring process |
+ | * watch | ||
+ | * watch:css | ||
+ | * watch:less | ||
+ | * watch: | ||
+ | * watch-dev | ||
+ | * watch-dev: | ||
+ | * watch-dev: | ||
---- struct data ---- | ---- struct data ---- | ||
properties.Page Owner : | properties.Page Owner : | ||
---- | ---- | ||
development/npm.txt · Last modified: 2023/05/01 17:01 by demiankatz