forked from styled-components/styled-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
165 lines (165 loc) Β· 4.9 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "styled-components",
"version": "2.4.0",
"description": "Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress π
",
"main": "dist/styled-components.cjs.js",
"typings": "typings/styled-components.d.ts",
"jsnext:main": "dist/styled-components.es.js",
"module": "dist/styled-components.es.js",
"react-native": "dist/styled-components.native.js",
"scripts": {
"build": "rollup -c",
"prebuild": "rimraf dist",
"test": "npm run test:web && npm run test:native && npm run test:size",
"test:web": "jest --outputFile test-results.json --json",
"test:web:watch": "npm run test:web -- --watch",
"test:native": "jest -c .jest.native.json",
"test:native:watch": "npm run test:native -- --watch",
"test:primitives": "jest -c .jest.primitives.json",
"test:primitives:watch": "npm run test:primitives -- --watch",
"test:integration": "jest -c .jest.integration.json --forceExit",
"test:size": "bundlesize",
"danger": "cross-env NODE_ENV=test danger run -- --verbose",
"flow": "flow check",
"flow:watch": "flow-watch",
"format": "eslint ./**/*.js --fix",
"lint": "eslint src",
"tslint": "tslint typings/*.ts native/*.ts",
"typescript": "tsc --project ./typings/tests",
"precommit": "lint-staged",
"prepublish": "npm run build",
"lint-staged": "lint-staged",
"dev": "cross-env BABEL_ENV=cjs babel-node example/startServer.js",
"postinstall": "node ./_remove_rn_globals"
},
"repository": {
"type": "git",
"url": "git+https://github.com/styled-components/styled-components.git"
},
"files": [
"no-parser",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md",
"dist",
"docs",
"flow-typed",
"lib",
"native",
"primitives",
"src",
"typings"
],
"keywords": [
"react",
"css",
"css-in-js",
"styled-components"
],
"author": "Glen Maddern",
"license": "MIT",
"bugs": {
"url": "https://github.com/styled-components/styled-components/issues"
},
"homepage": "https://styled-components.com",
"dependencies": {
"buffer": "^5.0.3",
"css-to-react-native": "^2.0.3",
"fbjs": "^0.8.9",
"hoist-non-react-statics": "^1.2.0",
"is-plain-object": "^2.0.1",
"prop-types": "^15.5.4",
"stylis": "^3.4.0",
"supports-color": "^3.2.3"
},
"devDependencies": {
"@types/react": "^16",
"@types/react-dom": "^16",
"@types/react-native": "^0.46.0",
"babel-cli": "^6.22.2",
"babel-core": "^6.17.0",
"babel-eslint": "^7.1.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-flow-react-proptypes": "^2.1.3",
"babel-plugin-transform-class-properties": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.22.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.12",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "^6.22.0",
"bundlesize": "^0.13.2",
"chokidar": "^1.6.0",
"cross-env": "^5.1.1",
"danger": "^2.0.0",
"danger-plugin-jest": "^1.1.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^13.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-flowtype-errors": "^2.0.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.0.2",
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^6.8.0",
"express": "^4.14.1",
"flow-bin": "^0.47.0",
"flow-watch": "^1.1.1",
"husky": "^0.14.3",
"jest": "^20.0.4",
"jest-image-snapshot": "^2.2.0",
"jsdom": "^9.10.0",
"lint-staged": "^6.0.0",
"node-watch": "^0.4.1",
"prettier": "1.9.2",
"puppeteer": "^0.13.0",
"raf": "^3.4.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-native": "^0.46.0",
"react-primitives": "^0.4.2",
"react-test-renderer": "^16.0.0",
"rimraf": "^2.6.1",
"rollup": "^0.52.2",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^6.0.0",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-json": "^2.1.0",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-uglify": "^1.0.1",
"rollup-plugin-visualizer": "^0.1.5",
"tslint": "^4.3.1",
"typescript": "^2.4.1"
},
"peerDependencies": {
"react": ">= 0.14.0 < 17.0.0-0"
},
"jest": {
"clearMocks": true,
"roots": [
"<rootDir>/src/"
],
"setupFiles": [
"raf/polyfill",
"<rootDir>/src/test/enzymeSetup.js"
],
"testPathIgnorePatterns": [
"<rootDir>/src/native",
"<rootDir>/src/primitives"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"bundlesize": [
{
"path": "./dist/styled-components.min.js",
"threshold": "14.5kB"
}
]
}