1 | {
|
2 | "name": "react-styleguidist",
|
3 | "description": "React components style guide generator",
|
4 | "version": "10.3.2",
|
5 | "homepage": "https://github.com/styleguidist/react-styleguidist",
|
6 | "author": {
|
7 | "name": "Artem Sapegin",
|
8 | "url": "http://sapegin.me/"
|
9 | },
|
10 | "repository": {
|
11 | "type": "git",
|
12 | "url": "https://github.com/styleguidist/react-styleguidist.git"
|
13 | },
|
14 | "bugs": {
|
15 | "url": "https://github.com/styleguidist/react-styleguidist/issues"
|
16 | },
|
17 | "license": "MIT",
|
18 | "main": "lib/scripts/index.js",
|
19 | "bin": {
|
20 | "styleguidist": "lib/bin/styleguidist.js"
|
21 | },
|
22 | "files": [
|
23 | "lib",
|
24 | "templates"
|
25 | ],
|
26 | "engines": {
|
27 | "node": ">=8.9"
|
28 | },
|
29 | "dependencies": {
|
30 | "@vxna/mini-html-webpack-template": "^1.0.0",
|
31 | "acorn": "~6.4.0",
|
32 | "acorn-jsx": "^5.1.0",
|
33 | "ast-types": "~0.13.2",
|
34 | "buble": "0.19.8",
|
35 | "clean-webpack-plugin": "^3.0.0",
|
36 | "clipboard-copy": "^3.1.0",
|
37 | "clsx": "^1.0.4",
|
38 | "common-dir": "^3.0.0",
|
39 | "copy-webpack-plugin": "^5.1.0",
|
40 | "core-js": "^3.3.5",
|
41 | "doctrine": "^3.0.0",
|
42 | "es6-object-assign": "~1.1.0",
|
43 | "es6-promise": "^4.2.8",
|
44 | "escodegen": "^1.12.0",
|
45 | "estree-walker": "~0.9.0",
|
46 | "findup": "^0.1.5",
|
47 | "function.name-polyfill": "^1.0.6",
|
48 | "github-slugger": "^1.2.1",
|
49 | "glob": "^7.1.5",
|
50 | "glogg": "^1.0.2",
|
51 | "is-directory": "^0.3.1",
|
52 | "javascript-stringify": "^2.0.0",
|
53 | "jss": "^10.0.0",
|
54 | "jss-plugin-camel-case": "^10.0.0",
|
55 | "jss-plugin-compose": "^10.0.0",
|
56 | "jss-plugin-default-unit": "^10.0.0",
|
57 | "jss-plugin-global": "^10.0.0",
|
58 | "jss-plugin-isolate": "^10.0.0",
|
59 | "jss-plugin-nested": "^10.0.0",
|
60 | "kleur": "^3.0.3",
|
61 | "leven": "^3.1.0",
|
62 | "listify": "^1.0.0",
|
63 | "loader-utils": "^1.2.3",
|
64 | "lodash": "^4.17.15",
|
65 | "lowercase-keys": "^2.0.0",
|
66 | "markdown-to-jsx": "^6.10.3",
|
67 | "mini-html-webpack-plugin": "^2.0.0",
|
68 | "mri": "^1.1.4",
|
69 | "ora": "^4.0.2",
|
70 | "prismjs": "^1.17.1",
|
71 | "prop-types": "^15.7.2",
|
72 | "q-i": "^2.0.1",
|
73 | "qss": "^2.0.3",
|
74 | "react-dev-utils": "^9.1.0",
|
75 | "react-docgen": "^4.1.1",
|
76 | "react-docgen-annotation-resolver": "^1.0.0",
|
77 | "react-docgen-displayname-handler": "^2.1.3",
|
78 | "react-group": "^3.0.2",
|
79 | "react-icons": "^3.8.0",
|
80 | "react-simple-code-editor": "^0.10.0",
|
81 | "recast": "~0.18.5",
|
82 | "remark": "^11.0.1",
|
83 | "strip-html-comments": "^1.0.0",
|
84 | "terser-webpack-plugin": "^2.2.1",
|
85 | "to-ast": "^1.0.0",
|
86 | "type-detect": "^4.0.8",
|
87 | "unist-util-visit": "^2.0.0",
|
88 | "webpack-dev-server": "^3.9.0",
|
89 | "webpack-merge": "^4.2.2"
|
90 | },
|
91 | "peerDependencies": {
|
92 | "react": ">=16.8",
|
93 | "react-dom": ">=16.8"
|
94 | },
|
95 | "devDependencies": {
|
96 | "@babel/cli": "^7.6.4",
|
97 | "@babel/core": "^7.6.4",
|
98 | "@babel/plugin-proposal-class-properties": "^7.5.5",
|
99 | "@babel/preset-env": "^7.6.3",
|
100 | "@babel/preset-flow": "^7.0.0",
|
101 | "@babel/preset-react": "^7.6.3",
|
102 | "@babel/preset-typescript": "^7.6.0",
|
103 | "@testing-library/jest-dom": "^4.2.3",
|
104 | "@testing-library/react": "^9.3.0",
|
105 | "@types/buble": "^0.19.2",
|
106 | "@types/copy-webpack-plugin": "^5.0.0",
|
107 | "@types/doctrine": "0.0.3",
|
108 | "@types/enzyme": "^3.10.3",
|
109 | "@types/escodegen": "0.0.6",
|
110 | "@types/estree": "^0.0.39",
|
111 | "@types/jest": "^24.0.21",
|
112 | "@types/keymirror": "^0.1.1",
|
113 | "@types/loader-utils": "^1.1.3",
|
114 | "@types/lodash": "^4.14.144",
|
115 | "@types/markdown-to-jsx": "^6.9.0",
|
116 | "@types/node": "^12.12.3",
|
117 | "@types/prismjs": "^1.16.0",
|
118 | "@types/react": "^16.9.11",
|
119 | "@types/react-dom": "^16.9.3",
|
120 | "@types/terser-webpack-plugin": "^2.2.0",
|
121 | "@types/type-detect": "^4.0.1",
|
122 | "@types/webpack-dev-server": "^3.4.0",
|
123 | "@types/webpack-env": "^1.14.1",
|
124 | "@typescript-eslint/eslint-plugin": "^2.6.0",
|
125 | "@typescript-eslint/parser": "^2.6.0",
|
126 | "babel-core": "^7.0.0-bridge.0",
|
127 | "babel-eslint": "^10.0.3",
|
128 | "babel-jest": "^24.9.0",
|
129 | "babel-loader": "^8.0.6",
|
130 | "cheerio": "^1.0.0-rc.3",
|
131 | "css-loader": "^3.2.0",
|
132 | "deabsdeep": "^1.0.6",
|
133 | "deepfreeze": "^2.0.0",
|
134 | "dog-names": "^2.0.0",
|
135 | "enzyme": "^3.10.0",
|
136 | "enzyme-adapter-react-16": "^1.15.1",
|
137 | "enzyme-to-json": "^3.4.3",
|
138 | "eslint": "^6.6.0",
|
139 | "eslint-config-tamia": "^7.1.1",
|
140 | "eslint-plugin-compat": "^3.3.0",
|
141 | "eslint-plugin-import": "^2.18.2",
|
142 | "eslint-plugin-jsx-a11y": "^6.2.3",
|
143 | "eslint-plugin-react": "^7.16.0",
|
144 | "file-loader": "^4.2.0",
|
145 | "flow-bin": "^0.95.1",
|
146 | "husky": "^3.0.9",
|
147 | "jest": "^24.9.0",
|
148 | "jest-serializer-html": "^7.0.0",
|
149 | "keymirror": "^0.1.1",
|
150 | "lint-staged": "^9.4.2",
|
151 | "memfs": "~2.15.5",
|
152 | "prettier": "1.18.2",
|
153 | "raf": "^3.4.1",
|
154 | "react": "^16.11.0",
|
155 | "react-dom": "^16.11.0",
|
156 | "react-test-renderer": "^16.11.0",
|
157 | "strip-shebang": "^1.0.2",
|
158 | "style-loader": "^1.0.0",
|
159 | "tapable": "^1.1.3",
|
160 | "typescript": "^3.6.4",
|
161 | "url-loader": "^2.2.0",
|
162 | "webpack": "^4.41.2",
|
163 | "webpack-cli": "^3.3.9"
|
164 | },
|
165 | "scripts": {
|
166 | "pretest": "npm run lint && npm run tscheck",
|
167 | "tscheck": "tsc -p . --noEmit",
|
168 | "test": "npm run test:jest",
|
169 | "posttest": "npm run format",
|
170 | "test:jest": "jest",
|
171 | "test:watch": "jest --watch",
|
172 | "test:coverage": "jest --coverage",
|
173 | "start": "node lib/bin/styleguidist.js server --config examples/basic/styleguide.config.js",
|
174 | "start:customised": "node lib/bin/styleguidist.js server --config examples/customised/styleguide.config.js",
|
175 | "start:sections": "node lib/bin/styleguidist.js server --config examples/sections/styleguide.config.js",
|
176 | "start:ui": "node lib/bin/styleguidist.js server",
|
177 | "lint": "eslint . --cache --fix --ext .js,.ts,.tsx",
|
178 | "compile": "babel --delete-dir-on-start --ignore **/__mocks__/*,**/__tests__/*,**/*.spec.*,**/*.d.ts --extensions '.js,.ts,.tsx' -d lib/ src/",
|
179 | "compile:types": "tsc -p ./tsconfig.types.json --emitDeclarationOnly",
|
180 | "compile:watch": "npm run compile -- --watch",
|
181 | "prepublishOnly": "npm run compile",
|
182 | "build:basic": "node lib/bin/styleguidist.js build --config examples/basic/styleguide.config.js",
|
183 | "build:customised": "node lib/bin/styleguidist.js build --config examples/customised/styleguide.config.js",
|
184 | "build:sections": "node lib/bin/styleguidist.js build --config examples/sections/styleguide.config.js",
|
185 | "test:browser:pre": "npm i --no-save puppeteer",
|
186 | "test:browser:basic": "node test/browser.js examples/basic/styleguide/index.html",
|
187 | "test:browser:customised": "node test/browser.js examples/customised/styleguide/index.html",
|
188 | "test:browser:sections": "node test/browser.js examples/sections/styleguide/index.html",
|
189 | "format": "prettier --write '**/*.{js,md,css}'",
|
190 | "test:cypress:pre": "npm i --no-save cypress@3.0.2 wait-on",
|
191 | "test:cypress:open": "cypress open",
|
192 | "test:cypress:run": "cypress run",
|
193 | "test:cypress:startServer": "node test/run.server.js",
|
194 | "test:cypress:startServer:post": "wait-on http://localhost:8082"
|
195 | },
|
196 | "jest": {
|
197 | "testURL": "http://localhost/",
|
198 | "setupFiles": [
|
199 | "./test/raf-polyfill.js",
|
200 | "./test/jestsetup.js"
|
201 | ],
|
202 | "setupFilesAfterEnv": [
|
203 | "@testing-library/jest-dom/extend-expect"
|
204 | ],
|
205 | "modulePaths": [
|
206 | "./src/client"
|
207 | ],
|
208 | "testPathIgnorePatterns": [
|
209 | "<rootDir>/lib/",
|
210 | "<rootDir>/examples/",
|
211 | "<rootDir>/test/"
|
212 | ],
|
213 | "coveragePathIgnorePatterns": [
|
214 | "<rootDir>/src/scripts/server.js",
|
215 | "<rootDir>/src/scripts/build.js"
|
216 | ],
|
217 | "snapshotSerializers": [
|
218 | "deabsdeep/serializer",
|
219 | "enzyme-to-json/serializer",
|
220 | "jest-serializer-html"
|
221 | ]
|
222 | },
|
223 | "keywords": [
|
224 | "react",
|
225 | "jsx",
|
226 | "styleguide",
|
227 | "style guide",
|
228 | "documentation",
|
229 | "docs",
|
230 | "generator",
|
231 | "component",
|
232 | "components"
|
233 | ],
|
234 | "browserslist": [
|
235 | "last 2 Chrome versions",
|
236 | "last 2 Opera versions",
|
237 | "last 2 Firefox versions",
|
238 | "last 2 Edge versions",
|
239 | "last 1 Safari version",
|
240 | "IE >= 11"
|
241 | ],
|
242 | "husky": {
|
243 | "hooks": {
|
244 | "pre-commit": "lint-staged"
|
245 | }
|
246 | },
|
247 | "lint-staged": {
|
248 | "*.{ts,tsx,js}": [
|
249 | "eslint --fix",
|
250 | "git add"
|
251 | ],
|
252 | "*.css": [
|
253 | "prettier --write",
|
254 | "git add"
|
255 | ],
|
256 | "*.md": [
|
257 | "prettier --write",
|
258 | "git add"
|
259 | ],
|
260 | "*.{ts,tsx,js,md,css}": [
|
261 | "prettier --write",
|
262 | "git add"
|
263 | ]
|
264 | },
|
265 | "funding": {
|
266 | "type": "opencollective",
|
267 | "url": "https://opencollective.com/styleguidist"
|
268 | }
|
269 | }
|