Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilib-js/ilib-localespec-doc
https://github.com/ilib-js/ilib-localespec-doc
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ilib-js/ilib-localespec-doc
- Owner: iLib-js
- License: apache-2.0
- Created: 2023-10-17T05:08:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-17T01:30:29.000Z (4 months ago)
- Last Synced: 2024-07-17T04:39:34.237Z (4 months ago)
- Language: JavaScript
- Size: 27.6 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Overview
This is documentation for checking in locale's information from [iLib](https://github.com/iLib-js/iLib).
Here's a feature list that you can see:
* Basic Information
* Names of days and months
* Range of Meridiem Units
* Data Format : Date/Time
* Data Format : DateRange
* Data Format : Date/Time Duration
* Data Format : Numberand Please visit [here](Locales.md) to see the locale list.
See the [release notes](./ReleaseNotes.md) for details on what is new and what has changed.
#### Preview
## Getting Started
This project is a simple app that was bootstrapped with [Create React App](https://github.com/facebook/create-react-app) and using [MUI](https://mui.com) to display locale Spec references with [iLib](https://github.com/iLib-js/iLib).
## Notes
1. This project is already ejected(`eject` in CRA), so you need to maintain all of the configurations yourself.
2. If you want to change the version of ILib or the root of this project, you can change them(`homepage`, `dependencies` in `package.json`, and `basename` in `src/index.js`).
For example,
```json
// package.json
...
"ilib": "npm:[email protected]",
...
"homepage": "http://i18n.lge.com/ilib/localeSpecDoc/reference",
...
```
```js
// src/index.js
......
```
3. There is a script file to help the above #2 work easily.
First, Modify `util/config.json` file. Then execute a `npm run updatePath` in the root. You will find the data is updated properly as you expect.
Here is an example of a `config.json` file.
```json
// config.json
{
"packages": {
"homepage": "http://i18n.lge.com/ilib/localeSpecDoc/reference",
"ilibVersion": "npm:[email protected]"
},
"index": {
"basename":"/ilib/localeSpecDoc/reference"
}
}
```## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.The page will reload when you make changes.\
You may also see any lint errors in the console.### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.