-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.99 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.99 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
{
"name": "@sentry/solidstart",
"version": "8.55.1",
"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": ">=16"
},
"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",
"tag": "v8"
},
"peerDependencies": {
"@solidjs/router": "^0.13.4",
"@solidjs/start": "^1.0.0"
},
"peerDependenciesMeta": {
"@solidjs/router": {
"optional": true
}
},
"dependencies": {
"@sentry/core": "8.55.1",
"@sentry/node": "8.55.1",
"@sentry/opentelemetry": "8.55.1",
"@sentry/solid": "8.55.1",
"@sentry/vite-plugin": "2.22.6"
},
"devDependencies": {
"@solidjs/router": "^0.13.4",
"@solidjs/start": "^1.0.0",
"@solidjs/testing-library": "0.8.5",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/user-event": "^14.5.2",
"vite-plugin-solid": "^2.8.2"
},
"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:types:watch",
"build:dev:watch": "yarn build:watch",
"build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
"build:types:watch": "tsc -p tsconfig.types.json --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",
"fix": "eslint . --format stylish --fix",
"lint": "eslint . --format stylish",
"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"
]
}
}
}
}