-
-
Notifications
You must be signed in to change notification settings - Fork 454
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.2 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.2 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
{
"name": "@plasmohq/selector",
"version": "0.0.7",
"description": "Powerful Selector API with Dedicated Monitoring Supports",
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./hook": {
"types": "./dist/hook.d.ts",
"import": "./dist/hook.js",
"require": "./dist/hook.cjs"
},
"./monitor": {
"types": "./dist/monitor.d.ts",
"import": "./dist/monitor.js",
"require": "./dist/monitor.cjs"
},
"./background": {
"types": "./dist/background.d.ts",
"import": "./dist/background.js",
"require": "./dist/background.cjs"
},
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"typesVersions": {
"*": {
"hook": [
"./dist/hook.d.ts"
],
"monitor": [
"./dist/monitor.d.ts"
],
"background": [
"./dist/background.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"dev": "run-p dev:*",
"dev:compile": "tsup --watch",
"dev:test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch",
"build": "tsup",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"prepublishOnly": "pnpm build"
},
"author": "Plasmo Corp. <foss@plasmo.com>",
"contributors": [
"@louisgv",
"@ColdSauce"
],
"repository": {
"type": "git",
"url": "https://github.com/PlasmoHQ/plasmo.git",
"directory": "api/selector"
},
"license": "MIT",
"keywords": [
"react-hook",
"browser-extension",
"chrome-extension"
],
"peerDependencies": {
"react": "^16.8.6 || ^17 || ^18 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@jest/types": "29.6.3",
"@testing-library/react": "16.2.0",
"@types/chrome": "0.0.312",
"@types/node": "24.12.0",
"@types/react": "19.0.12",
"cross-env": "7.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"rimraf": "6.0.1",
"ts-jest": "29.3.0",
"tsup": "8.4.0",
"typescript": "5.8.2"
}
}