Software Product Line JavaScript Derivation Engine
npm install spl-js-engineSoftware Product Line JavaScript Derivation Engine
- Node (> v16.14.2)
In the local folder/project: npm install spl-js-engine [--save-dev]
Global installation: npm install spl-js-engine --location=global
Running it: npx spl-js-engine help
- git clone https://github.com/AlexCortinas/spl-js-engine.git: Clone the repo
- npm install: Installation.
- npm test: Run all test (won't work on Windows without WSL).
- npm run prepare: Set husky git hooks (linting).
- [sudo] npm link: Globally link the client so spl-js-engine can be run anywhere.
- npx spl-js-engine help: Usage page.
Check the wiki.
A simple web-based calculator made with Spring Boot and Angular
Generation of the product:
``bash`
cd examples/MyCalculator
[npx] spl-js-engine --featureModel model.json \
--product product.json \
--config config.json \
--extra extra.js \
--code code \
--output output
[--verbose]
Running the generated product:
`bash
cd output
npm install
mvn spring-boot:run