Skip to content

Commit b354d32

Browse files
committed
Merge pull request #16 from mohsen1/ts
Typescript
2 parents 6fb24bb + 060d89f commit b354d32

16 files changed

+1658
-1195
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JSON Formatter (Pure JavaScript)
1+
# JSON Formatter
22

33
> Render JSON objects in HTML with a **collapsible** navigation.
44
@@ -12,7 +12,7 @@ Install via npm
1212
```shell
1313
npm install --save json-formatter-js
1414
```
15-
include `bundle.js` and `style.css` from `dist` folder in your page.
15+
include `bundle.js` from `dist` folder in your page.
1616
```js
1717
import JSONFormatter from 'json-formatter-js'
1818

@@ -53,25 +53,25 @@ Available configurations:
5353
* `theme`: a string that can be any of these options: `['dark']`. Look at [`src/style.less`](src/style.less) for making new themes.
5454

5555
### Development
56-
Install `gulp` and run `gulp serve` to start the server that serves the development version of the project.
56+
Install the dependencies:
5757

58-
#### Running tests
58+
```
59+
npm install
60+
```
5961

60-
**Once:**
62+
Run the dev server
6163

62-
```shell
63-
npm test
64+
```
65+
npm start
6466
```
6567

66-
**Continues:**
68+
#### Running tests
6769

68-
```shell
69-
gulp test
70-
```
71-
#### Running the demo
70+
**Once:**
7271

7372
```shell
74-
gulp serve
73+
npm test
7574
```
75+
7676
### License
7777
[MIT](./LICENSE)

demo/index.html

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)