UNPKG

@phntms/react-gtm

Version:

A lightweight React library to implement custom Google Tag Manager events.

72 lines (71 loc) 2.27 kB
{ "name": "@phntms/react-gtm", "description": "A lightweight React library to implement custom Google Tag Manager events.", "version": "0.1.1", "main": "lib/index.js", "types": "lib/index.d.ts", "homepage": "https://github.com/phantomstudios/react-gtm#readme", "repository": { "type": "git", "url": "https://github.com/phantomstudios/react-gtm.git" }, "bugs": { "url": "https://github.com/phantomstudios/react-gtm/issues" }, "keywords": [ "react", "lightweight", "gtm", "typescript", "tagmanager", "googletagmanager" ], "scripts": { "build": "tsc", "build:types": "tsc --emitDeclarationOnly", "prepublishOnly": "npm run build", "test": "jest --verbose", "test:watch": "jest --verbose --watch", "coverage": "jest --coverage", "lint": "NODE_ENV=test npm-run-all --parallel lint:*", "lint:js": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", "lint:format": "prettier \"**/*.{md,html,yaml,yml}\" --check", "lint:type-check": "tsc --noEmit", "fix": "npm-run-all --sequential fix:*", "fix:js": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix", "fix:format": "prettier \"**/*.{md,html,yaml,yml}\" --write", "depcheck": "npx npm-check --update" }, "author": "Paulo Ferreira Jorge (paulo.jorge@phntms.com)", "license": "MIT", "peerDependencies": { "react": ">=16.8.0" }, "devDependencies": { "@babel/preset-env": "^7.4.5", "@babel/preset-typescript": "^7.3.3", "@testing-library/react": "^11.2.5", "@testing-library/react-hooks": "^5.0.3", "@types/jest": "^26.0.20", "@types/react": "^16.8.0", "@typescript-eslint/eslint-plugin": "^4.15.2", "@typescript-eslint/parser": "^4.15.2", "babel-eslint": "^10.1.0", "babel-jest": "^26.0.1", "browser-env": "^3.2.6", "eslint": "^7.20.0", "eslint-config-prettier": "^8.0.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "jest": "^26.0.1", "npm-run-all": "^4.1.5", "prettier": "^2.2.1", "react": "^16.8.0", "react-dom": "^16.8.0", "react-test-renderer": "^16.14.0", "ts-jest": "^26.1.0", "typescript": "^4.1.5" } }