Next EUROPA Theme Framework
Style Guide
The online documentation is availble here: https://ec-europa.github.io/ne-theme-framework-dev/
Requirements
- Node.js >= v4
- npm >= v3.3.x
- Python 2.7
Install build system
Before we can build the NextEurop a theme framework we need to install the build system itself. This can be done using Node.js and npm:
npm install
npm run bower update
This will install Bower and Gulp locally as this is the only so far to make it build correctly on ContinuousPHP.
Note: if you have Phing installed globally, you can also use the command:
phing
Linting
# Run ESLint
npm run eslint
# Run Stylelint
npm run stylelint
# Run both linters
npm run lint
Developing
npm run dev
Phing alias:
phing dev
Testing
npm test
Building the theme
Not implemented yet
npm run dist
Phing alias
phing dist