-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.19 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@sentry/solidstart",
"version": "10.49.0",
"description": "Official Sentry SDK for Solid Start",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/solidstart",
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=18.19.1"
},
"files": [
"/build",
"/client",
"/server",
"/*.d.ts",
"/*.d.ts.map"
],
"main": "build/cjs/index.server.js",
"module": "build/esm/index.server.js",
"browser": "build/esm/index.client.js",
"types": "build/types/index.types.d.ts",
"//": [
"For `@sentry/solidstart/solidrouter` types to resolve correctly for both `moduleResolution: bundler` and `moduleResolution: node`",
"- type definitions have to be exported at root level (/build won't work)",
"- type definitions have to match in name (i.e. `solidrouter.d.ts`)",
"- the `types` entry needs to be set both at the root of the export and within `browser` and `node`"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./build/types/index.types.d.ts",
"browser": {
"import": "./build/esm/index.client.js",
"require": "./build/cjs/index.client.js"
},
"node": {
"import": "./build/esm/index.server.js",
"require": "./build/cjs/index.server.js"
}
},
"./solidrouter": {
"types": "./solidrouter.d.ts",
"browser": {
"types": "./solidrouter.d.ts",
"import": "./build/esm/solidrouter.client.js",
"require": "./build/cjs/solidrouter.client.js"
},
"node": {
"types": "./solidrouter.d.ts",
"import": "./build/esm/solidrouter.server.js",
"require": "./build/cjs/solidrouter.server.js"
}
}
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@solidjs/router": "^0.13.4 || ^0.14.0 || ^0.15.0",
"@solidjs/start": "^1.0.0"
},
"peerDependenciesMeta": {
"@solidjs/router": {
"optional": true
}
},
"dependencies": {
"@sentry/core": "10.49.0",
"@sentry/node": "10.49.0",
"@sentry/solid": "10.49.0",
"@sentry/vite-plugin": "^5.2.0"
},
"devDependencies": {
"@solidjs/router": "^0.15.0",
"@solidjs/start": "^1.2.1",
"@solidjs/testing-library": "0.8.5",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/user-event": "^14.5.2",
"solid-js": "^1.9.11",
"vinxi": "^0.5.11",
"vite": "^5.4.11",
"vite-plugin-solid": "^2.11.6"
},
"scripts": {
"build": "run-p build:transpile build:types",
"build:dev": "yarn build",
"build:transpile": "rollup -c rollup.npm.config.mjs",
"build:types": "run-s build:types:core build:types:subexports",
"build:types:core": "tsc -p tsconfig.types.json",
"build:types:subexports": "tsc -p tsconfig.subexports-types.json",
"build:watch": "run-p build:transpile:watch",
"build:dev:watch": "yarn build:watch",
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:tarball": "npm pack",
"circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts && madge --circular src/solidrouter.client.ts && madge --circular src/solidrouter.server.ts && madge --circular src/solidrouter.ts",
"clean": "rimraf build coverage sentry-solidstart-*.tgz ./*.d.ts ./*.d.ts.map ./client ./server",
"lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware",
"lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware",
"lint:es-compatibility": "es-check es2020 ./build/cjs/*.js && es-check es2020 ./build/esm/*.js --module",
"test": "yarn test:unit",
"test:unit": "vitest run",
"test:watch": "vitest --watch",
"yalc:publish": "yalc publish --push --sig"
},
"volta": {
"extends": "../../package.json"
},
"nx": {
"targets": {
"build:types": {
"outputs": [
"{projectRoot}/build/types",
"{projectRoot}/client",
"{projectRoot}/server",
"{projectRoot}/*.d.ts",
"{projectRoot}/*.d.ts.map"
]
}
}
}
}