UNPKG

5.76 kBJSONView Raw
1{
2 "name": "@mapbox/batfish",
3 "version": "1.9.3",
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 "precommit": "lint-staged",
17 "lint-js": "eslint .",
18 "format": "prettier --write '{,src*/**/,bin/**/,test/**/,flow-typed/}*.js'",
19 "test-jest": "jest",
20 "lint-md-partial": "remark -u remark-preset-davidtheclark --frail --quiet --no-stdout --output --",
21 "lint-md": "npm run lint-md-partial -- docs/*.md *.md",
22 "lint-flow": "flow check",
23 "lint": "run-p --aggregate-output lint-js lint-md lint-flow",
24 "pretest": "npm run lint",
25 "test": "jest --maxWorkers=4",
26 "build-webpack-modules": "del modules && babel src/webpack/public --out-dir modules --quiet",
27 "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",
28 "build": "run-p build-webpack-modules build-dist",
29 "prepublishOnly": "npm run build"
30 },
31 "repository": {
32 "type": "git",
33 "url": "git+https://github.com/mapbox/batfish.git"
34 },
35 "author": "Mapbox",
36 "license": "ISC",
37 "bugs": {
38 "url": "https://github.com/mapbox/batfish/issues"
39 },
40 "homepage": "https://github.com/mapbox/batfish#readme",
41 "lint-staged": {
42 "**/*.js": [
43 "eslint",
44 "prettier --write",
45 "git add"
46 ],
47 "{docs/*.md,README.md,CHANGELOG.md}": [
48 "npm run lint-md-partial",
49 "git add"
50 ],
51 "{bin/batfish.js,bin/write-cli-doc.js}": [
52 "bin/write-cli-doc.js",
53 "git add docs/cli.md"
54 ]
55 },
56 "prettier": {
57 "singleQuote": true
58 },
59 "babel": {
60 "presets": [
61 "env",
62 "react"
63 ],
64 "plugins": [
65 "transform-class-properties"
66 ]
67 },
68 "jest": {
69 "coverageReporters": [
70 "text",
71 "html"
72 ],
73 "roots": [
74 "./test"
75 ],
76 "testEnvironment": "node",
77 "clearMocks": true,
78 "setupFiles": [
79 "<rootDir>/test/test-util/jest-setup.js"
80 ]
81 },
82 "dependencies": {
83 "@babel/code-frame": "^7.0.0-beta.42",
84 "@mapbox/babel-plugin-transform-jsxtreme-markdown": "^0.5.0",
85 "@mapbox/jsxtreme-markdown-loader": "^0.8.2",
86 "@mapbox/link-hijacker": "^1.1.0",
87 "@mapbox/link-to-location": "^1.0.0",
88 "@mapbox/postcss-html-filter": "^1.0.1",
89 "@mapbox/query-selector-contains-node": "^1.0.0",
90 "@mapbox/scroll-restorer": "^1.0.0",
91 "address": "^1.0.3",
92 "assets-webpack-plugin": "^3.5.1",
93 "autoprefixer": "^8.2.0",
94 "babel-core": "^6.26.0",
95 "babel-loader": "^7.1.4",
96 "babel-plugin-syntax-dynamic-import": "^6.18.0",
97 "babel-plugin-transform-class-properties": "^6.24.1",
98 "babel-plugin-transform-object-rest-spread": "^6.26.0",
99 "babel-plugin-transform-react-jsx-self": "^6.22.0",
100 "babel-plugin-transform-react-jsx-source": "^6.22.0",
101 "babel-plugin-transform-react-remove-prop-types": "^0.4.13",
102 "babel-preset-env": "^1.6.1",
103 "babel-preset-react": "^6.24.1",
104 "chalk": "^2.3.2",
105 "chokidar": "^2.0.3",
106 "concat-with-sourcemaps": "^1.0.5",
107 "connect": "^3.6.6",
108 "connect-history-api-fallback": "^1.5.0",
109 "cpy": "^6.0.0",
110 "del": "^3.0.0",
111 "del-cli": "^1.1.0",
112 "es6-promise": "^4.2.4",
113 "fasterror": "^1.1.0",
114 "file-loader": "^1.1.11",
115 "get-port": "^3.2.0",
116 "globby": "^8.0.1",
117 "got": "^8.3.0",
118 "gray-matter": "^3.1.1",
119 "hasha": "^3.0.0",
120 "html-webpack-plugin": "^3.1.0",
121 "ignore-loader": "^0.1.2",
122 "indefinite": "^2.1.1",
123 "is-absolute-url": "^2.1.0",
124 "is-glob": "^4.0.0",
125 "live-server": "^1.2.0",
126 "loader-utils": "^1.1.0",
127 "lodash": "^4.17.5",
128 "meow": "^4.0.0",
129 "micromatch": "^3.1.10",
130 "mkdirp": "^0.5.1",
131 "nocache": "^2.0.0",
132 "p-try": "^1.0.0",
133 "path-type": "^3.0.0",
134 "pify": "^3.0.0",
135 "postcss": "^6.0.21",
136 "postcss-csso": "^3.0.0",
137 "postcss-url": "^7.3.1",
138 "pretty-error": "^2.1.1",
139 "pretty-ms": "^3.1.0",
140 "prop-types": "^15.6.1",
141 "resolve-from": "^4.0.0",
142 "serve-static": "^1.13.2",
143 "sitemap-static": "^0.4.2",
144 "slugg": "^1.2.1",
145 "source-map-support": "^0.5.4",
146 "tempy": "^0.2.1",
147 "time-stamp": "^2.0.0",
148 "uglify-js": "^3.3.16",
149 "uglifyjs-webpack-plugin": "^1.2.4",
150 "webpack": "^3.11.0",
151 "webpack-format-messages": "^1.0.2",
152 "webpack-merge": "^4.1.2",
153 "worker-farm": "^1.6.0"
154 },
155 "peerDependencies": {
156 "react": "^15.5.0 || ^16.0.0",
157 "react-dom": "^15.5.0 || ^16.0.0",
158 "react-helmet": "^5.2.0"
159 },
160 "devDependencies": {
161 "argv": "0.0.2",
162 "babel-cli": "^6.26.0",
163 "babel-eslint": "^8.2.2",
164 "cpy-cli": "^1.0.1",
165 "enzyme": "^3.3.0",
166 "enzyme-adapter-react-16": "^1.1.1",
167 "enzyme-to-json": "^3.3.3",
168 "eslint": "^4.19.1",
169 "eslint-plugin-filenames": "^1.2.0",
170 "eslint-plugin-flowtype": "^2.46.1",
171 "eslint-plugin-node": "^6.0.1",
172 "eslint-plugin-react": "^7.7.0",
173 "flow-bin": "^0.68.0",
174 "flow-coverage-report": "^0.5.0",
175 "flow-remove-types": "^1.2.3",
176 "husky": "^0.14.3",
177 "jest": "^22.4.3",
178 "lint-staged": "^7.0.0",
179 "lorem-ipsum": "^1.0.4",
180 "moment": "^2.22.1",
181 "npm-run-all": "^4.1.2",
182 "prettier": "^1.11.1",
183 "ramda": "^0.25.0",
184 "react": "^16.2.0",
185 "react-dom": "^16.2.0",
186 "react-helmet": "^5.2.0",
187 "react-test-renderer": "^16.2.0",
188 "remark-cli": "^5.0.0",
189 "remark-preset-davidtheclark": "^0.7.0",
190 "rimraf": "^2.6.2",
191 "strip-ansi": "^4.0.0"
192 },
193 "optionalDependencies": {},
194 "engines": {
195 "node": ">=6",
196 "npm": ">=5"
197 }
198}