Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sammyjava/imjs-sorting-test
Test imjs sorting
https://github.com/sammyjava/imjs-sorting-test
Last synced: 1 day ago
JSON representation
Test imjs sorting
- Host: GitHub
- URL: https://github.com/sammyjava/imjs-sorting-test
- Owner: sammyjava
- License: mit
- Created: 2022-10-11T14:22:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T16:18:49.000Z (about 2 years ago)
- Last Synced: 2024-11-11T09:50:13.434Z (2 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imjs Sorting Test
This is a simple app to test imjs orderBy/sortOrder functioning.
### To set up locally for development
1. Clone the repo
2. `cd imjs-sorting-test` and then `npm install` to install dependencies.All of the editable source files for css and js are in `src`. To bundle for prod, run the following commands:
#### CSS
Assuming [less](http://lesscss.org/) is installed globally:
```
npm run less
```#### JS
Assuming [webpack](https://webpack.js.org/) is installed globally:
##### Single build:
```
npm run build
```##### Applied Coding practices / ESLint Rules:
- _indent_: use __tab (2 space tab)__ instead of spaces to not get an error.
- _linebreak-style_: use __\n__ for a newline, if you're on windows, configure it in your editor settings.
- _quotes_: use __single quote__ instead of double quote.
- _semi_: use _semi colon_ at end of each statement / expression / function definition.
- _comma-dangle_: do not use dangling commas i.e. extra comma at the end of object values, function args, etc.). More about this [here](https://eslint.org/docs/rules/comma-dangle).
- More pre-configured rules from __eslint:recommended__ you must follow to not get errors [here](https://eslint.org/docs/rules/).##### Developing:
To serve your code at [localhost:3456](http://localhost:3456) and rebuild it every time it changes, run:```bash
npm run dev
```