1 | {
|
2 | "name": "@sentry/core",
|
3 | "version": "6.16.1",
|
4 | "description": "Base implementation for all Sentry JavaScript SDKs",
|
5 | "repository": "git://github.com/getsentry/sentry-javascript.git",
|
6 | "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/core",
|
7 | "author": "Sentry",
|
8 | "license": "BSD-3-Clause",
|
9 | "engines": {
|
10 | "node": ">=6"
|
11 | },
|
12 | "main": "dist/index.js",
|
13 | "module": "esm/index.js",
|
14 | "types": "dist/index.d.ts",
|
15 | "publishConfig": {
|
16 | "access": "public"
|
17 | },
|
18 | "dependencies": {
|
19 | "@sentry/hub": "6.16.1",
|
20 | "@sentry/minimal": "6.16.1",
|
21 | "@sentry/types": "6.16.1",
|
22 | "@sentry/utils": "6.16.1",
|
23 | "tslib": "^1.9.3"
|
24 | },
|
25 | "devDependencies": {
|
26 | "typescript": "3.7.5"
|
27 | },
|
28 | "scripts": {
|
29 | "build": "run-p build:cjs build:esm",
|
30 | "build:cjs": "tsc -p tsconfig.cjs.json",
|
31 | "build:dev": "run-s build",
|
32 | "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
|
33 | "build:esm": "tsc -p tsconfig.esm.json",
|
34 | "build:watch": "run-p build:cjs:watch build:esm:watch",
|
35 | "build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
|
36 | "build:dev:watch": "run-s build:watch",
|
37 | "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
|
38 | "build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
|
39 | "circularDepCheck": "madge --circular src/index.ts",
|
40 | "clean": "rimraf dist esm coverage",
|
41 | "fix": "run-s fix:eslint fix:prettier",
|
42 | "fix:eslint": "eslint . --format stylish --fix",
|
43 | "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
|
44 | "link:yarn": "yarn link",
|
45 | "lint": "run-s lint:prettier lint:eslint",
|
46 | "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
|
47 | "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
|
48 | "pack": "npm pack",
|
49 | "test": "jest",
|
50 | "test:watch": "jest --watch",
|
51 | "version": "node ../../scripts/versionbump.js src/version.ts"
|
52 | },
|
53 | "volta": {
|
54 | "extends": "../../package.json"
|
55 | },
|
56 | "jest": {
|
57 | "collectCoverage": true,
|
58 | "transform": {
|
59 | "^.+\\.ts$": "ts-jest"
|
60 | },
|
61 | "moduleFileExtensions": [
|
62 | "js",
|
63 | "ts"
|
64 | ],
|
65 | "testEnvironment": "node",
|
66 | "testMatch": [
|
67 | "**/*.test.ts"
|
68 | ],
|
69 | "globals": {
|
70 | "ts-jest": {
|
71 | "tsConfig": "./tsconfig.json",
|
72 | "diagnostics": false
|
73 | }
|
74 | }
|
75 | },
|
76 | "sideEffects": false
|
77 | }
|