Initial commit

This commit is contained in:
Carlos 2025-02-20 19:38:30 -05:00
parent 4be09d1c91
commit 4822e4502d
7 changed files with 4898 additions and 0 deletions

11
.eslintrc.json Normal file
View File

@ -0,0 +1,11 @@
{
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"env": {
"node": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
}
}

0
.npmignore Normal file
View File

4824
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

51
package.json Normal file
View File

@ -0,0 +1,51 @@
{
"name": "fullstory-asset-sdk",
"version": "0.0.1",
"description": "A lightweight SDK for integrating FullStory session tracking and asset uploading, designed for React apps and CLI automation.",
"homepage": "https://github.com/CarGDev/fullstory-asset-sdk#readme",
"keywords": [
"fullstory",
"fullstory-sdk",
"analytics",
"session-tracking",
"asset-upload",
"fullstory-integration",
"react",
"typescript"
],
"bugs": {
"url": "https://github.com/CarGDev/fullstory-asset-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CarGDev/fullstory-asset-sdk.git"
},
"license": "MIT",
"author": "Carlos Gutierrez <carlos.gutierrez@carg.dev>",
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"test": "jest --coverage",
"lint": "eslint 'src/**/*.ts'",
"prepare": "npm run build",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.13.4",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"jest": "^29.7.0",
"prettier": "^3.5.1",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3"
},
"dependencies": {
"@fullstory/browser": "^2.0.6",
"minimist": "^1.2.8"
}
}

0
src/index.ts Normal file
View File

0
src/uploader.ts Normal file
View File

12
tsconfig.json Normal file
View File

@ -0,0 +1,12 @@
{
"compilerOptions": {
"outDir": "./dist",
"module": "CommonJS",
"target": "ES2022",
"strict": true,
"declaration": true,
"sourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}