Skip to content

Commit 5ad7952

Browse files
feat: add npm start command
1 parent a6c49eb commit 5ad7952

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
![](https://img.shields.io/badge/stars%20⭐-6-yellow)
1010
![](https://img.shields.io/badge/days%20completed-3-red)
1111

12-
## Start a boilerplate for a new day
12+
## Run the currently configured default day
13+
`npm start`
14+
15+
### Run in debug mode for extended logging
16+
`DEBUG=1 npm start`
17+
## Generate a boilerplate for a new day
1318
`npm run new`
1419
### Special Instructions
1520
Run by modifying `index.js` to point to the puzzle you want to execute.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"posttest": "nyc report --reporter=html --reporter=text-lcov > coverage.lcov",
1111
"lint": "standard",
1212
"report-coverage": "codecov",
13-
"new": "npx plop --plopfile ./plop-templates/plopfile.js"
13+
"new": "npx plop --plopfile ./plop-templates/plopfile.js",
14+
"start": "node ./index.js"
1415
},
1516
"repository": {
1617
"type": "git",

0 commit comments

Comments
 (0)