Skip to content

Commit 0f7769f

Browse files
committed
Formatting
1 parent 74cc4c5 commit 0f7769f

File tree

2 files changed

+112
-94
lines changed

2 files changed

+112
-94
lines changed

package-lock.json

+73-61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+39-33
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@
1919
"bin": {
2020
"styleguidist": "bin/styleguidist.js"
2121
},
22-
"files": ["bin", "lib", "loaders", "scripts"],
22+
"files": [
23+
"bin",
24+
"lib",
25+
"loaders",
26+
"scripts"
27+
],
2328
"engines": {
2429
"node": ">=4",
2530
"npm": ">=3"
@@ -66,7 +71,7 @@
6671
"q-i": "^1.1.4",
6772
"react-codemirror2": "^2.0.2",
6873
"react-dev-utils": "^3.0.2",
69-
"react-docgen": "^3.0.0-beta7",
74+
"react-docgen": "^3.0.0-beta8",
7075
"react-docgen-displayname-handler": "^1.0.1",
7176
"react-group": "^1.0.5",
7277
"react-icons": "^2.2.7",
@@ -75,7 +80,7 @@
7580
"style-loader": "^0.18.2",
7681
"to-ast": "^1.0.0",
7782
"type-detect": "^4.0.3",
78-
"uglifyjs-webpack-plugin": "^1.0.0-beta.2",
83+
"uglifyjs-webpack-plugin": "1.0.0-beta.3",
7984
"unist-util-visit": "^1.1.3",
8085
"webpack-dev-server": "^2.8.2",
8186
"webpack-merge": "^4.1.0",
@@ -99,8 +104,8 @@
99104
"danger": "^1.2.0",
100105
"dog-names": "^1.0.2",
101106
"enzyme": "^3.1.0",
102-
"enzyme-adapter-react-16": "^1.0.1",
103-
"enzyme-to-json": "^3.1.2",
107+
"enzyme-adapter-react-16": "^1.0.2",
108+
"enzyme-to-json": "^3.1.4",
104109
"eslint": "^4.7.2",
105110
"eslint-config-tamia": "^4.2.3",
106111
"eslint-plugin-compat": "^1.0.4",
@@ -120,7 +125,6 @@
120125
"raf": "^3.4.0",
121126
"react": "^16.0.0",
122127
"react-dom": "^16.0.0",
123-
"react-modal": "^2.2.2",
124128
"react-test-renderer": "^16.0.0",
125129
"rimraf": "^2.6.2",
126130
"semantic-release": "^6.3.6",
@@ -135,39 +139,28 @@
135139
"test:jest": "jest",
136140
"test:watch": "jest --watch",
137141
"test:coverage": "jest --coverage",
138-
"start":
139-
"bin/styleguidist.js server --config examples/basic/styleguide.config.js",
140-
"start:customised":
141-
"bin/styleguidist.js server --config examples/customised/styleguide.config.js",
142-
"start:sections":
143-
"bin/styleguidist.js server --config examples/sections/styleguide.config.js",
144-
"start:express":
145-
"bin/styleguidist.js server --config examples/express/styleguide.config.js",
146-
"start:preact":
147-
"bin/styleguidist.js server --config examples/preact/styleguide.config.js",
142+
"start": "bin/styleguidist.js server --config examples/basic/styleguide.config.js",
143+
"start:customised": "bin/styleguidist.js server --config examples/customised/styleguide.config.js",
144+
"start:sections": "bin/styleguidist.js server --config examples/sections/styleguide.config.js",
145+
"start:express": "bin/styleguidist.js server --config examples/express/styleguide.config.js",
146+
"start:preact": "bin/styleguidist.js server --config examples/preact/styleguide.config.js",
148147
"start:cra": "cd examples/cra && ../../bin/styleguidist.js server",
149148
"start:webpack": "cd examples/webpack && ../../bin/styleguidist.js server",
150149
"lint": "eslint . --cache --fix",
151150
"lint-staged": "lint-staged",
152151
"precompile": "rimraf lib/",
153152
"compile": "babel --ignore '*.spec.js' -d lib/ src/",
154153
"compile:watch": "babel --ignore '*.spec.js' --watch -d lib/ src/",
155-
"build":
156-
"bin/styleguidist.js build --config examples/basic/styleguide.config.js",
157-
"build:customised":
158-
"bin/styleguidist.js build --config examples/customised/styleguide.config.js",
159-
"build:sections":
160-
"bin/styleguidist.js build --config examples/sections/styleguide.config.js",
154+
"build": "bin/styleguidist.js build --config examples/basic/styleguide.config.js",
155+
"build:customised": "bin/styleguidist.js build --config examples/customised/styleguide.config.js",
156+
"build:sections": "bin/styleguidist.js build --config examples/sections/styleguide.config.js",
161157
"prepublish": "npm run compile",
162158
"publish": "npm run build",
163159
"test:browser:pre": "npm i --no-save puppeteer",
164160
"test:browser": "node test/browser.js examples/basic/styleguide/index.html",
165-
"test:browser:customised":
166-
"node test/browser.js examples/customised/styleguide/index.html",
167-
"test:browser:sections":
168-
"node test/browser.js examples/sections/styleguide/index.html",
169-
"semantic-release":
170-
"semantic-release pre && npm publish && semantic-release post",
161+
"test:browser:customised": "node test/browser.js examples/customised/styleguide/index.html",
162+
"test:browser:sections": "node test/browser.js examples/sections/styleguide/index.html",
163+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
171164
"danger": "danger",
172165
"precommit": "lint-staged"
173166
},
@@ -177,19 +170,29 @@
177170
"verifyRelease": "semantic-release-tamia/verifyRelease"
178171
},
179172
"jest": {
180-
"setupFiles": ["./test/raf-polyfill.js", "./test/jestsetup.js"],
181-
"modulePaths": ["./src"],
173+
"setupFiles": [
174+
"./test/raf-polyfill.js",
175+
"./test/jestsetup.js"
176+
],
177+
"modulePaths": [
178+
"./src"
179+
],
182180
"moduleNameMapper": {
183181
"^.+\\.css$": "identity-obj-proxy"
184182
},
185-
"testPathIgnorePatterns": ["<rootDir>/lib/", "<rootDir>/examples/"],
183+
"testPathIgnorePatterns": [
184+
"<rootDir>/lib/",
185+
"<rootDir>/examples/"
186+
],
186187
"coveragePathIgnorePatterns": [
187188
"<rootDir>/src/utils/markdown-to-jsx.js",
188189
"<rootDir>/scripts/server.js",
189190
"<rootDir>/scripts/build.js",
190191
"<rootDir>/test/jestsetup.js"
191192
],
192-
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"]
193+
"snapshotSerializers": [
194+
"<rootDir>/node_modules/enzyme-to-json/serializer"
195+
]
193196
},
194197
"keywords": [
195198
"react",
@@ -203,6 +206,9 @@
203206
"components"
204207
],
205208
"lint-staged": {
206-
"*.js": ["eslint --fix", "git add"]
209+
"*.js": [
210+
"eslint --fix",
211+
"git add"
212+
]
207213
}
208214
}

0 commit comments

Comments
 (0)