mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
6158243339
With this setup we're compiling the .re/.ml files directly to source directories with a .bs.js extension, and enabling next.js to pick up that extension for pages.
24 lines
560 B
JSON
24 lines
560 B
JSON
{
|
|
"name": "with-reasonml",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "concurrently \"bsb -clean-world -make-world -w\" \"next dev\"",
|
|
"build": "bsb -clean-world -make-world && next build",
|
|
"start": "next start"
|
|
},
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"babel-plugin-bucklescript": "^0.2.4",
|
|
"next": "latest",
|
|
"react": "^16.1.1",
|
|
"react-dom": "^16.1.1",
|
|
"reason-react": "^0.3.0",
|
|
"bs-next": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"bs-platform": "^2.1.0",
|
|
"concurrently": "^3.5.1",
|
|
"webpack": "^3.8.1"
|
|
}
|
|
}
|