spl-js-engine
v4.0.5
Published
Software Product Line JavaScript Derivation Engine
Downloads
49
Readme
spl-js-engine
Software Product Line JavaScript Derivation Engine
Requirements
- Node (> v16.14.2)
Install with npm
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
Install from github
git clone https://github.com/AlexCortinas/spl-js-engine.git
: Clone the reponpm 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 sospl-js-engine
can be run anywhere.npx spl-js-engine help
: Usage page.
Documentation
Check the wiki.
Examples (github)
My Calculator
A simple web-based calculator made with Spring Boot and Angular
Generation of the product:
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:
cd output
npm install
mvn spring-boot:run
# open http://localhost:8080/ on any web browser