mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 02:29:16 +01:00
Updates:
-Fix build.js file -Update package-json files
This commit is contained in:
parent
d49ac5d960
commit
4b053bc6a3
@ -1,5 +1,5 @@
|
||||
const webpack = require('webpack');
|
||||
const ora = require('ora');
|
||||
//const ora = require('ora');
|
||||
const rm = require('rimraf');
|
||||
const chalk = require('chalk');
|
||||
const config = require('./webpack.config.js');
|
||||
@ -8,15 +8,15 @@ const env = process.env.NODE_ENV || 'development';
|
||||
const target = process.env.TARGET || 'web';
|
||||
const isCordova = target === 'cordova'
|
||||
|
||||
const spinner = ora(env === 'production' ? 'building for production...' : 'building development version...');
|
||||
spinner.start();
|
||||
//const spinner = ora(env === 'production' ? 'building for production...' : 'building development version...');
|
||||
//spinner.start();
|
||||
|
||||
rm(isCordova ? './cordova/www' : './www/', (removeErr) => {
|
||||
if (removeErr) throw removeErr;
|
||||
|
||||
webpack(config, (err, stats) => {
|
||||
if (err) throw err;
|
||||
spinner.stop();
|
||||
//spinner.stop();
|
||||
|
||||
process.stdout.write(`${stats.toString({
|
||||
colors: true,
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "com.comidacab.app",
|
||||
"displayName": "Comida Cab",
|
||||
"version": "1.0.0",
|
||||
"description": "Aplicación de entrega de comida local.",
|
||||
"description": "Aplicaci<EFBFBD>n de entrega de comida local.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
|
28
package-lock.json
generated
28
package-lock.json
generated
@ -2886,10 +2886,10 @@
|
||||
"integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-html": {
|
||||
"version": "0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz",
|
||||
"integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=",
|
||||
"ansi-html-community": {
|
||||
"version": "0.0.8",
|
||||
"resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz",
|
||||
"integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-regex": {
|
||||
@ -5546,9 +5546,9 @@
|
||||
}
|
||||
},
|
||||
"framework7": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/framework7/-/framework7-6.3.2.tgz",
|
||||
"integrity": "sha512-oih64MNmJhG2gJxduz/2PB9KrkjeTlWs/s9dNRqTmmQ1ielyyyC+6Un1bjbquBtyUMv+ac04XAJRTrfT9VeLVQ==",
|
||||
"version": "6.3.3",
|
||||
"resolved": "https://registry.npmjs.org/framework7/-/framework7-6.3.3.tgz",
|
||||
"integrity": "sha512-4HUYGpmM5JjL7rpAvnsTCM7HANgvaD3M4Ui47uObrtcLH0o8K8oWQFwhDRdSLjS1jpxNd4UYqlaG9hmy0QU7NQ==",
|
||||
"requires": {
|
||||
"dom7": "^3.0.0",
|
||||
"htm": "^3.1.0",
|
||||
@ -11208,9 +11208,9 @@
|
||||
}
|
||||
},
|
||||
"swiper": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/swiper/-/swiper-7.0.3.tgz",
|
||||
"integrity": "sha512-XKIWb7L9QpbQ7A//2IuKPP9fAEyR1uGf8IiJu+tRifZ5G1j/ioJ1deGUBhbJkv77mxk+Vg+zFkm4iTapivON5Q==",
|
||||
"version": "7.0.4",
|
||||
"resolved": "https://registry.npmjs.org/swiper/-/swiper-7.0.4.tgz",
|
||||
"integrity": "sha512-vKS06rjU5fWpFaMMqVQEWZ4K+jwoo2Ua5hvq/F03X8HnpI5nfI8gG2eNPMiuWLsrKsK2e7l6giayu4c8UeTxJQ==",
|
||||
"requires": {
|
||||
"dom7": "^4.0.0",
|
||||
"ssr-window": "^4.0.0"
|
||||
@ -11917,12 +11917,12 @@
|
||||
}
|
||||
},
|
||||
"webpack-dev-server": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.1.0.tgz",
|
||||
"integrity": "sha512-PnnoCHuLKxH3vYff2EbORntD0Pd+MKclDIO8AcKsDVRToqY9/oeIwwUs5alA2B5OPgXJhaDNkBJAmb0OaWZFJA==",
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.1.1.tgz",
|
||||
"integrity": "sha512-Kl1mnCEw8Cy1Kw173gCxLIB242LfPKEOj9WoKhKz/MbryZTNrILzOJTk8kiczw/YUEPzn3gcltCQv6hDsLudRg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-html": "^0.0.7",
|
||||
"ansi-html-community": "^0.0.8",
|
||||
"bonjour": "^3.5.0",
|
||||
"chokidar": "^3.5.1",
|
||||
"colorette": "^1.2.2",
|
||||
|
@ -30,12 +30,12 @@
|
||||
"axios": "^0.21.4",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dom7": "^4.0.0",
|
||||
"framework7": "^6.3.2",
|
||||
"framework7": "^6.3.3",
|
||||
"framework7-icons": "^5.0.3",
|
||||
"html2pdf.js": "^0.10.1",
|
||||
"localforage": "^1.10.0",
|
||||
"skeleton-elements": "^3.5.0",
|
||||
"swiper": "^7.0.3"
|
||||
"swiper": "^7.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.15.5",
|
||||
@ -68,7 +68,7 @@
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.52.0",
|
||||
"webpack-cli": "^4.8.0",
|
||||
"webpack-dev-server": "^4.1.0",
|
||||
"webpack-dev-server": "^4.1.1",
|
||||
"workbox-webpack-plugin": "^6.2.4"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user