UNPKG

5.68 kBJSONView Raw
1{
2 "name": "@mapbox/batfish",
3 "version": "1.11.2",
4 "description": "The React-powered static-site generator you didn't know you wanted",
5 "main": "dist/node/index.js",
6 "bin": {
7 "batfish": "bin/batfish.js"
8 },
9 "files": [
10 "bin",
11 "docs",
12 "modules",
13 "dist"
14 ],
15 "scripts": {
16 "lint-js": "eslint .",
17 "format": "prettier --write '**/*.js'",
18 "test-jest": "jest",
19 "lint-md": "remark-preset-davidtheclark docs/*.md *.md",
20 "lint-flow": "flow check",
21 "lint": "run-p --aggregate-output lint-js lint-md lint-flow",
22 "pretest": "npm run lint",
23 "test": "jest",
24 "build-webpack-modules": "del modules && babel src/webpack/public --out-dir modules --quiet",
25 "build-dist": "del dist && cd src && cpy '**/*.*' ../dist --parents && cd .. && flow-remove-types dist/ --out-dir dist/ --quiet && cpy src/node/index.js dist/node --rename index.js.flow",
26 "build": "run-p build-webpack-modules build-dist",
27 "prepublishOnly": "npm run build"
28 },
29 "repository": {
30 "type": "git",
31 "url": "git+https://github.com/mapbox/batfish.git"
32 },
33 "author": "Mapbox",
34 "license": "ISC",
35 "bugs": {
36 "url": "https://github.com/mapbox/batfish/issues"
37 },
38 "homepage": "https://github.com/mapbox/batfish#readme",
39 "lint-staged": {
40 "*.js": [
41 "eslint",
42 "prettier --write",
43 "git add"
44 ],
45 "{docs/*.md,README.md,CHANGELOG.md}": [
46 "remark-preset-davidtheclark",
47 "git add"
48 ],
49 "{bin/batfish.js,bin/write-cli-doc.js}": [
50 "bin/write-cli-doc.js",
51 "git add docs/cli.md"
52 ]
53 },
54 "husky": {
55 "hooks": {
56 "pre-commit": "lint-staged"
57 }
58 },
59 "prettier": {
60 "singleQuote": true,
61 "arrowParens": "always"
62 },
63 "babel": {
64 "presets": [
65 "env",
66 "react"
67 ],
68 "plugins": [
69 "transform-class-properties"
70 ]
71 },
72 "jest": {
73 "coverageReporters": [
74 "text",
75 "html"
76 ],
77 "roots": [
78 "./test"
79 ],
80 "testEnvironment": "node",
81 "clearMocks": true,
82 "setupFiles": [
83 "<rootDir>/test/test-util/jest-setup.js"
84 ],
85 "snapshotSerializers": [
86 "enzyme-to-json/serializer"
87 ]
88 },
89 "dependencies": {
90 "@babel/code-frame": "^7.0.0",
91 "@mapbox/babel-plugin-transform-jsxtreme-markdown": "^0.5.3",
92 "@mapbox/jsxtreme-markdown-loader": "^0.8.3",
93 "@mapbox/link-hijacker": "^1.1.0",
94 "@mapbox/link-to-location": "^1.0.0",
95 "@mapbox/postcss-html-filter": "^1.0.1",
96 "@mapbox/query-selector-contains-node": "^1.0.0",
97 "@mapbox/scroll-restorer": "^1.0.0",
98 "address": "^1.0.3",
99 "assets-webpack-plugin": "3.8.4",
100 "autoprefixer": "^9.4.4",
101 "babel-core": "^6.26.3",
102 "babel-loader": "^7.1.4",
103 "babel-plugin-syntax-dynamic-import": "^6.18.0",
104 "babel-plugin-transform-class-properties": "^6.24.1",
105 "babel-plugin-transform-object-rest-spread": "^6.26.0",
106 "babel-plugin-transform-react-jsx-self": "^6.22.0",
107 "babel-plugin-transform-react-jsx-source": "^6.22.0",
108 "babel-plugin-transform-react-remove-prop-types": "^0.4.13",
109 "babel-preset-env": "^1.7.0",
110 "babel-preset-react": "^6.24.1",
111 "browser-sync": "^2.26.7",
112 "chalk": "^2.4.2",
113 "chokidar": "^2.0.4",
114 "concat-with-sourcemaps": "^1.1.0",
115 "connect": "^3.6.6",
116 "connect-history-api-fallback": "^1.5.0",
117 "core-js": "^2.6.9",
118 "cpy": "^7.0.1",
119 "del": "^3.0.0",
120 "del-cli": "^1.1.0",
121 "es6-promise": "^4.2.5",
122 "fasterror": "^1.1.0",
123 "file-loader": "^1.1.11",
124 "get-port": "^4.1.0",
125 "globby": "^8.0.1",
126 "got": "^8.3.0",
127 "gray-matter": "^4.0.1",
128 "hasha": "^3.0.0",
129 "html-webpack-plugin": "^3.1.0",
130 "ignore-loader": "^0.1.2",
131 "indefinite": "^2.2.0",
132 "is-absolute-url": "^2.1.0",
133 "is-glob": "^4.0.0",
134 "loader-utils": "^1.1.0",
135 "lodash": "^4.17.11",
136 "meow": "^5.0.0",
137 "micromatch": "^3.1.10",
138 "mkdirp": "^0.5.1",
139 "nocache": "^2.0.0",
140 "p-try": "^2.0.0",
141 "path-type": "^3.0.0",
142 "pify": "^4.0.1",
143 "postcss": "^7.0.7",
144 "postcss-csso": "^3.0.0",
145 "postcss-url": "^8.0.0",
146 "pretty-error": "^2.1.1",
147 "pretty-ms": "^4.0.0",
148 "prop-types": "^15.6.1",
149 "resolve-from": "^4.0.0",
150 "serve-static": "^1.13.2",
151 "sitemap-static": "^0.4.4",
152 "slugg": "^1.2.1",
153 "source-map-support": "^0.5.9",
154 "tempy": "^0.2.1",
155 "time-stamp": "^2.2.0",
156 "uglify-js": "^3.4.9",
157 "webpack": "^4.39.1",
158 "webpack-cli": "^3.3.6",
159 "webpack-format-messages": "^1.0.2",
160 "webpack-merge": "^4.1.2",
161 "worker-farm": "^1.6.0"
162 },
163 "peerDependencies": {
164 "react": "^15.5.0 || ^16.0.0",
165 "react-dom": "^15.5.0 || ^16.0.0",
166 "react-helmet": "^5.2.0"
167 },
168 "devDependencies": {
169 "argv": "0.0.2",
170 "babel-cli": "^6.26.0",
171 "babel-eslint": "^10.0.1",
172 "cpy-cli": "^2.0.0",
173 "enzyme": "^3.8.0",
174 "enzyme-adapter-react-16": "^1.7.1",
175 "enzyme-to-json": "^3.3.5",
176 "eslint": "^5.12.0",
177 "eslint-plugin-filenames": "^1.3.2",
178 "eslint-plugin-flowtype": "^3.2.0",
179 "eslint-plugin-node": "^8.0.1",
180 "eslint-plugin-react": "^7.12.3",
181 "flow-bin": "^0.89.0",
182 "flow-remove-types": "^1.2.3",
183 "husky": "^1.3.1",
184 "jest": "^23.6.0",
185 "lint-staged": "^8.1.0",
186 "lorem-ipsum": "^1.0.6",
187 "moment": "^2.23.0",
188 "npm-run-all": "^4.1.5",
189 "prettier": "^1.15.3",
190 "ramda": "^0.26.1",
191 "react": "^16.2.0",
192 "react-dom": "^16.2.0",
193 "react-helmet": "^5.2.0",
194 "react-test-renderer": "^16.2.0",
195 "remark-preset-davidtheclark": "^0.8.1",
196 "rimraf": "^2.6.3",
197 "strip-ansi": "^5.0.0"
198 },
199 "optionalDependencies": {},
200 "engines": {
201 "node": ">=6",
202 "npm": ">=5"
203 }
204}