mirror of
https://dev.azure.com/tstanciu94/Packages/_git/analytics-switch
synced 2025-08-10 21:14:34 +03:00
92 lines
2.3 KiB
JSON
92 lines
2.3 KiB
JSON
{
|
|
"name": "@flare/analytics-switch",
|
|
"version": "1.1.0",
|
|
"description": "Analytics switch that includes integrations with Umami and Matomo",
|
|
"author": {
|
|
"name": "Tudor Stanciu",
|
|
"email": "tudor.stanciu94@gmail.com",
|
|
"url": "https://lab.code-rove.com/tsp"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://lab.code-rove.com/gitea/bricks/analytics-switch"
|
|
},
|
|
"private": true,
|
|
"keywords": [
|
|
"flare",
|
|
"analytics",
|
|
"umami",
|
|
"matomo"
|
|
],
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md",
|
|
"CHANGELOG.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:coverage": "vitest --coverage",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "prettier --check .",
|
|
"lint:fix": "prettier --write .",
|
|
"precommit": "lint-staged",
|
|
"prepare": "husky install",
|
|
"push": "npm publish --registry https://lab.code-rove.com/public-node-registry",
|
|
"prepublishOnly": "npm test && npm run build",
|
|
"publish:patch": "npm version patch && npm run push",
|
|
"publish:minor": "npm version minor && npm run push",
|
|
"publish:major": "npm version major && npm run push"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^16.0.1",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.3",
|
|
"@vitest/coverage-v8": "^2.1.8",
|
|
"@vitest/ui": "^2.1.8",
|
|
"husky": "^9.1.6",
|
|
"jsdom": "^25.0.1",
|
|
"lint-staged": "^15.2.10",
|
|
"prettier": "^3.3.3",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.6.3",
|
|
"vitest": "^2.1.8"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.8.0",
|
|
"react-dom": ">=16.8.0"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "none",
|
|
"tabWidth": 2,
|
|
"semi": true,
|
|
"singleQuote": false,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.+(js|md|ts|css|sass|less|graphql|scss|json|vue)": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://lab.code-rove.com/public-node-registry"
|
|
}
|
|
}
|