Danger on Node, wonder what's going on? see VISION.md
This is like, really, really early.
However,
git clone https://github.com/danger/danger-js.git
cd danger-js
# if you don't have have yarn installed
npm install -g yarn
yarn install
You can then verify your install by running the tests, and the linters:
npm test
npm run lint
npm run flow
You'll have a nicer experience as a developer if you use VS Code with Flow enabled, and if you install flow-typed.
npm install -g flow-typed
flow-typed install
( and maybe flow-typed install jest@14
)
You can run the danger
command globally from your dev build by running npm run link
.
- a GitHub/GitLab request source (avoid deps for these)
- All of the CI sources from Danger-rb ( these will be easy )
- A way to do git.diff metadata see EnvironmentManager for setup, needs to get info from request source
The aim is to be able to have this library self testing with Danger-js ASAP, then smarter abstractions can be thought about.