@mirai/core 0.3.251 → 0.3.252

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -220,3 +220,16 @@ We can also bind the elements of the session. Example:
220
220
  ## 2.12 `<Signup>`
221
221
 
222
222
  @todo
223
+
224
+ # 3. Development
225
+
226
+ You have to follow the next steps:
227
+
228
+ 1. Install [node.js](https://nodejs.org/en/download/package-manager) and [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable).
229
+ 2. Clone the project with SSH git@gitlab.com:miraicorp/front/core.git or HTTPS https://gitlab.com/miraicorp/front/core.git.
230
+ 3. In the project, execute `yarn` command. This command install the dependencies.
231
+ 4. Change the file `env.development` to put the service url that you want.
232
+ 5. Add to local.mirai.com to hosts file and keep free 8080 port. Or you can change the file `/scripts/start.js` to choose the port and host that you want.
233
+ 6. Execute `yarn start` command.
234
+ 7. You can manage the hotel that you want to test with the `miraiId` param. For example, for the Hotel Moderno, you need to type the next in the navigator url: http://local.mirai.com:8080/?miraiId=10030559. If you want to test a chain, you need add the param `type=chain`. For example, for Garden, the url is http://local.mirai.com:8080/?miraiId=501404&type=chain.
235
+ 8. You can access to Checkout (Client form) and Booking (Manage reservation) directly with the next urls http://local.mirai.com:8080/step2-checkout and http://local.mirai.com:8080/step3-booking. Add `miraiId` param and the params of Client Form url or Manage reservation url to test.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/core",
3
- "version": "0.3.251",
3
+ "version": "0.3.252",
4
4
  "source": "src/index.js",
5
5
  "repository": "https://gitlab.com/miraicorp/dev/frontend/core",
6
6
  "author": "JΛVI <hello@soyjavi.com>",