mirror of
https://github.com/nebulousnessie/Obsidian-MOCBlocks.git
synced 2026-07-22 06:44:20 +00:00
1.3 KiB
1.3 KiB
Dependencies
Windows Scripts (powershell execution policies)
- https:/go.microsoft.com/fwlink/?LinkID=135170
- To change policy, run in administrator powershell: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force;
- Check it worked with: Get-ExecutionPolicy
- Revert with: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Restricted -Force;
Node.js
This project requires Node.js (which includes npm).
- Download Node.js
- Install:
# For Ubuntu/Debian sudo apt-get install nodejs npm # For Windows # Download and run the installer from the Node.js website
Project Dependencies
npm
```sh
npm install
```
Update to latest stable version of npm:
```sh
npm install -g npm@latest
```
Reload node_modules dependencies, based on package.json (includes svg packages, obsidian, and obsidian-typings):
```sh
npm install -g npm@latest
```
Additional Info
-
Check
package.jsonfor specific packages. -
To compile plugin changes, its:
npm run dev