Skip to content

Commit

Permalink
Merge pull request #2 from phantomstudios/feat/tweaks
Browse files Browse the repository at this point in the history
Update Dependencies List + Fix Types Use
  • Loading branch information
PauloMFJ authored Jul 7, 2021
2 parents b547237 + 9514c6e commit a505156
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 33 deletions.
24 changes: 8 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@phntms/next-gtm",
"description": "A lightweight Next library to implement custom Google Tag Manager events.",
"version": "0.0.1",
"version": "0.0.2",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"homepage": "https://github.com/phantomstudios/next-gtm#readme",
Expand Down Expand Up @@ -48,7 +48,6 @@
"devDependencies": {
"@babel/preset-env": "^7.4.5",
"@babel/preset-typescript": "^7.3.3",
"@phntms/react-gtm": "^0.0.5",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^5.0.3",
"@types/jest": "^26.0.20",
Expand All @@ -73,5 +72,8 @@
"react-test-renderer": ">=17.0.2",
"ts-jest": "^26.1.0",
"typescript": "^4.1.5"
},
"dependencies": {
"@phntms/react-gtm": "^0.0.5"
}
}
3 changes: 1 addition & 2 deletions src/components/TrackingHeadScript.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";

import { EmbedTrackingProps } from "@phntms/react-gtm";
import Script from "next/script";

import { EmbedTrackingProps } from "../types";

const TrackingHeadScript = ({ id }: EmbedTrackingProps) => (
<>
{id && (
Expand Down
13 changes: 0 additions & 13 deletions src/types.tsx

This file was deleted.

0 comments on commit a505156

Please sign in to comment.