Install dependencies:
npm install @capacitor/{core,cli,ios,android}
Add capacitor config:
import { CapacitorConfig } from '@capacitor/cli';| #!/bin/sh | |
| # Original source: https://github.com/AndrewMohawk/RandomScripts/blob/main/scan_for_deps_qix-2025-08-09.sh | |
| # - Enhanced with additional compromised libraries in supply-chain attacks. | |
| # - Added some references | |
| # - Count vulnerabilities | |
| # - Review outputs to the terminal | |
| # - Support for libraries scoped with @ | |
| echo "------------------------------------------------" |
Install dependencies:
npm install @capacitor/{core,cli,ios,android}
Add capacitor config:
import { CapacitorConfig } from '@capacitor/cli';npm install cordova-res --save-dev1024x1024px icon at resources/icon.png2732x2732px splash at resources/splash.png"resources": "cordova-res ios && cordova-res android && node scripts/resources.js" to scripts in package.jsonresources.js file to scripts/resources.jssudo chmod -R 777 scripts/resources.jsnpm run resourcesOne file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| /* =========================================================== | |
| * bootstrap-datepicker.js v1.3.0 | |
| * http://twitter.github.com/bootstrap/javascript.html#datepicker | |
| * =========================================================== | |
| * Copyright 2011 Twitter, Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * |