-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.24 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
{
"name": "@n4s/xcomponent",
"version": "7.0.0",
"private": false,
"type": "module",
"packageManager": "pnpm@10.3.0",
"scripts": {
"dev": "ladle dev",
"build": "vp run build:clean && vp run build:cjs && vp run build:mjs",
"build:cjs": "tsc -p tsconfig.cjs.json && cp ./cjs-package.json ./x/cjs/package.json",
"build:mjs": "tsc -p tsconfig.mjs.json",
"build:cjs:watch": "tsc -p tsconfig.cjs.json --watch",
"build:mjs:watch": "tsc -p tsconfig.mjs.json --watch",
"build:watch": "vp run build:clean && vp run '/(cjs|mjs):watch$/'",
"build:clean": "rm -rf ./x/*",
"test": "vp test",
"test:package": "pnpm run build && test ! -d x/cjs/__tests__ && test ! -d x/cjs/src && test ! -d x/mjs/__tests__ && test ! -d x/mjs/src && node --input-type=module -e \"import('@n4s/xcomponent')\" && node -e \"require('@n4s/xcomponent')\" && npm pack --dry-run"
},
"main": "./x/cjs/index.js",
"module": "./x/mjs/index.js",
"types": "./x/cjs/index.d.ts",
"exports": {
".": {
"import": "./x/mjs/index.js",
"require": "./x/cjs/index.js"
},
"./*": {
"import": "./x/mjs/*.js",
"require": "./x/cjs/*.js"
}
},
"files": [
"*.md",
"x/*"
],
"repository": {
"type": "git",
"url": "https://github.com/nfour/xcomponent"
},
"devDependencies": {
"@emotion/react": "^11.13.3",
"@ladle/react": "^4.1.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@types/node": "^22.5.4",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/ui": "^4.1.10",
"fetch-mock": "^11.1.3",
"history": "^5.3.0",
"jsdom": "^25.0.1",
"mobx": "^6.13.6",
"mobx-react-lite": "^4.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "~7.0.2",
"vite": "npm:@voidzero-dev/vite-plus-core@^0.2.5",
"vite-plus": "^0.2.5",
"vitest": "^4.1.10",
"xroute": "^15.8.1",
"zod": "^3.24.1"
},
"peerDependencies": {
"mobx": ">= 6",
"mobx-react-lite": ">= 4",
"react": ">= 18",
"react-dom": ">= 18"
},
"dependencies": {
"lodash-es": "^4.17.21",
"microdiff": "^1.4.0",
"remeda": "^2.14.0"
}
}