UNPKG

automatic-analytics-trigger

Version:
55 lines (54 loc) 1.78 kB
{ "name": "automatic-analytics-trigger", "version": "1.1.0", "description": "Automatically trigger events and mutations for analytics", "main": "dist/automatic-analytics-trigger.js", "module": "dist/automatic-analytics-trigger.esm.js", "browser": "dist/automatic-analytics-trigger.min.js", "files": [ "dist" ], "scripts": { "test": "npm run test:unit && npm run test:integration", "test:unit": "jest ^.+\\.spec.js --config=jest.config.js", "test:integration": "jest -i ^.+\\.test.js --config=jest.config.js", "test:coverage": "jest --collectCoverage --config=jest.config.js", "format": "prettier --write \"src/**/*.js\"", "lint": "eslint \"src/**/*.*.js\"", "lint:fix": "npm run lint --fix", "build": "rollup -c", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/FlaviaBertoni/automatic-analytics-trigger.git" }, "keywords": [ "Analytics", "GTM" ], "author": "FlaviaBertoni", "license": "MIT", "bugs": { "url": "https://github.com/FlaviaBertoni/automatic-analytics-trigger/issues" }, "homepage": "https://flaviabertoni.github.io/automatic-analytics-trigger/", "devDependencies": { "@babel/core": "^7.10.2", "@babel/preset-env": "^7.10.2", "babel-jest": "^25.5.1", "eslint": "^6.8.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.3", "html-loader-jest": "^0.2.1", "jest": "^25.5.4", "prettier": "^1.19.1", "rollup": "^1.32.1", "rollup-plugin-terser": "^5.3.0" }, "dependencies": {} }