Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollback package.json #50

Merged
merged 4 commits into from
Mar 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![Bundle Size](https://img.shields.io/bundlephobia/minzip/gtm-event-tracker/latest?style=flat&colorA=000&colorB=000&label=bundle%20size "Bundle Size")
![Version](https://img.shields.io/npm/v/gtm-event-tracker?style=flat&colorA=000&colorB=000 "Version")

A tiny (1.05KB gzip), type-safe and zero-dependency solution for triggering [Google Tag Manager](https://tagmanager.google.com) track events.
A tiny (1KB gzip), type-safe and zero-dependency solution for triggering [Google Tag Manager](https://tagmanager.google.com) track events.

It's designed for applications that need to trigger a lot of track events, and it solves common problems like writing similar events multiple times, managing "global" event properties, and debugging track events. This solution is framework agnostic and configurable, so it's probably the only solution you need for your web application for triggering track events.

Expand Down
75 changes: 74 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,86 @@
"email": "nicolasemkis@gmail.com"
},
"license": "MIT",
"version": "1.8.0",
"version": "0.0.0-semantically-released",
"description": "A tiny, type-safe and zero-dependency solution for triggering Google Tag Manager track events.",
"keywords": [
"gtm",
"tracking",
"google-tag-manager",
"analytics"
],
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"types": "dist/gtm-event-tracker.d.ts",
"repository": "git@github.com:emkis/gtm-event-tracker.git",
"files": [
"dist/cjs/index.js",
"dist/es/index.js",
"dist/gtm-event-tracker.d.ts"
],
"scripts": {
"prepare": "husky install",
"prepare:publish": "yarn tsx ./scripts/clean-package-json.ts",
"clean": "rimraf dist* temp coverage *.tsbuildinfo",
"dev": "npm-run-all clean 'build:ts --watch'",
"build": "npm-run-all clean build:ts build:types",
"build:ts": "rollup --config rollup.config.mjs",
"build:types": "npm-run-all ts:compile ts:replace-alias",
"lint": "eslint . --ext js,ts",
"test": "npm-run-all test:api-report test:unit:coverage",
"test:unit": "jest",
"test:unit:coverage": "npm-run-all 'test:unit --coverage'",
"test:api-report": "npm-run-all build api-report",
"test:api-report:update": "npm-run-all build 'api-report --local'",
"api-report": "api-extractor run",
"ts:compile": "tsc --project tsconfig.build.json",
"ts:replace-alias": "tsc-alias --project tsconfig.build.json"
},
"engines": {
"node": ">=16"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@faker-js/faker": "^7.6.0",
"@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"esbuild": "^0.17.12",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-config-standard": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier-eslint": "^15.0.1",
"rimraf": "^4.4.0",
"rollup": "^3.19.1",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-size": "^0.3.1",
"semantic-release": "^20.1.3",
"tsc-alias": "^1.8.3",
"tsx": "^3.12.5",
"typescript": "^5.0.2"
}
}
1 change: 1 addition & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = {
'@semantic-release/git',
{
message: 'chore(release): v${nextRelease.version}',
assets: ['CHANGELOG.md'],
},
],
'@semantic-release/github',
Expand Down