{ "name": "@rudderstack/rudder-sdk-node", "version": "3.1.1", "description": "Rudder Node SDK", "main": "./cjs/index.js", "module": "./esm/index.js", "types": "./index.d.ts", "license": "MIT", "repository": "rudderlabs/rudder-sdk-node", "author": { "name": "" }, "size-limit": [ { "name": "Core CJS - NPM", "limit": "6.5 KB", "path": "dist/cjs/index.js" }, { "name": "Core ESM - NPM", "limit": "7 KB", "path": "dist/esm/index.js" } ], "scripts": { "size": "size-limit", "copy:assets": "cp package.json dist/ && cp README.md dist/ && cp CHANGELOG.md dist/ && cp LICENSE.md dist/ && cp index.d.ts dist/", "build:cjs": "tsc -p tsconfig.json --outDir ./dist/cjs --module commonjs", "build:esm": "tsc -p tsconfig.json", "test": "AVA_MODE_ON=true nyc --reporter=lcov --reporter=html --reporter=text --reporter=text-summary ava --serial --verbose && npm run test:types", "test:ci": "AVA_MODE_ON=true nyc --reporter=lcov --reporter=text --reporter=text-summary --reporter=clover ava --serial --verbose && npm run test:types", "test:deno": "npm run package && node scripts/prepare-deno-test.js && deno test --config .deno-test/deno.json --allow-env --allow-net=127.0.0.1 tests/deno", "test:types": "tsc -p tsconfig.types.json", "check:lint": "eslint src", "check:lint:ci": "eslint src -f json -o reports/eslint.json || exit 0", "check:circular": "dpdm --circular src/index.js || exit 0", "check:duplicates": "jscpd src --threshold 5", "check:security": "npm audit --recursive --audit-level=high --omit=dev", "format": "prettier --write .", "lint:fix": "eslint . --fix", "prepare": "husky", "pre-commit": "npm run test && npx lint-staged", "commit-msg": "commitlint --edit", "commit": "git-cz", "package": "npm run build:cjs && npm run build:esm && npm run copy:assets && npm run check:package", "check:package": "node scripts/check-package.js", "clean": "rm -rf dist && git clean -xdf node_modules", "setup": "npm install", "test:sample": "npm run package && cd examples/sample-app && npm run test:local" }, "nyc": { "check-coverage": true, "statements": 78, "branches": 78, "functions": 76, "lines": 79 }, "engines": { "node": ">=16.13.0" }, "keywords": [ "analytics" ], "dependencies": { "axios": "^1.20.0", "axios-retry": "4.5.0", "component-type": "2.0.0", "join-component": "1.1.0", "lodash.clonedeep": "4.5.0", "lodash.isstring": "4.0.1", "md5": "2.3.0", "ms": "2.1.3", "remove-trailing-slash": "0.1.1", "tslib": "2.8.1" }, "devDependencies": { "@babel/core": "8.0.6", "@babel/eslint-parser": "8.0.6", "@babel/preset-env": "8.0.6", "@commitlint/config-conventional": "21.2.3", "@digitalroute/cz-conventional-changelog-for-jira": "8.0.1", "@eslint/js": "10.0.1", "@size-limit/file": "12.1.0", "ava": "8.0.1", "basic-auth": "2.0.1", "body-parser": "2.4.0", "commitizen": "4.3.2", "commitlint": "21.2.3", "delay": "7.0.0", "dotenv": "17.4.2", "dpdm": "4.3.0", "eslint": "10.15.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-compat": "7.0.2", "eslint-plugin-import-x": "4.18.1", "eslint-plugin-unicorn": "72.0.0", "express": "5.2.1", "globals": "16.4.0", "husky": "9.1.7", "jscpd": "5.3.2", "lint-staged": "17.6.0", "np": "12.1.1", "nyc": "18.0.0", "pify": "6.1.0", "prettier": "3.9.9", "sinon": "22.1.0", "size-limit": "12.1.0", "typescript": "7.0.2" }, "overrides": { "external-editor": { "tmp": "0.2.7" }, "lodash": "4.18.1", "@vercel/nft": "1.11.12", "rimraf": "6.1.4", "dpdm": { "glob": "^14.0.6" }, "nyc": { "glob": "^14.0.6" }, "test-exclude": { "glob": "^14.0.6", "minimatch": "11.0.9" }, "estimo": { "nanoid": "5.1.16" }, "get-uri": { "basic-ftp": "6.2.4" }, "bull": { "uuid": "11.1.1" }, "ignore-walk": { "minimatch": "11.0.9" } }, "optionalDependencies": { "bull": "4.16.5" }, "ava": { "files": [ "__tests__/**/*.test.js" ] }, "lint-staged": { "*.js": "eslint --cache --fix", "*.{json,js,md,ts}": "prettier --write" }, "config": { "commitizen": { "path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira", "jiraMode": false, "jiraOptional": true, "skipScope": true, "defaultType": "feat" } } }