create-pmtminiapp
v1.2.0
Published
CLI de création de projets Mini Program basés sur le framework PMTMiniApp.
Downloads
733
Maintainers
Readme
create-pmtminiapp
CLI npm de création de projets Mini Program basés sur le framework PMTMiniApp.
Convention :
PMTMiniApp= le frameworkcreate-pmtminiapp= le package CLI npm
Nom npm :
create-pmtminiapp
Usage
npx create-pmtminiapp mon-appou
npm create pmtminiapp mon-appOptions
npx create-pmtminiapp mon-app --no-installMettre A Jour Un Projet Existant
npx create-pmtminiapp update mon-appou depuis la racine du projet :
npx create-pmtminiapp update .La commande :
- met a jour les dossiers framework geres par le starter
- fusionne les scripts framework du
package.json - relance
scripts/syncAppPages.js - ne touche pas
pages/ - ne touche pas
routage/routes.json - ne touche pas
app.json
Le starter PMTMiniApp embarque aussi :
config/environments.jsconfig/configuration_Appareil.js- la couche
configurationAppareilpour camera, localisation, carte, reseau/IP, notifications, Bluetooth et systeme
Maintenance du template
Le template est régénéré depuis :
../from-scratch-app
Commande :
npm run refresh:templatePublication
Référence :
RELEASING.md
