UNPKG

4.25 kBJSONView Raw
1{
2 "name": "styled-components",
3 "version": "6.1.13",
4 "description": "CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.",
5 "types": "dist/index.d.ts",
6 "main": "dist/styled-components.cjs.js",
7 "module": "./dist/styled-components.esm.js",
8 "react-native": "native/dist/styled-components.native.cjs.js",
9 "browser": {
10 "./dist/styled-components.cjs.js": "./dist/styled-components.browser.cjs.js",
11 "./dist/styled-components.esm.js": "./dist/styled-components.browser.esm.js"
12 },
13 "sideEffects": false,
14 "scripts": {
15 "generateErrors": "node scripts/generateErrorMap.js",
16 "prebuild": "rimraf dist && yarn run generateErrors",
17 "build": "rollup -c",
18 "postbuild": "yarn run size",
19 "pretest": "yarn run generateErrors",
20 "test": "yarn run test:web && yarn run test:native",
21 "test:web": "jest -c jest.config.main.js",
22 "test:native": "jest -c jest.config.native.js --forceExit",
23 "test:integration": "jest -c jest.config.integration.js --runInBand --forceExit",
24 "size": "bundlewatch",
25 "prettier": "prettier src --write",
26 "prettier:check": "prettier src --check",
27 "prepublishOnly": "cp ../../README.md . && yarn run build"
28 },
29 "repository": {
30 "type": "git",
31 "url": "git+https://github.com/styled-components/styled-components.git"
32 },
33 "files": [
34 "LICENSE",
35 "README.md",
36 "dist",
37 "native",
38 "test-utils"
39 ],
40 "keywords": [
41 "react",
42 "css",
43 "css-in-js",
44 "styled-components",
45 "styling"
46 ],
47 "author": "Glen Maddern",
48 "license": "MIT",
49 "bugs": {
50 "url": "https://github.com/styled-components/styled-components/issues"
51 },
52 "homepage": "https://styled-components.com",
53 "dependencies": {
54 "@emotion/is-prop-valid": "1.2.2",
55 "@emotion/unitless": "0.8.1",
56 "@types/stylis": "4.2.5",
57 "css-to-react-native": "3.2.0",
58 "csstype": "3.1.3",
59 "postcss": "8.4.38",
60 "shallowequal": "1.1.0",
61 "stylis": "4.3.2",
62 "tslib": "2.6.2"
63 },
64 "peerDependencies": {
65 "react": ">= 16.8.0",
66 "react-dom": ">= 16.8.0"
67 },
68 "devDependencies": {
69 "@babel/core": "7.24.5",
70 "@babel/helper-module-imports": "7.24.3",
71 "@babel/plugin-external-helpers": "7.24.1",
72 "@babel/plugin-proposal-class-properties": "7.18.6",
73 "@babel/plugin-proposal-object-rest-spread": "7.20.7",
74 "@babel/plugin-transform-flow-strip-types": "7.24.1",
75 "@babel/preset-env": "7.24.5",
76 "@babel/preset-react": "7.24.1",
77 "@babel/preset-typescript": "7.24.1",
78 "@rollup/plugin-typescript": "11.1.6",
79 "@types/enzyme": "3.10.18",
80 "@types/jest": "29.5.12",
81 "@types/js-beautify": "1.14.3",
82 "@types/node": "18.19.31",
83 "@types/react": "17.0.80",
84 "@types/react-dom": "17.0.25",
85 "@types/react-frame-component": "4.1.6",
86 "@types/react-native": "0.69.26",
87 "@types/react-test-renderer": "17.0.9",
88 "@types/shallowequal": "1.1.5",
89 "babel-jest": "29.7.0",
90 "babel-plugin-add-module-exports": "1.0.4",
91 "babel-plugin-styled-components": "2.1.4",
92 "babel-plugin-tester": "10.1.0",
93 "bundlewatch": "0.3.3",
94 "jest": "29.7.0",
95 "jest-environment-jsdom": "29.7.0",
96 "jest-serializer-html": "7.1.0",
97 "jest-watch-typeahead": "2.2.2",
98 "js-beautify": "1.15.1",
99 "prettier": "3.2.5",
100 "prop-types": "15.8.1",
101 "react": "17.0.2",
102 "react-dom": "17.0.2",
103 "react-frame-component": "4.1.3",
104 "react-native": "0.70.15",
105 "react-test-renderer": "17.0.2",
106 "rollup": "3.29.4",
107 "rollup-plugin-commonjs": "10.1.0",
108 "rollup-plugin-json": "4.0.0",
109 "rollup-plugin-node-resolve": "5.2.0",
110 "rollup-plugin-replace": "2.2.0",
111 "rollup-plugin-sourcemaps": "0.6.3",
112 "rollup-plugin-terser": "7.0.2",
113 "stylis-plugin-rtl": "2.1.1",
114 "ts-toolbelt": "9.6.0",
115 "typescript": "5.4.5"
116 },
117 "bundlewatch": {
118 "files": [
119 {
120 "path": "./dist/styled-components.min.js",
121 "maxSize": "11.5kB"
122 }
123 ]
124 },
125 "collective": {
126 "type": "opencollective",
127 "url": "https://opencollective.com/styled-components"
128 },
129 "funding": {
130 "type": "opencollective",
131 "url": "https://opencollective.com/styled-components"
132 },
133 "engines": {
134 "node": ">= 16"
135 }
136}