UNPKG

2.55 kBJSONView Raw
1{
2 "name": "@emotion/styled",
3 "version": "11.11.0",
4 "description": "styled API for emotion",
5 "main": "dist/emotion-styled.cjs.js",
6 "module": "dist/emotion-styled.esm.js",
7 "types": "types/index.d.ts",
8 "license": "MIT",
9 "repository": "https://github.com/emotion-js/emotion/tree/main/packages/styled",
10 "scripts": {
11 "test:typescript": "dtslint types"
12 },
13 "dependencies": {
14 "@babel/runtime": "^7.18.3",
15 "@emotion/babel-plugin": "^11.11.0",
16 "@emotion/is-prop-valid": "^1.2.1",
17 "@emotion/serialize": "^1.1.2",
18 "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
19 "@emotion/utils": "^1.2.1"
20 },
21 "peerDependencies": {
22 "@emotion/react": "^11.0.0-rc.0",
23 "react": ">=16.8.0"
24 },
25 "peerDependenciesMeta": {
26 "@types/react": {
27 "optional": true
28 }
29 },
30 "devDependencies": {
31 "@definitelytyped/dtslint": "0.0.112",
32 "@emotion/react": "11.11.0",
33 "react": "16.14.0",
34 "typescript": "^4.5.5"
35 },
36 "publishConfig": {
37 "access": "public"
38 },
39 "files": [
40 "src",
41 "dist",
42 "base",
43 "types/*.d.ts",
44 "macro.*"
45 ],
46 "umd:main": "dist/emotion-styled.umd.min.js",
47 "browser": {
48 "./dist/emotion-styled.esm.js": "./dist/emotion-styled.browser.esm.js"
49 },
50 "exports": {
51 "./base": {
52 "module": {
53 "worker": "./base/dist/emotion-styled-base.worker.esm.js",
54 "browser": "./base/dist/emotion-styled-base.browser.esm.js",
55 "default": "./base/dist/emotion-styled-base.esm.js"
56 },
57 "import": "./base/dist/emotion-styled-base.cjs.mjs",
58 "default": "./base/dist/emotion-styled-base.cjs.js"
59 },
60 ".": {
61 "module": {
62 "worker": "./dist/emotion-styled.worker.esm.js",
63 "browser": "./dist/emotion-styled.browser.esm.js",
64 "default": "./dist/emotion-styled.esm.js"
65 },
66 "import": "./dist/emotion-styled.cjs.mjs",
67 "default": "./dist/emotion-styled.cjs.js"
68 },
69 "./package.json": "./package.json",
70 "./macro": {
71 "types": {
72 "import": "./macro.d.mts",
73 "default": "./macro.d.ts"
74 },
75 "default": "./macro.js"
76 }
77 },
78 "preconstruct": {
79 "umdName": "emotionStyled",
80 "entrypoints": [
81 "./index.js",
82 "./base.js"
83 ],
84 "exports": {
85 "envConditions": [
86 "browser",
87 "worker"
88 ],
89 "extra": {
90 "./macro": {
91 "types": {
92 "import": "./macro.d.mts",
93 "default": "./macro.d.ts"
94 },
95 "default": "./macro.js"
96 }
97 }
98 }
99 }
100}