UNPKG

2.91 kBJSONView Raw
1{
2 "name": "@sentry/node",
3 "version": "6.16.1",
4 "description": "Official Sentry SDK for Node.js",
5 "repository": "git://github.com/getsentry/sentry-javascript.git",
6 "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node",
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.16.1",
20 "@sentry/hub": "6.16.1",
21 "@sentry/tracing": "6.16.1",
22 "@sentry/types": "6.16.1",
23 "@sentry/utils": "6.16.1",
24 "cookie": "^0.4.1",
25 "https-proxy-agent": "^5.0.0",
26 "lru_map": "^0.3.3",
27 "tslib": "^1.9.3"
28 },
29 "devDependencies": {
30 "@types/cookie": "0.3.2",
31 "@types/express": "^4.17.2",
32 "@types/lru-cache": "^5.1.0",
33 "@types/node": "~10.17.0",
34 "express": "^4.17.1",
35 "nock": "^13.0.5",
36 "typescript": "3.7.5"
37 },
38 "scripts": {
39 "build": "run-p build:cjs build:esm",
40 "build:cjs": "tsc -p tsconfig.cjs.json",
41 "build:dev": "run-s build",
42 "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
43 "build:esm": "tsc -p tsconfig.esm.json",
44 "build:watch": "run-p build:cjs:watch build:esm:watch",
45 "build:cjs:watch": "tsc -p tsconfig.cjs.json -w --preserveWatchOutput",
46 "build:dev:watch": "run-s build:watch",
47 "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
48 "build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput",
49 "circularDepCheck": "madge --circular src/index.ts",
50 "clean": "rimraf dist esm coverage",
51 "fix": "run-s fix:eslint fix:prettier",
52 "fix:eslint": "eslint . --format stylish --fix",
53 "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
54 "link:yarn": "yarn link",
55 "lint": "run-s lint:prettier lint:eslint",
56 "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
57 "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
58 "pack": "npm pack",
59 "test": "run-s test:jest test:express test:webpack test:release-health",
60 "test:express": "node test/manual/express-scope-separation/start.js",
61 "test:jest": "jest",
62 "test:release-health": "node test/manual/release-health/runner.js",
63 "test:webpack": "cd test/manual/webpack-domain/ && yarn && node npm-build.js",
64 "test:watch": "jest --watch"
65 },
66 "volta": {
67 "extends": "../../package.json"
68 },
69 "jest": {
70 "collectCoverage": true,
71 "transform": {
72 "^.+\\.ts$": "ts-jest"
73 },
74 "moduleFileExtensions": [
75 "js",
76 "ts"
77 ],
78 "testEnvironment": "node",
79 "testMatch": [
80 "**/*.test.ts"
81 ],
82 "globals": {
83 "ts-jest": {
84 "tsConfig": "./tsconfig.json",
85 "diagnostics": false
86 }
87 }
88 }
89}