mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-19 08:31:35 +03:00
cd85d681b7
* Changed next build to next export Propper comand to export a static site is next export. See [here](https://nextjs.org/docs#usage) * Corrected build command per suggestion Both next build && next export are needed Co-Authored-By: Jacob Bolda <me@jacobbolda.com> Co-authored-by: Jacob Bolda <me@jacobbolda.com>
24 lines
681 B
JSON
24 lines
681 B
JSON
{
|
|
"name": "next.js",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build && next export",
|
|
"start": "next start",
|
|
"tauri:prod": "tauri",
|
|
"tauri:source": "node ../../../cli/tauri.js/bin/tauri",
|
|
"tauri:source:init": "yarn tauri:source init --tauriPath ../../../tauri",
|
|
"tauri:prod:init": "yarn tauri:prod init",
|
|
"tauri:source:dev": "yarn tauri:source dev",
|
|
"tauri:prod:dev": "yarn tauri:prod dev",
|
|
"tauri:source:build": "yarn tauri:source build",
|
|
"tauri:prod:build": "yarn tauri:prod build"
|
|
},
|
|
"dependencies": {
|
|
"next": "9.1.6",
|
|
"react": "16.12.0",
|
|
"react-dom": "16.12.0"
|
|
}
|
|
}
|