UNPKG

5.66 kBJSONView Raw
1{
2 "name": "@mapbox/batfish",
3 "version": "1.10.0",
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.3",
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 "cpy": "^7.0.1",
118 "del": "^3.0.0",
119 "del-cli": "^1.1.0",
120 "es6-promise": "^4.2.5",
121 "fasterror": "^1.1.0",
122 "file-loader": "^1.1.11",
123 "get-port": "^4.1.0",
124 "globby": "^8.0.1",
125 "got": "^8.3.0",
126 "gray-matter": "^4.0.1",
127 "hasha": "^3.0.0",
128 "html-webpack-plugin": "^3.1.0",
129 "ignore-loader": "^0.1.2",
130 "indefinite": "^2.2.0",
131 "is-absolute-url": "^2.1.0",
132 "is-glob": "^4.0.0",
133 "loader-utils": "^1.1.0",
134 "lodash": "^4.17.11",
135 "meow": "^5.0.0",
136 "micromatch": "^3.1.10",
137 "mkdirp": "^0.5.1",
138 "nocache": "^2.0.0",
139 "p-try": "^2.0.0",
140 "path-type": "^3.0.0",
141 "pify": "^4.0.1",
142 "postcss": "^7.0.7",
143 "postcss-csso": "^3.0.0",
144 "postcss-url": "^8.0.0",
145 "pretty-error": "^2.1.1",
146 "pretty-ms": "^4.0.0",
147 "prop-types": "^15.6.1",
148 "resolve-from": "^4.0.0",
149 "serve-static": "^1.13.2",
150 "sitemap-static": "^0.4.4",
151 "slugg": "^1.2.1",
152 "source-map-support": "^0.5.9",
153 "tempy": "^0.2.1",
154 "time-stamp": "^2.2.0",
155 "uglify-js": "^3.4.9",
156 "webpack": "^4.39.1",
157 "webpack-cli": "^3.3.6",
158 "webpack-format-messages": "^1.0.2",
159 "webpack-merge": "^4.1.2",
160 "worker-farm": "^1.6.0"
161 },
162 "peerDependencies": {
163 "react": "^15.5.0 || ^16.0.0",
164 "react-dom": "^15.5.0 || ^16.0.0",
165 "react-helmet": "^5.2.0"
166 },
167 "devDependencies": {
168 "argv": "0.0.2",
169 "babel-cli": "^6.26.0",
170 "babel-eslint": "^10.0.1",
171 "cpy-cli": "^2.0.0",
172 "enzyme": "^3.8.0",
173 "enzyme-adapter-react-16": "^1.7.1",
174 "enzyme-to-json": "^3.3.5",
175 "eslint": "^5.12.0",
176 "eslint-plugin-filenames": "^1.3.2",
177 "eslint-plugin-flowtype": "^3.2.0",
178 "eslint-plugin-node": "^8.0.1",
179 "eslint-plugin-react": "^7.12.3",
180 "flow-bin": "^0.89.0",
181 "flow-remove-types": "^1.2.3",
182 "husky": "^1.3.1",
183 "jest": "^23.6.0",
184 "lint-staged": "^8.1.0",
185 "lorem-ipsum": "^1.0.6",
186 "moment": "^2.23.0",
187 "npm-run-all": "^4.1.5",
188 "prettier": "^1.15.3",
189 "ramda": "^0.26.1",
190 "react": "^16.2.0",
191 "react-dom": "^16.2.0",
192 "react-helmet": "^5.2.0",
193 "react-test-renderer": "^16.2.0",
194 "remark-preset-davidtheclark": "^0.8.1",
195 "rimraf": "^2.6.3",
196 "strip-ansi": "^5.0.0"
197 },
198 "optionalDependencies": {},
199 "engines": {
200 "node": ">=6",
201 "npm": ">=5"
202 }
203}