69 lines
1.7 KiB
JSON
69 lines
1.7 KiB
JSON
{
|
|
"name": "@posthog/core",
|
|
"version": "1.6.0",
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/PostHog/posthog-js.git",
|
|
"directory": "packages/core"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"!src/__tests__"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs"
|
|
},
|
|
"./error-tracking": {
|
|
"types": "./dist/error-tracking/index.d.ts",
|
|
"require": "./dist/error-tracking/index.js",
|
|
"import": "./dist/error-tracking/index.mjs"
|
|
},
|
|
"./vendor/*": {
|
|
"types": "./dist/vendor/*.d.ts",
|
|
"require": "./dist/vendor/*.js",
|
|
"import": "./dist/vendor/*.mjs"
|
|
},
|
|
"./testing": {
|
|
"types": "./dist/testing/index.d.ts",
|
|
"require": "./dist/testing/index.js",
|
|
"import": "./dist/testing/index.mjs"
|
|
},
|
|
"./utils": {
|
|
"types": "./dist/utils/index.d.ts",
|
|
"require": "./dist/utils/index.js",
|
|
"import": "./dist/utils/index.mjs"
|
|
},
|
|
"./process": {
|
|
"types": "./dist/process/index.d.ts",
|
|
"require": "./dist/process/index.js",
|
|
"import": "./dist/process/index.mjs"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@rslib/core": "0.10.6",
|
|
"@types/cross-spawn": "^6.0.6",
|
|
"@types/jest": "^29.5.14",
|
|
"jest": "29.7.0",
|
|
"@posthog-tooling/tsconfig-base": "1.1.0"
|
|
},
|
|
"dependencies": {
|
|
"cross-spawn": "^7.0.6"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"build": "rslib build",
|
|
"dev": "rslib build -w",
|
|
"test:unit": "jest",
|
|
"package": "pnpm pack --out $PACKAGE_DEST/%s.tgz"
|
|
}
|
|
} |