-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.08 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.08 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
{
"name": "react-shadow-scope",
"version": "2.0.3",
"description": "Brings Shadow DOM CSS encapsulation to React, along with a DSD-compatible template element.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"/dist",
"/package.json",
"/README.md",
"/LICENSE"
],
"scripts": {
"demo": "cd demo/react && rm -rf node_modules && npm i && npm start",
"demo:next": "cd demo/next && rm -rf node_modules && npm i && npm start",
"build": "tsup src/index.ts --format cjs,esm --dts --no-clean",
"lint": "tsc --noEmit && eslint .",
"test": "vitest",
"coverage": "vitest run --coverage",
"upgrade:react": "npm i react@latest react-dom@latest @types/react@latest @types/react-dom@latest -D"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jonathandewitt-dev/react-shadow-scope.git"
},
"keywords": [
"css",
"scoped css",
"css encapsulation",
"encapsulated css",
"shadow dom",
"shadow dom encapsulation",
"declarative shadow dom"
],
"author": "Jonathan DeWitt",
"license": "MIT",
"bugs": {
"url": "https://github.com/jonathandewitt-dev/react-shadow-scope/issues"
},
"homepage": "https://github.com/jonathandewitt-dev/react-shadow-scope#readme",
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-istanbul": "^3.0.9",
"@vitest/ui": "^3.0.9",
"eslint": "^9.16.0",
"express": "^4.18.2",
"globals": "^15.13.0",
"happy-dom": "^17.4.4",
"jsdom": "^26.0.0",
"playwright": "^1.49.0",
"playwright-core": "^1.49.0",
"prettier": "^3.4.2",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"vitest": "^3.0.9"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
}
}