Skip to content

Commit 1105e8e

Browse files
author
daria-z
committed
repository preparation
1 parent 8b0b0d8 commit 1105e8e

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules/

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
install:
2+
npm ci
3+
4+
brain-games:
5+
node bin/brain-games.js
6+
7+
publish:
8+
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.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
"version": "1.0.0",
44
"description": "[![Actions Status](https://github.com/daria-z/frontend-project-44/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/daria-z/frontend-project-44/actions)",
55
"main": "index.js",
6+
"type": "module",
67
"scripts": {
78
"test": "echo \"Error: no test specified\" && exit 1"
89
},
10+
"bin": {
11+
"brain-games": "bin/brain-games.js"
12+
},
913
"author": "",
1014
"license": "ISC"
1115
}

0 commit comments

Comments
 (0)