Spaces:
Sleeping
Sleeping
Commit
·
2afe531
1
Parent(s):
99078a2
update: Docs
Browse files
README.md
CHANGED
|
@@ -28,6 +28,12 @@ The application calculates totals and allows you to print or save the quotation
|
|
| 28 |
|
| 29 |
Ensure you have Node.js installed, then run:
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
```shell
|
| 32 |
node tests/test.js
|
| 33 |
```
|
|
@@ -40,7 +46,7 @@ Install the linting tools:
|
|
| 40 |
npm install
|
| 41 |
```
|
| 42 |
|
| 43 |
-
To run all linters (
|
| 44 |
|
| 45 |
```shell
|
| 46 |
npm run lint
|
|
@@ -48,7 +54,6 @@ npm run lint
|
|
| 48 |
|
| 49 |
Or individually:
|
| 50 |
|
| 51 |
-
- `npm run lint:html`
|
| 52 |
- `npm run lint:css`
|
| 53 |
- `npm run lint:js`
|
| 54 |
|
|
|
|
| 28 |
|
| 29 |
Ensure you have Node.js installed, then run:
|
| 30 |
|
| 31 |
+
```shell
|
| 32 |
+
npm test
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
Alternatively, to run the tests directly, use:
|
| 36 |
+
|
| 37 |
```shell
|
| 38 |
node tests/test.js
|
| 39 |
```
|
|
|
|
| 46 |
npm install
|
| 47 |
```
|
| 48 |
|
| 49 |
+
To run all linters (Stylelint, ESLint):
|
| 50 |
|
| 51 |
```shell
|
| 52 |
npm run lint
|
|
|
|
| 54 |
|
| 55 |
Or individually:
|
| 56 |
|
|
|
|
| 57 |
- `npm run lint:css`
|
| 58 |
- `npm run lint:js`
|
| 59 |
|