Skip to content

Commit b8c7570

Browse files
committed
Set up composer file
1 parent dc08caf commit b8c7570

File tree

3 files changed

+90
-5
lines changed

3 files changed

+90
-5
lines changed

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
composer.phar
21
/vendor/
3-
4-
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
5-
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
6-
# composer.lock
2+
/node_modules/

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "sebkay/wp-oop",
3+
"authors": [
4+
{
5+
"name": "Seb Kay",
6+
"email": "seb@sebkay.com",
7+
"homepage": "https://sebkay.com"
8+
}
9+
],
10+
"type": "project",
11+
"autoload": {
12+
"psr-4": {
13+
"WP-OOP\\": "src/"
14+
}
15+
},
16+
"license": "MIT",
17+
"require-dev": {
18+
"squizlabs/php_codesniffer": "^3.5"
19+
}
20+
}

composer.lock

Lines changed: 69 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)