webandco / neos-gulp
Gulp support for Neos projects with multi domain and browsersync support
Installs: 270
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 13
Language:JavaScript
Type:neos-build
Requires
- neos/composer-plugin: ^1.0.6|^2.0.0
- dev-master
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.0
- 0.0.1
- dev-dependabot/npm_and_yarn/json5-2.2.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/engine.io-and-browser-sync-6.2.1
- dev-dependabot/npm_and_yarn/socket.io-parser-3.3.3
- dev-dependabot/npm_and_yarn/terser-5.14.2
- dev-dependabot/npm_and_yarn/copy-props-2.0.5
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/nanoid-3.2.0
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-7.4.6
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/underscore-1.13.1
This package is auto-updated.
Last update: 2024-12-07 09:07:03 UTC
README
This package aims to be one of many solutions to tackle theming in Neos CMS. We love BEM, that's why we wanted to have theme packages with self contained fusion components (fusion, js, css) and a corresponding build process for that.
WARNING: This package is work in process!
What does it do?
Basically it iterates through your site packages and generates js and css dist files configured in several Gulp.yaml files.
Hint: The loading order of the package components is not relevant as long as you stick to the BEM pattern.
Install
After the installation, change to the directory ./Build/Gulp
and run npm install
.
Gulp.yaml
In order to specify the entrypoint you have to create a Configuration/Gulp.yaml
within your Neos package.
Hint: As composer type for a theme package we use "type": "neos-site"
.
Global Gulp.yaml
You can also specify a global Gulp.yaml file in PROJECT_ROOT/Configuration/Gulp.yaml
. The config of this file will be merged into every other specified Gulp.yaml file. It is possible to remove global config in a project config file by setting the config to null
.
Additionally, in this file you can add additional packages that should also be processed (some package in Packages/Application
for example).
Example
Please check the example file Gulp.yaml.example and Global_Gulp.yaml.example for more information.
Commands
To exectute commands, please go to ./Build/Gulp
.
- dist
- clean
- rebuild
- dist-css-bundle
- dist-css-fusion
- dist-css-library
- dist-js-bundle
- dist-js-fusion
- dist-js-library
- dist-copy
- dist-serviceworker
- favicon
- lint-js
- lint-scss
- server
- watch
Acknowledgments
Development sponsored by web&co.
License
Licensed under MIT, see LICENSE