Skip to content

Commit a601c6a

Browse files
committed
adding to file brain-games.js and package.json
1 parent 56753ae commit a601c6a

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
install:
2+
npm ci
3+
brain-games:
4+
node bin/brain-games.js
5+
publish:
6+
npm publish --dry-run

bin/brain-games.js

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#!/usr/bin/env node
12
console.log('Welcome to the Brain Games!');

package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"type": "module",
55
"description": "[![Actions Status](https://github.com/KateChe31/frontend-project-44/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/KateChe31/frontend-project-44/actions)",
66
"main": "index.js",
7+
"bin": {
8+
"code": "bin/brain-games.js",
9+
"brain-games": "bin/brain-games.js"
10+
},
711
"scripts": {
812
"test": "echo \"Error: no test specified\" && exit 1"
913
},

0 commit comments

Comments
 (0)