mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 01:43:42 +01:00
0b8da2b524
---------
Co-authored-by: dni ⚡ <office@dnilabs.com>
106 lines
4.0 KiB
JSON
106 lines
4.0 KiB
JSON
{
|
|
"name": "lnbits",
|
|
"scripts": {
|
|
"sass": "./node_modules/.bin/sass ./lnbits/static/scss/base.scss > ./lnbits/static/css/base.css",
|
|
"vendor_copy": "node -e \"require('./package.json').vendor.forEach((file) => require('fs').copyFileSync(file, './lnbits/static/vendor/'+file.split('/').pop()))\"",
|
|
"vendor_json": "node -e \"require('fs').writeFileSync('./lnbits/static/vendor.json', JSON.stringify(require('./package.json').bundle))\"",
|
|
"vendor_bundle_css": "node -e \"require('concat')(require('./package.json').bundle.css.map(a => 'lnbits/static/'+a), './lnbits/static/bundle.css')\"",
|
|
"vendor_bundle_js": "node -e \"require('concat')(require('./package.json').bundle.js.map(a => 'lnbits/static/'+a),'./lnbits/static/bundle.js')\"",
|
|
"vendor_bundle_components": "node -e \"require('concat')(require('./package.json').bundle.components.map(a => 'lnbits/static/'+a), './lnbits/static/bundle-components.js')\"",
|
|
"vendor_minify_css": "./node_modules/.bin/minify ./lnbits/static/bundle.css > ./lnbits/static/bundle.min.css",
|
|
"vendor_minify_js": "./node_modules/.bin/minify ./lnbits/static/bundle.js > ./lnbits/static/bundle.min.js",
|
|
"vendor_minify_components": "./node_modules/.bin/minify ./lnbits/static/bundle-components.js > ./lnbits/static/bundle-components.min.js",
|
|
"bundle": "npm run sass && npm run vendor_copy && npm run vendor_json && npm run vendor_bundle_css && npm run vendor_bundle_js && npm run vendor_bundle_components && npm run vendor_minify_css && npm run vendor_minify_js && npm run vendor_minify_components"
|
|
},
|
|
"devDependencies": {
|
|
"concat": "^1.0.3",
|
|
"minify": "^9.2.0",
|
|
"prettier": "^3.3.3",
|
|
"pyright": "1.1.289",
|
|
"sass": "^1.78.0"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.7.7",
|
|
"chart.js": "^4.4.4",
|
|
"moment": "^2.30.1",
|
|
"qrcode.vue": "^3.4.1",
|
|
"quasar": "2.17.0",
|
|
"showdown": "^2.1.0",
|
|
"nostr-tools": "^2.7.2",
|
|
"underscore": "^1.13.7",
|
|
"vue": "3.5.8",
|
|
"vue-i18n": "^10.0.3",
|
|
"vue-qrcode-reader": "^5.5.10",
|
|
"vue-router": "4.4.5",
|
|
"vuex": "4.1.0"
|
|
},
|
|
"vendor": [
|
|
"./node_modules/moment/moment.js",
|
|
"./node_modules/underscore/underscore.js",
|
|
"./node_modules/axios/dist/axios.js",
|
|
"./node_modules/vue/dist/vue.global.prod.js",
|
|
"./node_modules/quasar/dist/quasar.umd.prod.js",
|
|
"./node_modules/vuex/dist/vuex.global.js",
|
|
"./node_modules/vue-i18n/dist/vue-i18n.global.prod.js",
|
|
"./node_modules/vue-router/dist/vue-router.global.js",
|
|
"./node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.umd.js",
|
|
"./node_modules/qrcode.vue/dist/qrcode.vue.browser.js",
|
|
"./node_modules/chart.js/dist/chart.umd.js",
|
|
"./node_modules/quasar/dist/quasar.css",
|
|
"./node_modules/showdown/dist/showdown.js",
|
|
"./node_modules/nostr-tools/lib/nostr.bundle.js"
|
|
],
|
|
"bundle": {
|
|
"js": [
|
|
"vendor/moment.js",
|
|
"vendor/underscore.js",
|
|
"vendor/axios.js",
|
|
"vendor/vue.global.prod.js",
|
|
"vendor/quasar.umd.prod.js",
|
|
"vendor/vuex.global.js",
|
|
"vendor/vue-i18n.global.prod.js",
|
|
"vendor/vue-router.global.js",
|
|
"vendor/vue-qrcode-reader.umd.js",
|
|
"vendor/qrcode.vue.browser.js",
|
|
"vendor/chart.umd.js",
|
|
"vendor/showdown.js",
|
|
"vendor/nostr.bundle.js",
|
|
"i18n/i18n.js",
|
|
"i18n/de.js",
|
|
"i18n/en.js",
|
|
"i18n/es.js",
|
|
"i18n/fr.js",
|
|
"i18n/it.js",
|
|
"i18n/jp.js",
|
|
"i18n/cn.js",
|
|
"i18n/nl.js",
|
|
"i18n/pi.js",
|
|
"i18n/pl.js",
|
|
"i18n/fr.js",
|
|
"i18n/nl.js",
|
|
"i18n/we.js",
|
|
"i18n/pt.js",
|
|
"i18n/br.js",
|
|
"i18n/cs.js",
|
|
"i18n/sk.js",
|
|
"i18n/kr.js",
|
|
"i18n/fi.js",
|
|
"js/base.js",
|
|
"js/event-reactions.js",
|
|
"js/bolt11-decoder.js"
|
|
],
|
|
"components": [
|
|
"js/components/lnbits-funding-sources.js",
|
|
"js/components/extension-settings.js",
|
|
"js/components/payment-list.js",
|
|
"js/components/payment-chart.js",
|
|
"js/components.js",
|
|
"js/init-app.js"
|
|
],
|
|
"css": [
|
|
"vendor/quasar.css",
|
|
"css/base.css"
|
|
]
|
|
}
|
|
}
|