Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Build): Update build commands for nuxt3-bridge #229

Merged
merged 1 commit into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { defineNuxtConfig } from '@nuxt/bridge'
import pkg from './package.json'

export default defineNuxtConfig({
bridge: {
nitro: false,
},
server: {
host: '0.0.0.0',
port: 3000,
Expand Down Expand Up @@ -166,4 +169,10 @@ export default defineNuxtConfig({
clientVersion: pkg.version,
textileKey: process.env.TEXTILE_API_KEY,
},
webpack: {
watchOptions: {
ignored: '/node_modules/'
},
stats: 'verbose',
}
})
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build",
"build": "nuxt build",
"start": "nuxi start",
"generate": "nuxi generate",
"android-generate": "yarn generate; npx cap copy; npx cap sync; cd android; ./gradlew assembleDebug; cd ..",
"generate": "nuxt generate",
"android-generate": "nuxt generate; npx cap copy; npx cap sync; cd android; ./gradlew assembleDebug; cd ..",
"electron-mac": "yarn generate && npx cap update @capacitor-community/electron && npx cap copy @capacitor-community/electron && npx cap sync @capacitor-community/electron && cd electron && yarn && yarn electron:build-mac",
"electron-windows": "yarn generate && npx cap update @capacitor-community/electron && npx cap copy @capacitor-community/electron && npx cap sync @capacitor-community/electron && cd electron && yarn && yarn electron:build-windows",
"electron-linux": "yarn generate && npx cap update @capacitor-community/electron && npx cap copy @capacitor-community/electron && npx cap sync @capacitor-community/electron && cd electron && yarn && yarn electron:build-linux",
Expand All @@ -19,7 +19,6 @@
"@capacitor-community/electron": "^3.1.0",
"@capacitor/android": "^3.1.2",
"@capacitor/camera": "^1.0.3",
"@capacitor/cli": "^3.1.2",
"@capacitor/core": "^3.1.2",
"@capacitor/ios": "^3.1.2",
"@capacitor/local-notifications": "^1.0.3",
Expand Down Expand Up @@ -89,6 +88,7 @@
},
"devDependencies": {
"@babel/core": "7.15.8",
"@capacitor/cli": "^3.1.2",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@nuxt/bridge": "npm:@nuxt/bridge-edge@3.0.0-27258277.84e299f",
Expand Down
Loading