1 | {
|
2 | "name": "react-styleguidist",
|
3 | "description": "React components style guide generator",
|
4 | "version": "9.1.13",
|
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": ">=6.4"
|
28 | },
|
29 | "dependencies": {
|
30 | "@vxna/mini-html-webpack-template": "^0.1.7",
|
31 | "acorn": "^6.1.1",
|
32 | "acorn-jsx": "^5.0.1",
|
33 | "ast-types": "^0.12.2",
|
34 | "buble": "0.19.7",
|
35 | "clean-webpack-plugin": "^1.0.1",
|
36 | "clipboard-copy": "^3.0.0",
|
37 | "clsx": "^1.0.3",
|
38 | "common-dir": "^2.0.2",
|
39 | "copy-webpack-plugin": "^4.6.0",
|
40 | "core-js": "^3.0.0",
|
41 | "doctrine": "^3.0.0",
|
42 | "es6-object-assign": "~1.1.0",
|
43 | "es6-promise": "^4.2.6",
|
44 | "escodegen": "^1.11.1",
|
45 | "estree-walker": "^0.6.0",
|
46 | "findup": "^0.1.5",
|
47 | "function.name-polyfill": "^1.0.6",
|
48 | "github-slugger": "^1.2.1",
|
49 | "glob": "^7.1.3",
|
50 | "glogg": "^1.0.2",
|
51 | "is-directory": "^0.3.1",
|
52 | "javascript-stringify": "^1.6.0",
|
53 | "jss": "^9.8.7",
|
54 | "jss-camel-case": "^6.1.0",
|
55 | "jss-compose": "^5.0.0",
|
56 | "jss-default-unit": "^8.0.2",
|
57 | "jss-global": "^3.0.0",
|
58 | "jss-isolate": "^5.1.0",
|
59 | "jss-nested": "^6.0.1",
|
60 | "kleur": "^3.0.2",
|
61 | "leven": "^2.1.0",
|
62 | "listify": "^1.0.0",
|
63 | "loader-utils": "^1.2.3",
|
64 | "lodash": "^4.17.11",
|
65 | "lowercase-keys": "^1.0.1",
|
66 | "markdown-to-jsx": "^6.9.3",
|
67 | "mini-html-webpack-plugin": "^0.2.3",
|
68 | "mri": "^1.1.4",
|
69 | "ora": "^3.2.0",
|
70 | "prismjs": "^1.16.0",
|
71 | "prop-types": "^15.7.2",
|
72 | "q-i": "^2.0.1",
|
73 | "qss": "^2.0.3",
|
74 | "react-dev-utils": "^6.1.1",
|
75 | "react-docgen": "^4.1.0",
|
76 | "react-docgen-annotation-resolver": "^1.0.0",
|
77 | "react-docgen-displayname-handler": "^2.1.1",
|
78 | "react-group": "^3.0.0",
|
79 | "react-icons": "^3.7.0",
|
80 | "react-lifecycles-compat": "^3.0.4",
|
81 | "react-simple-code-editor": "^0.9.7",
|
82 | "recast": "^0.17.4",
|
83 | "remark": "^10.0.1",
|
84 | "rewrite-imports": "1.2.0",
|
85 | "strip-html-comments": "^1.0.0",
|
86 | "terser-webpack-plugin": "^1.2.3",
|
87 | "to-ast": "^1.0.0",
|
88 | "type-detect": "^4.0.8",
|
89 | "unist-util-visit": "^1.4.0",
|
90 | "webpack-dev-server": "^3.2.1",
|
91 | "webpack-merge": "^4.2.1"
|
92 | },
|
93 | "peerDependencies": {
|
94 | "react": ">=15",
|
95 | "react-dom": ">=15"
|
96 | },
|
97 | "devDependencies": {
|
98 | "@babel/cli": "^7.2.3",
|
99 | "@babel/core": "^7.4.0",
|
100 | "@babel/plugin-proposal-class-properties": "^7.4.0",
|
101 | "@babel/preset-env": "^7.4.2",
|
102 | "@babel/preset-flow": "^7.0.0",
|
103 | "@babel/preset-react": "^7.0.0",
|
104 | "babel-core": "^7.0.0-bridge.0",
|
105 | "babel-eslint": "^10.0.1",
|
106 | "babel-jest": "^24.5.0",
|
107 | "babel-loader": "^8.0.5",
|
108 | "cheerio": "^1.0.0-rc.2",
|
109 | "css-loader": "^2.1.1",
|
110 | "deabsdeep": "^1.0.6",
|
111 | "deepfreeze": "^2.0.0",
|
112 | "dog-names": "^1.0.2",
|
113 | "enzyme": "^3.9.0",
|
114 | "enzyme-adapter-react-16": "^1.11.2",
|
115 | "enzyme-to-json": "^3.3.5",
|
116 | "eslint": "^5.15.3",
|
117 | "eslint-config-tamia": "^6.0.2",
|
118 | "eslint-plugin-compat": "^2.7.0",
|
119 | "eslint-plugin-import": "^2.16.0",
|
120 | "eslint-plugin-jsx-a11y": "^6.2.1",
|
121 | "eslint-plugin-react": "^7.12.4",
|
122 | "file-loader": "^3.0.1",
|
123 | "flow-bin": "^0.95.1",
|
124 | "husky": "^1.3.1",
|
125 | "jest": "^24.5.0",
|
126 | "jest-serializer-html": "^6.0.0",
|
127 | "keymirror": "^0.1.1",
|
128 | "lint-staged": "^8.1.5",
|
129 | "memfs": "^2.15.2",
|
130 | "prettier": "1.16.4",
|
131 | "raf": "^3.4.1",
|
132 | "react": "^16.8.5",
|
133 | "react-dom": "^16.8.5",
|
134 | "react-test-renderer": "^16.8.5",
|
135 | "strip-shebang": "^1.0.2",
|
136 | "style-loader": "^0.23.1",
|
137 | "url-loader": "^1.1.2",
|
138 | "webpack": "^4.29.6",
|
139 | "webpack-cli": "^3.3.0"
|
140 | },
|
141 | "scripts": {
|
142 | "pretest": "npm run lint",
|
143 | "test": "npm run test:jest",
|
144 | "posttest": "npm run format",
|
145 | "test:jest": "jest",
|
146 | "test:watch": "jest --watch",
|
147 | "test:coverage": "jest --coverage",
|
148 | "start": "node lib/bin/styleguidist.js server --config examples/basic/styleguide.config.js",
|
149 | "start:customised": "node lib/bin/styleguidist.js server --config examples/customised/styleguide.config.js",
|
150 | "start:sections": "node lib/bin/styleguidist.js server --config examples/sections/styleguide.config.js",
|
151 | "start:ui": "node lib/bin/styleguidist.js server",
|
152 | "lint": "eslint . --cache --fix",
|
153 | "flow": "flow",
|
154 | "compile": "babel --delete-dir-on-start --ignore '**/*.spec.js','**/__*__/*' -d lib/ src/",
|
155 | "compile:watch": "npm run compile -- --watch",
|
156 | "prepublishOnly": "npm run compile",
|
157 | "build:basic": "node lib/bin/styleguidist.js build --config examples/basic/styleguide.config.js",
|
158 | "build:customised": "node lib/bin/styleguidist.js build --config examples/customised/styleguide.config.js",
|
159 | "build:sections": "node lib/bin/styleguidist.js build --config examples/sections/styleguide.config.js",
|
160 | "test:browser:pre": "npm i --no-save puppeteer",
|
161 | "test:browser:basic": "node test/browser.js examples/basic/styleguide/index.html",
|
162 | "test:browser:customised": "node test/browser.js examples/customised/styleguide/index.html",
|
163 | "test:browser:sections": "node test/browser.js examples/sections/styleguide/index.html",
|
164 | "precommit": "lint-staged",
|
165 | "format": "prettier --write '**/*.{js,md,css}'",
|
166 | "test:cypress:pre": "npm i --no-save cypress@3.0.2 wait-on",
|
167 | "test:cypress:open": "cypress open",
|
168 | "test:cypress:run": "cypress run",
|
169 | "test:cypress:startServer": "node test/run.server.js",
|
170 | "test:cypress:startServer:post": "wait-on http://localhost:8082"
|
171 | },
|
172 | "jest": {
|
173 | "testURL": "http://localhost/",
|
174 | "setupFiles": [
|
175 | "./test/raf-polyfill.js",
|
176 | "./test/jestsetup.js"
|
177 | ],
|
178 | "modulePaths": [
|
179 | "./src/client"
|
180 | ],
|
181 | "testPathIgnorePatterns": [
|
182 | "<rootDir>/lib/",
|
183 | "<rootDir>/examples/",
|
184 | "<rootDir>/test/"
|
185 | ],
|
186 | "coveragePathIgnorePatterns": [
|
187 | "<rootDir>/src/scripts/server.js",
|
188 | "<rootDir>/src/scripts/build.js"
|
189 | ],
|
190 | "snapshotSerializers": [
|
191 | "deabsdeep/serializer",
|
192 | "enzyme-to-json/serializer",
|
193 | "jest-serializer-html"
|
194 | ]
|
195 | },
|
196 | "keywords": [
|
197 | "react",
|
198 | "jsx",
|
199 | "styleguide",
|
200 | "style guide",
|
201 | "documentation",
|
202 | "docs",
|
203 | "generator",
|
204 | "component",
|
205 | "components"
|
206 | ],
|
207 | "browserslist": [
|
208 | "last 2 Chrome versions",
|
209 | "last 2 Opera versions",
|
210 | "last 2 Firefox versions",
|
211 | "last 2 Edge versions",
|
212 | "last 1 Safari version",
|
213 | "IE >= 11"
|
214 | ],
|
215 | "lint-staged": {
|
216 | "*.js": [
|
217 | "eslint --fix",
|
218 | "prettier --write",
|
219 | "git add"
|
220 | ],
|
221 | "*.css": [
|
222 | "prettier --write",
|
223 | "git add"
|
224 | ],
|
225 | "*.md": [
|
226 | "prettier --write",
|
227 | "git add"
|
228 | ]
|
229 | }
|
230 | }
|