-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 1.64 KB
/
package.json
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
{
"name": "nano-slots",
"version": "1.4.0",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "types/index.d.ts",
"sideEffects": false,
"repository": "[email protected]:exah/nano-slots.git",
"author": "Ivan Grishin <[email protected]>",
"license": "MIT",
"files": [
"cjs",
"esm",
"types"
],
"keywords": [
"react",
"slot",
"fill",
"composition",
"portal",
"lightweight"
],
"scripts": {
"build": "run-s build:*",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json",
"test": "jest",
"size": "size-limit",
"release": "np",
"preversion": "npm run build",
"prebuild": "rm -rf cjs esm types"
},
"size-limit": [
{
"path": "./esm/index.js",
"limit": "500 B"
}
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"./test-setup.js"
]
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.0",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/testing-library__jest-dom": "^5.14.5",
"csstype": "^3.1.1",
"jest": "^29.2.1",
"jest-environment-jsdom": "^29.2.1",
"np": "^7.6.2",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.1.0",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
}
}