Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
Fix optional route params
Browse files Browse the repository at this point in the history
  • Loading branch information
gvergnaud committed Apr 23, 2018
1 parent 7e4c495 commit 105d039
Show file tree
Hide file tree
Showing 7 changed files with 2,376 additions and 724 deletions.
11 changes: 10 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@
["es2015", { "modules": false }],
"stage-2",
"react"
]
],
"env": {
"test": {
"presets": [
["es2015"],
"stage-2",
"react"
]
}
}
}
344 changes: 0 additions & 344 deletions dist/index.js

This file was deleted.

12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs-dynamic-routes",
"version": "2.1.7",
"version": "2.1.8",
"description": "Super simple way to create dynamic routes with url parameters with Next.js",
"main": "dist/index.js",
"repository": {
Expand All @@ -11,22 +11,26 @@
"license": "MIT",
"scripts": {
"build": "webpack --config webpack.config.js",
"prepare": "npm run build"
"prepare": "npm run build",
"test": "jest"
},
"devDependencies": {
"babel-core": "^6.23.1",
"babel-core": "^6.26.0",
"babel-jest": "^22.4.3",
"babel-loader": "^6.3.2",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.23.0",
"babel-preset-stage-2": "^6.22.0",
"jest": "^22.4.3",
"regenerator-runtime": "^0.11.1",
"webpack": "^2.2.1",
"webpack-node-externals": "^1.5.4"
},
"dependencies": {
"path-match": "^1.2.4"
},
"peerDependencies": {
"next": "^3.2.3 || ^4.2.3",
"next": "^3.2.3 || ^4.2.3 || ^5.1.0",
"react": "15.x || 16.x"
}
}
Loading

0 comments on commit 105d039

Please sign in to comment.