tauri/examples/react/next.js/package.json
BenoitRanque cd85d681b7 Corrected example: Changed next build to next export (#200)
* 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>
2019-12-22 11:24:27 +01:00

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"
}
}