-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.1 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.1 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
{
"name": "chayns-api",
"version": "2.6.14",
"description": "new chayns api",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"repository": {
"url": "git+https://github.com/TobitSoftware/chayns-api.git"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"sideEffects": false,
"keywords": [
"chayns",
"chayns-toolkit",
"react"
],
"scripts": {
"start": "npm run dev",
"build:umd": "chayns-toolkit build",
"build:cjs": "cross-env NODE_ENV=cjs babel src --out-dir dist/cjs --extensions=.ts,.tsx",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --extensions=.ts,.tsx",
"build-docs": "npm i && cd website && npm i && npm run build",
"build:typescript": "tsc",
"watch:cjs": "npm run build:cjs -- --watch",
"watch:esm": "npm run build:esm -- --watch",
"watch:typescript": "tsc -w",
"watch": "concurrently \"npm run watch:cjs\" \"npm run watch:esm\" \"npm run watch:typescript\"",
"dev": "npm link && npm run watch",
"format": "prettier . --write",
"lint": "eslint src",
"prepublishOnly": "npm run build:cjs && npm run build:esm && npm run build:typescript",
"preversion": "npm run build:typescript -- --noEmit"
},
"prettier": {
"proseWrap": "always",
"singleQuote": true,
"tabWidth": 4,
"printWidth": 2000
},
"eslintConfig": {
"extends": "@chayns-toolkit"
},
"dependencies": {
"@module-federation/enhanced": "^0.21.6",
"comlink": "4.3.1",
"htmlescape": "^1.1.1",
"lodash.throttle": "^4.1.1",
"ua-parser-js": "^1.0.41",
"use-sync-external-store": "^1.6.0"
},
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@chayns-toolkit/eslint-config": "^3.0.2",
"@rsbuild/plugin-umd": "^1.0.5",
"@types/htmlescape": "^1.1.3",
"@types/lodash.throttle": "^4.1.9",
"@types/prop-types": "^15.7.15",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"@types/ua-parser-js": "^0.7.39",
"@types/use-sync-external-store": "^1.5.0",
"chayns-toolkit": "^3.3.6",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"prettier": "^3.7.4",
"prettier-plugin-packagejson": "^2.5.20",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.9.3"
},
"peerDependencies": {
"react": "^16.8 || ^17.0.1 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8 || ^17.0.1 || ^18.0.0 || ^19.0.0"
},
"overrides": {
"chayns-toolkit": {
"@module-federation/enhanced": "^0.21.6"
}
}
}