@mapbox/batfish
Version:
The React-powered static-site generator you didn't know you wanted
205 lines (204 loc) • 5.68 kB
JSON
{
"name": "@mapbox/batfish",
"version": "1.11.2",
"description": "The React-powered static-site generator you didn't know you wanted",
"main": "dist/node/index.js",
"bin": {
"batfish": "bin/batfish.js"
},
"files": [
"bin",
"docs",
"modules",
"dist"
],
"scripts": {
"lint-js": "eslint .",
"format": "prettier --write '**/*.js'",
"test-jest": "jest",
"lint-md": "remark-preset-davidtheclark docs/*.md *.md",
"lint-flow": "flow check",
"lint": "run-p --aggregate-output lint-js lint-md lint-flow",
"pretest": "npm run lint",
"test": "jest",
"build-webpack-modules": "del modules && babel src/webpack/public --out-dir modules --quiet",
"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",
"build": "run-p build-webpack-modules build-dist",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/batfish.git"
},
"author": "Mapbox",
"license": "ISC",
"bugs": {
"url": "https://github.com/mapbox/batfish/issues"
},
"homepage": "https://github.com/mapbox/batfish#readme",
"lint-staged": {
"*.js": [
"eslint",
"prettier --write",
"git add"
],
"{docs/*.md,README.md,CHANGELOG.md}": [
"remark-preset-davidtheclark",
"git add"
],
"{bin/batfish.js,bin/write-cli-doc.js}": [
"bin/write-cli-doc.js",
"git add docs/cli.md"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "always"
},
"babel": {
"presets": [
"env",
"react"
],
"plugins": [
"transform-class-properties"
]
},
"jest": {
"coverageReporters": [
"text",
"html"
],
"roots": [
"./test"
],
"testEnvironment": "node",
"clearMocks": true,
"setupFiles": [
"<rootDir>/test/test-util/jest-setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"dependencies": {
"@babel/code-frame": "^7.0.0",
"@mapbox/babel-plugin-transform-jsxtreme-markdown": "^0.5.3",
"@mapbox/jsxtreme-markdown-loader": "^0.8.3",
"@mapbox/link-hijacker": "^1.1.0",
"@mapbox/link-to-location": "^1.0.0",
"@mapbox/postcss-html-filter": "^1.0.1",
"@mapbox/query-selector-contains-node": "^1.0.0",
"@mapbox/scroll-restorer": "^1.0.0",
"address": "^1.0.3",
"assets-webpack-plugin": "3.8.4",
"autoprefixer": "^9.4.4",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx-self": "^6.22.0",
"babel-plugin-transform-react-jsx-source": "^6.22.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"browser-sync": "^2.26.7",
"chalk": "^2.4.2",
"chokidar": "^2.0.4",
"concat-with-sourcemaps": "^1.1.0",
"connect": "^3.6.6",
"connect-history-api-fallback": "^1.5.0",
"core-js": "^2.6.9",
"cpy": "^7.0.1",
"del": "^3.0.0",
"del-cli": "^1.1.0",
"es6-promise": "^4.2.5",
"fasterror": "^1.1.0",
"file-loader": "^1.1.11",
"get-port": "^4.1.0",
"globby": "^8.0.1",
"got": "^8.3.0",
"gray-matter": "^4.0.1",
"hasha": "^3.0.0",
"html-webpack-plugin": "^3.1.0",
"ignore-loader": "^0.1.2",
"indefinite": "^2.2.0",
"is-absolute-url": "^2.1.0",
"is-glob": "^4.0.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.11",
"meow": "^5.0.0",
"micromatch": "^3.1.10",
"mkdirp": "^0.5.1",
"nocache": "^2.0.0",
"p-try": "^2.0.0",
"path-type": "^3.0.0",
"pify": "^4.0.1",
"postcss": "^7.0.7",
"postcss-csso": "^3.0.0",
"postcss-url": "^8.0.0",
"pretty-error": "^2.1.1",
"pretty-ms": "^4.0.0",
"prop-types": "^15.6.1",
"resolve-from": "^4.0.0",
"serve-static": "^1.13.2",
"sitemap-static": "^0.4.4",
"slugg": "^1.2.1",
"source-map-support": "^0.5.9",
"tempy": "^0.2.1",
"time-stamp": "^2.2.0",
"uglify-js": "^3.4.9",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"webpack-format-messages": "^1.0.2",
"webpack-merge": "^4.1.2",
"worker-farm": "^1.6.0"
},
"peerDependencies": {
"react": "^15.5.0 || ^16.0.0",
"react-dom": "^15.5.0 || ^16.0.0",
"react-helmet": "^5.2.0"
},
"devDependencies": {
"argv": "0.0.2",
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.1",
"cpy-cli": "^2.0.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.12.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-react": "^7.12.3",
"flow-bin": "^0.89.0",
"flow-remove-types": "^1.2.3",
"husky": "^1.3.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"lorem-ipsum": "^1.0.6",
"moment": "^2.23.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.15.3",
"ramda": "^0.26.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-helmet": "^5.2.0",
"react-test-renderer": "^16.2.0",
"remark-preset-davidtheclark": "^0.8.1",
"rimraf": "^2.6.3",
"strip-ansi": "^5.0.0"
},
"optionalDependencies": {},
"engines": {
"node": ">=6",
"npm": ">=5"
}
}