Skip to content

Commit

Permalink
Rework unnecessary npx
Browse files Browse the repository at this point in the history
  • Loading branch information
Ianis-ro authored and StefanJum committed Nov 9, 2024
1 parent 1cb1e68 commit a2a2aff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ To run all tests in watch mode:

You can run the application seeing how the `updateQuality()` function works:

```npx ts-node test/golden-master-text-test.ts```
```npm run app```

Or with the number of days as args:

```npx ts-node test/golde-master-text-test.ts 10```
```npm run app 10```

# Gilded Rose Requirements Specification

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"compile": "tsc",
"pretest": "rimraf app/**/*.js test/**/*.js",
"test:jest": "jest",
"test:jest:watch": "jest --watchAll"
"test:jest:watch": "jest --watchAll",
"app": "ts-node test/golden-master-text-test.ts"
},
"license": "MIT",
"private": true,
Expand Down

0 comments on commit a2a2aff

Please sign in to comment.