Skip to content

Commit

Permalink
fix(package.json): generated index for each module
Browse files Browse the repository at this point in the history
  • Loading branch information
opensrc0 committed Aug 4, 2024
1 parent 9c487b4 commit 05840af
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"postcreate": "npm pkg set files[].=$npm_config_component/",
"start": "npm run local",
"local": "NODE_ENV=development babel __app/component -d __build --watch",
"preprod": "node ./__app/script/generateIndex.js",
"prod": "NODE_ENV=production BABEL_ENV=minify babel __app/component -d __build --out-file-extension .js",
"commit": "npm run lint:check && git-cz",
"lint:check": "lint-staged",
Expand Down Expand Up @@ -88,7 +89,27 @@
]
},
"files": [
"__build/**"
"__build/**",
"./index.js",
"AutoFillOtp/",
"Bluetooth/",
"FaceDetector/",
"CopyToClipboard/",
"LiveLocationTracking/",
"LocateMe/",
"MobileNavBar/",
"PhoneBook/",
"Scanner/",
"Share/",
"TextToSpeech/",
"VoiceRecognition/",
"Vibrate/",
"ColorPicker/",
"WhatsappShare/",
"SnapScanner/",
"WakeLock/",
"NetworkMonitor/",
"View360/"
],
"exports": {
"./*": {
Expand Down

0 comments on commit 05840af

Please sign in to comment.