-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.01 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.01 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
{
"name": "@croct/plug-react",
"version": "0.0.0-dev",
"description": "React components and hooks to plug your React applications into Croct.",
"author": {
"name": "Croct",
"url": "https://croct.com",
"email": "lib+plug-react@croct.com"
},
"keywords": [
"croct",
"personalization",
"react",
"typescript"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/croct-tech/plug-react.git"
},
"type": "module",
"main": "./index.js",
"types": "./index.d.ts",
"exports": {
"./*": {
"import": "./*.js",
"require": "./*.cjs"
}
},
"engines": {
"node": ">=10"
},
"scripts": {
"lint": "eslint 'src/**/*.ts' 'src/**/*.tsx'",
"test": "jest -c jest.config.mjs --coverage",
"validate": "tsc --noEmit",
"build": "tsup",
"postbuild": "./post-build.mjs"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"@croct/plug": "^0.23.0",
"@croct/sdk": "^0.22.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@croct/eslint-plugin": "^0.8.3",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"esbuild-fix-imports-plugin": "^1.0.19",
"eslint": "^9.39.2",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"jest-environment-node": "^30.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.2",
"tsup": "^8.4.0",
"typescript": "^5.6.2",
"webpack": "^5.94.0"
},
"files": [
"**/*.js",
"**/*.cjs",
"**/*.mjs",
"**/*.ts",
"**/*.cts",
"**/*.map"
]
}