Skip to content

Commit ba79b34

Browse files
committed
Add a composer.json file to automatically install npm dependencies and the companion repo
1 parent ee33059 commit ba79b34

File tree

3 files changed

+263
-0
lines changed

3 files changed

+263
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
node_modules
22
bower_components
33
dist
4+
vendor
45
*.log
56
.sass-cache
67
/index.html

composer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "stevegrunwell/building-for-the-php-cli",
3+
"description": "Slides for \"Building for the PHP Command Line Interface\"",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Steve Grunwell",
9+
"homepage": "https://stevegrunwell.com"
10+
}
11+
],
12+
"repositories": [
13+
{
14+
"type": "vcs",
15+
"url": "https://github.com/stevegrunwell/php-cli-examples"
16+
}
17+
],
18+
"require": {
19+
"stevegrunwell/php-cli-examples": "dev-master"
20+
},
21+
"scripts": {
22+
"post-install-cmd": [
23+
"npm install",
24+
"bower install"
25+
],
26+
"present": [
27+
"grunt"
28+
]
29+
}
30+
}

composer.lock

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

0 commit comments

Comments
 (0)