@mapbox/batfish
Version:
The React-powered static-site generator you didn't know you wanted
193 lines (192 loc) • 5.68 kB
JSON
{
"name": "@mapbox/batfish",
"version": "1.1.0",
"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": {
"precommit": "lint-staged",
"lint-js": "eslint .",
"format": "prettier --single-quote --write '{,src*/**/,bin/**/,test/**/,flow-typed/}*.js'",
"test-jest": "jest",
"lint-md-partial": "remark -u remark-preset-davidtheclark --frail --quiet --no-stdout --output --",
"lint-md": "npm run lint-md-partial -- docs/*.md *.md",
"lint-flow": "flow check",
"lint": "run-p --aggregate-output lint-js lint-md lint-flow",
"pretest": "npm run lint",
"test": "jest --maxWorkers=4",
"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 --single-quote --write",
"git add"
],
"{docs/*.md,README.md,CHANGELOG.md}": [
"npm run lint-md-partial",
"git add"
],
"{bin/batfish.js,bin/write-cli-doc.js}": [
"bin/write-cli-doc.js",
"git add docs/cli.md"
]
},
"prettier": {
"singleQuote": true
},
"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"
]
},
"dependencies": {
"@mapbox/babel-plugin-transform-jsxtreme-markdown": "^0.4.2",
"@mapbox/jsxtreme-markdown-loader": "^0.5.3",
"@mapbox/link-hijacker": "^1.1.0",
"@mapbox/link-to-location": "^1.0.0",
"@mapbox/postcss-html-filter": "^1.0.0",
"@mapbox/query-selector-contains-node": "^1.0.0",
"@mapbox/scroll-restorer": "^1.0.0",
"assets-webpack-plugin": "^3.5.1",
"autoprefixer": "^8.0.0",
"babel-loader": "^7.1.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"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-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.26.0",
"browser-sync": "^2.23.6",
"chalk": "^2.3.1",
"chokidar": "^2.0.2",
"concat-with-sourcemaps": "^1.0.5",
"connect-history-api-fallback": "^1.5.0",
"cpy": "^6.0.0",
"del": "^3.0.0",
"del-cli": "^1.1.0",
"es6-promise": "^4.2.4",
"fasterror": "^1.1.0",
"file-loader": "^1.1.8",
"get-port": "^3.2.0",
"globby": "^8.0.1",
"got": "^8.2.0",
"gray-matter": "^3.1.1",
"hasha": "^3.0.0",
"html-webpack-plugin": "^2.30.1",
"ignore-loader": "^0.1.2",
"indefinite": "^2.1.1",
"is-glob": "^4.0.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.5",
"meow": "^4.0.0",
"micromatch": "^3.1.9",
"mkdirp": "^0.5.1",
"p-try": "^1.0.0",
"pify": "^3.0.0",
"postcss": "^6.0.19",
"postcss-csso": "^3.0.0",
"postcss-url": "^7.3.0",
"postcss-values-parser": "^1.3.2",
"prettier": "^1.11.1",
"pretty-error": "^2.1.1",
"prop-types": "^15.6.0",
"remark-lint-no-dead-urls": "^0.3.0",
"remark-toc": "^5.0.0",
"resolve-from": "^4.0.0",
"sitemap-static": "^0.4.2",
"slugg": "^1.2.1",
"source-map-support": "^0.5.3",
"tempy": "^0.2.1",
"time-stamp": "^2.0.0",
"uglify-js": "^3.3.11",
"uglifyjs-webpack-plugin": "^1.2.0",
"webpack": "^3.11.0",
"webpack-chunk-hash": "^0.5.0",
"webpack-format-messages": "^1.0.1",
"webpack-merge": "^4.1.1",
"worker-farm": "^1.5.2"
},
"peerDependencies": {
"react": "^15.5.0 || ^16.0.0",
"react-dom": "^15.5.0 || ^16.0.0",
"react-helmet": "^5.2.0"
},
"devDependencies": {
"@mapbox/vnu-validate-html": "^0.1.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.2",
"cpy-cli": "^1.0.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.1",
"eslint": "^4.18.1",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-flowtype": "^2.45.0",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.66.0",
"flow-coverage-report": "^0.4.1",
"flow-remove-types": "^1.2.3",
"husky": "^0.14.3",
"jest": "^22.4.2",
"lint-staged": "^7.0.0",
"npm-run-all": "^4.1.2",
"path-type": "^3.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-helmet": "^5.2.0",
"react-test-renderer": "^16.2.0",
"remark-cli": "^5.0.0",
"remark-preset-davidtheclark": "^0.7.0",
"remark-validate-links": "^7.0.0",
"strip-ansi": "^4.0.0"
},
"optionalDependencies": {},
"engines": {
"node": ">=6",
"npm": ">=5"
}
}