Skip to content

Commit

Permalink
Add build script to React Router (Parcel) example.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Jul 29, 2019
1 parent bc26890 commit af7900e
Show file tree
Hide file tree
Showing 2 changed files with 2,459 additions and 78 deletions.
9 changes: 6 additions & 3 deletions examples/with-react-router/package.json
Expand Up @@ -6,18 +6,21 @@
"scripts": {
"postinstall": "relative-deps",
"prestart": "relative-deps",
"start": "parcel index.html"
"prebuild": "relative-deps",
"start": "parcel index.html",
"build": "parcel build index.html"
},
"dependencies": {
"@babel/preset-react": "^7.0.0",
"parcel-bundler": "^1.12.3",
"react": "^16.8.6",
"react-async": "^7.0.5",
"react-async-devtools": "^1.0.3",
"react-dom": "^16.8.6",
"react-router-dom": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"parcel-bundler": "^1.12.3",
"relative-deps": "^0.1.2"
},
"relativeDependencies": {
Expand Down

0 comments on commit af7900e

Please sign in to comment.