mirror of
https://github.com/kremalicious/gatsby-plugin-matomo.git
synced 2024-12-22 09:13:19 +01:00
Merge pull request #14 from kremalicious/feature/packages
package updates
This commit is contained in:
commit
853f16c74f
4
.babelrc
4
.babelrc
@ -1,6 +1,6 @@
|
||||
{
|
||||
"presets": [
|
||||
["env", { "browser": true }],
|
||||
["react"]
|
||||
["@babel/env"],
|
||||
["@babel/react"]
|
||||
]
|
||||
}
|
||||
|
18
README.md
18
README.md
@ -1,4 +1,4 @@
|
||||
[![gatsby-plugin-matomo](https://raw.githubusercontent.com/kremalicious/gatsby-plugin-matomo/master/gatsby-plugin-matomo.png)](https://kremalicious.com/gatsby-plugin-matomo/)
|
||||
[![gatsby-plugin-matomo](https://raw.githubusercontent.com/kremalicious/gatsby-plugin-matomo/master/src/gatsby-plugin-matomo.png)](https://kremalicious.com/gatsby-plugin-matomo/)
|
||||
|
||||
# gatsby-plugin-matomo
|
||||
|
||||
@ -7,7 +7,16 @@
|
||||
[![Maintainability](https://api.codeclimate.com/v1/badges/067339a02f2058f5ba01/maintainability)](https://codeclimate.com/github/kremalicious/gatsby-plugin-matomo/maintainability)
|
||||
[![Greenkeeper badge](https://badges.greenkeeper.io/kremalicious/gatsby-plugin-matomo.svg)](https://greenkeeper.io/)
|
||||
|
||||
🥂 Gatsby plugin to add Matomo (formerly Piwik) onto a site. https://kremalicious.com/gatsby-plugin-matomo/
|
||||
> 🥂 Gatsby plugin to add Matomo (formerly Piwik) onto a site. https://kremalicious.com/gatsby-plugin-matomo/
|
||||
|
||||
---
|
||||
|
||||
- [Features](#features)
|
||||
- [Usage](#usage)
|
||||
- [Options](#options)
|
||||
- [Development](#development)
|
||||
- [Changelog](#changelog)
|
||||
- [License](#license)
|
||||
|
||||
## Features
|
||||
|
||||
@ -52,7 +61,7 @@ Plugin uses sensible defaults prioritizing user experience & privacy:
|
||||
|
||||
_NOTE: By default, this plugin only generates output when run in production mode. To test your tracking code, run `gatsby build && gatsby serve`, or set `dev` option to `true`_.
|
||||
|
||||
## Options
|
||||
### Options
|
||||
|
||||
Option | Explanation
|
||||
-----------------|---------
|
||||
@ -88,6 +97,9 @@ plugins: [
|
||||
|
||||
```bash
|
||||
npm i
|
||||
npm start
|
||||
|
||||
# create production build
|
||||
npm run build
|
||||
|
||||
# publishing to npm & GitHub releases
|
||||
|
25
package.json
25
package.json
@ -11,21 +11,22 @@
|
||||
"release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"release-major": "./node_modules/release-it/bin/release-it.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"prepublishOnly": "cross-env NODE_ENV=production npm run build",
|
||||
"changelog": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s -r 0"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.26.0",
|
||||
"react": "^16.6.3",
|
||||
"react-hot-loader": "^4.3.12"
|
||||
"changelog": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s -r 0",
|
||||
"beforeStage": "npm run changelog"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"conventional-changelog-cli": "^2.0.11",
|
||||
"@babel/cli": "^7.2.3",
|
||||
"@babel/core": "^7.4.0",
|
||||
"@babel/preset-env": "^7.4.2",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"conventional-changelog-cli": "^2.0.12",
|
||||
"cross-env": "^5.2.0",
|
||||
"eslint": "^5.9.0",
|
||||
"eslint-plugin-react": "^7.11.1",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-plugin-react": "^7.12.4",
|
||||
"react": "^16.8.6",
|
||||
"react-dom": "^16.8.6",
|
||||
"react-hot-loader": "^4.8.1",
|
||||
"release-it": "^10.0.0"
|
||||
},
|
||||
"homepage": "https://github.com/kremalicious/gatsby-plugin-matomo",
|
||||
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Loading…
Reference in New Issue
Block a user