1 | {
|
2 | "name": "@sentry/browser",
|
3 | "version": "6.12.0",
|
4 | "description": "Official Sentry SDK for browsers",
|
5 | "repository": "git://github.com/getsentry/sentry-javascript.git",
|
6 | "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
|
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/core": "6.12.0",
|
20 | "@sentry/types": "6.12.0",
|
21 | "@sentry/utils": "6.12.0",
|
22 | "tslib": "^1.9.3"
|
23 | },
|
24 | "devDependencies": {
|
25 | "@sentry-internal/eslint-config-sdk": "6.12.0",
|
26 | "@types/eslint": "^7.2.0",
|
27 | "@types/md5": "2.1.33",
|
28 | "btoa": "^1.2.1",
|
29 | "chai": "^4.1.2",
|
30 | "chokidar": "^3.0.2",
|
31 | "jest": "^24.7.1",
|
32 | "jsdom": "^15.0.0",
|
33 | "karma": "^4.1.0",
|
34 | "karma-chai": "^0.1.0",
|
35 | "karma-chrome-launcher": "^2.2.0",
|
36 | "karma-mocha": "^1.3.0",
|
37 | "karma-mocha-reporter": "^2.2.5",
|
38 | "karma-rollup-preprocessor": "^7.0.0",
|
39 | "karma-sinon": "^1.0.5",
|
40 | "karma-typescript": "^4.0.0",
|
41 | "karma-typescript-es6-transform": "^4.0.0",
|
42 | "node-fetch": "^2.6.0",
|
43 | "npm-run-all": "^4.1.2",
|
44 | "prettier": "1.19.0",
|
45 | "rimraf": "^2.6.3",
|
46 | "rollup": "^1.10.1",
|
47 | "rollup-plugin-commonjs": "^9.3.4",
|
48 | "rollup-plugin-license": "^0.8.1",
|
49 | "rollup-plugin-node-resolve": "^4.2.3",
|
50 | "rollup-plugin-terser": "^4.0.4",
|
51 | "rollup-plugin-typescript2": "^0.21.0",
|
52 | "sinon": "^7.3.2",
|
53 | "typescript": "3.7.5",
|
54 | "webpack": "^4.30.0"
|
55 | },
|
56 | "scripts": {
|
57 | "build": "run-s build:dist build:esm build:bundle",
|
58 | "build:bundle": "rollup --config",
|
59 | "build:bundle:watch": "rollup --config --watch",
|
60 | "build:dist": "tsc -p tsconfig.build.json",
|
61 | "build:dist:watch": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
|
62 | "build:es5": "run-s build:dist",
|
63 | "build:es5:watch": "run-s build:dist:watch",
|
64 | "build:esm": "tsc -p tsconfig.esm.json",
|
65 | "build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
|
66 | "build:watch": "run-p build:dist:watch build:esm:watch build:bundle:watch",
|
67 | "clean": "rimraf dist esm build coverage .rpt2_cache",
|
68 | "link:yarn": "yarn link",
|
69 | "lint": "run-s lint:prettier lint:eslint",
|
70 | "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
|
71 | "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
|
72 | "fix": "run-s fix:eslint fix:prettier",
|
73 | "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
|
74 | "fix:eslint": "eslint . --format stylish --fix",
|
75 | "test": "run-s test:unit",
|
76 | "test:unit": "karma start test/unit/karma.conf.js",
|
77 | "test:unit:watch": "karma start test/unit/karma.conf.js --auto-watch --no-single-run",
|
78 | "test:integration": "test/integration/run.js",
|
79 | "test:integration:watch": "test/integration/run.js --watch",
|
80 | "test:integration:checkbrowsers": "node scripts/checkbrowsers.js",
|
81 | "test:package": "node test/package/npm-build.js && rm test/package/tmp.js",
|
82 | "size:check": "run-p size:check:es5 size:check:es6",
|
83 | "size:check:es5": "cat build/bundle.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES5: \",$1,\"kB\";}'",
|
84 | "size:check:es6": "cat build/bundle.es6.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES6: \",$1,\"kB\";}'",
|
85 | "pack": "npm pack",
|
86 | "circularDepCheck": "madge --circular src/index.ts"
|
87 | },
|
88 | "volta": {
|
89 | "extends": "../../package.json"
|
90 | },
|
91 | "sideEffects": false
|
92 | }
|