80 lines
3.4 KiB
JSON
80 lines
3.4 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/'+a), './lnbits/static/bundle.css')\"",
|
|
"vendor_bundle_js": "node -e \"require('concat')(require('./package.json').bundle.js.map(a => './lnbits/'+a), './lnbits/static/bundle.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"
|
|
},
|
|
"devDependencies": {
|
|
"concat": "^1.0.3",
|
|
"minify": "^9.2.0",
|
|
"sass": "^1.60.0",
|
|
"prettier": "2.8.3",
|
|
"pyright": "1.1.289"
|
|
},
|
|
"dependencies": {
|
|
"@chenfengyuan/vue-qrcode": "1.0.2",
|
|
"axios": "^1.3.4",
|
|
"chart.js": "2.9",
|
|
"moment": "^2.29.4",
|
|
"quasar": "1.13.2",
|
|
"underscore": "^1.13.6",
|
|
"vue": "2.6.12",
|
|
"vue-i18n": "^8.28.2",
|
|
"vue-qrcode-reader": "2.2",
|
|
"vue-router": "3.4.3",
|
|
"vuex": "3.5.1"
|
|
},
|
|
"vendor": [
|
|
"./node_modules/moment/moment.js",
|
|
"./node_modules/underscore/underscore.js",
|
|
"./node_modules/axios/dist/axios.js",
|
|
"./node_modules/vue/dist/vue.js",
|
|
"./node_modules/vue-router/dist/vue-router.js",
|
|
"./node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.browser.js",
|
|
"./node_modules/@chenfengyuan/vue-qrcode/dist/vue-qrcode.js",
|
|
"./node_modules/vuex/dist/vuex.js",
|
|
"./node_modules/quasar/dist/quasar.ie.polyfills.umd.min.js",
|
|
"./node_modules/quasar/dist/quasar.umd.js",
|
|
"./node_modules/chart.js/dist/Chart.bundle.js",
|
|
"./node_modules/quasar/dist/quasar.css",
|
|
"./node_modules/chart.js/dist/Chart.css",
|
|
"./node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.css",
|
|
"./node_modules/vue-i18n/dist/vue-i18n.js"
|
|
],
|
|
"bundle": {
|
|
"js": [
|
|
"/static/vendor/moment.js",
|
|
"/static/vendor/underscore.js",
|
|
"/static/vendor/axios.js",
|
|
"/static/vendor/vue.js",
|
|
"/static/vendor/vue-router.js",
|
|
"/static/vendor/vue-qrcode-reader.browser.js",
|
|
"/static/vendor/vue-qrcode.js",
|
|
"/static/vendor/vuex.js",
|
|
"/static/vendor/quasar.ie.polyfills.umd.min.js",
|
|
"/static/vendor/quasar.umd.js",
|
|
"/static/vendor/Chart.bundle.js",
|
|
"/static/vendor/vue-i18n.js",
|
|
"/static/i18n/i18n.js",
|
|
"/static/i18n/en.js",
|
|
"/static/i18n/de.js",
|
|
"/static/i18n/es.js",
|
|
"/static/i18n/jp.js",
|
|
"/static/js/base.js",
|
|
"/static/js/components.js",
|
|
"/static/js/bolt11-decoder.js"
|
|
],
|
|
"css": [
|
|
"/static/vendor/quasar.css",
|
|
"/static/vendor/Chart.css",
|
|
"/static/vendor/vue-qrcode-reader.css",
|
|
"/static/css/base.css"
|
|
]
|
|
}
|
|
}
|