Skip to content

Commit

Permalink
feat: adds initial version (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdreizin committed Apr 22, 2018
1 parent 4e5e115 commit 0d1c2a4
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
@@ -1,7 +1,7 @@
{
"root": true,
"extends": ["eslint:recommended"],
"plugins": ["babel"],
"plugins": ["babel", "markdown"],
"env": {
"es6": true,
"node": true
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -41,10 +41,10 @@ By default this plugin detects the following options:

Under `Policy` you can specify any allowed [rules](http://www.robotstxt.org/orig.html#format):

```js
```json
{
userAgent: '*',
allow: '/'
"userAgent": "*",
"allow": "/"
}
```

Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,13 +1,12 @@
{
"name": "gatsby-plugin-robots-txt",
"version": "1.0.0",
"files": ["gatsby-*.js*"],
"main": "index.js",
"description":
"Gatsby plugin that automatically creates robots.txt for your site",
"scripts": {
"clean": "rm -rf gatsby-node.js*",
"lint": "eslint --ext js ./ --cache",
"lint": "eslint --ext js,md ./ --cache",
"build": "babel src --out-dir ./ --source-maps",
"watch": "babel src --out-dir ./ --source-maps --watch"
},
Expand All @@ -34,6 +33,7 @@
"babel-preset-env": "^1.6.1",
"eslint": "^4.19.1",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"prettier": "^1.12.1",
"semantic-release": "^15.1.7",
"travis-deploy-once": "^4.4.1"
Expand Down

0 comments on commit 0d1c2a4

Please sign in to comment.