0.3.0 • Published 6 years ago
@obsidianjs/obsidian v0.3.0
Obsidian Framework
Running Linter and Tests
To run the linter:
npx eslint .To run all tests:
npm testTo run all test of a specific module:
npm test modules/my-module/To only run test on changed files:
npm test -- -oBuild Documentation
Linux
apt install virtualenv
npm run build-docWindows
- Download Python https://www.python.org/downloads/
- Install Python, don't forget to check the checkbox to add path variables to windows
- Open shell as an administrator
- run
pip install virtualenv
You can now run the following command to build doc:
npm run build-docGenerate TS types
npx tsc -p ./obsidian