at 24.11-pre 5.0 kB view raw
1{ 2 "name": "react-static", 3 "description": "A progressive static site generator for React", 4 "version": "7.6.2", 5 "license": "MIT", 6 "repository": "https://github.com/react-static/react-static", 7 "main": "lib/index.js", 8 "types": "src/index.d.ts", 9 "engines": { 10 "node": ">=8.9.0" 11 }, 12 "bin": { 13 "react-static": "./bin/react-static" 14 }, 15 "scripts": { 16 "prebuild": "rimraf lib", 17 "build": "cross-env REACT_STATIC_INTERNAL=true babel src --out-dir lib --ignore \"**/__tests__/*\" --ignore \"**/__mocks__/*\" --source-maps inline", 18 "watch": "yarn build --watch", 19 "watch:link": "onchange './lib/**/*' -- yalc push --changed", 20 "start": "yarn watch", 21 "test": "yarn format && yarn lint && yarn unitTest", 22 "lint": "eslint src", 23 "format": "prettier README.md {src,templates/*/src}/**/*.js --write", 24 "unitTest": "cross-env NODE_ENV=test yarn jest ./src", 25 "unitTestWatch": "cross-env NODE_ENV=test yarn jest src --watch", 26 "preversion": "yarn build && yarn test", 27 "publishLink": "echo '{{event}} to {{changed}}' && yalc publish" 28 }, 29 "peerDependencies": { 30 "react": "^16.9.0", 31 "react-dom": "^16.9.0", 32 "react-hot-loader": "^4.12.11" 33 }, 34 "dependencies": { 35 "@babel/cli": "^7.5.5", 36 "@babel/core": "^7.5.5", 37 "@babel/plugin-proposal-class-properties": "^7.5.5", 38 "@babel/plugin-proposal-export-default-from": "^7.5.2", 39 "@babel/plugin-proposal-optional-chaining": "^7.2.0", 40 "@babel/plugin-syntax-dynamic-import": "^7.2.0", 41 "@babel/plugin-transform-destructuring": "^7.5.0", 42 "@babel/plugin-transform-modules-commonjs": "^7.5.0", 43 "@babel/plugin-transform-runtime": "^7.5.5", 44 "@babel/preset-env": "^7.5.5", 45 "@babel/preset-react": "^7.0.0", 46 "@babel/preset-stage-0": "^7.0.0", 47 "@babel/register": "^7.5.5", 48 "@babel/runtime": "^7.5.5", 49 "@reach/router": "^1.3.1", 50 "autoprefixer": "^9.7.4", 51 "axios": "^0.21.1", 52 "babel-core": "7.0.0-bridge.0", 53 "babel-loader": "^8.0.6", 54 "babel-plugin-macros": "^2.6.1", 55 "babel-plugin-transform-react-remove-prop-types": "^0.4.24", 56 "babel-plugin-universal-import": "^4.0.0", 57 "case-sensitive-paths-webpack-plugin": "^2.2.0", 58 "chalk": "^2.4.2", 59 "chokidar": "^3.0.2", 60 "circular-dependency-plugin": "^5.2.0", 61 "cors": "^2.8.5", 62 "css-loader": "^2.1.1", 63 "download-git-repo": "^2.0.0", 64 "extract-css-chunks-webpack-plugin": "^4.6.0", 65 "file-loader": "3.0.1", 66 "fs-extra": "^7.0.1", 67 "git-promise": "^1.0.0", 68 "glob": "^7.1.4", 69 "gunzip-maybe": "^1.4.1", 70 "html-webpack-plugin": "^3.2.0", 71 "inquirer": "^6.5.1", 72 "inquirer-autocomplete-prompt": "^1.0.1", 73 "intersection-observer": "^0.7.0", 74 "jsesc": "^2.5.2", 75 "match-sorter": "^3.1.1", 76 "minimist": "^1.2.0", 77 "mutation-observer": "^1.0.3", 78 "optimize-css-assets-webpack-plugin": "^5.0.3", 79 "portfinder": "^1.0.21", 80 "postcss-flexbugs-fixes": "^4.1.0", 81 "postcss-loader": "^3.0.0", 82 "pretty-error": "^2.1.1", 83 "progress": "^2.0.3", 84 "prop-types": "^15.7.2", 85 "raf": "^3.4.1", 86 "raw-loader": "^3.1.0", 87 "react-helmet": "^6.1.0", 88 "react-universal-component": "^4.0.0", 89 "resolve-from": "^5.0.0", 90 "serve": "^11.1.0", 91 "shorthash": "^0.0.2", 92 "slash": "^2.0.0", 93 "socket.io": "^2.2.0", 94 "socket.io-client": "^2.2.0", 95 "style-loader": "0.23.1", 96 "swimmer": "^1.4.0", 97 "tar-fs": "^2.0.0", 98 "terser-webpack-plugin": "^1.4.1", 99 "upath": "^1.1.2", 100 "url-loader": "^2.1.0", 101 "webpack": "^4.39.2", 102 "webpack-bundle-analyzer": "^3.4.1", 103 "webpack-dev-server": "^3.8.0", 104 "webpack-flush-chunks": "^2.0.3", 105 "webpack-node-externals": "^1.7.2" 106 }, 107 "devDependencies": { 108 "@types/react": "^16.9.1", 109 "@types/react-helmet": "^6.1.0", 110 "babel-jest": "^24.8.0", 111 "cors": "^2.8.5", 112 "cross-env": "^5.2.0", 113 "enzyme": "^3.10.0", 114 "enzyme-adapter-react-16": "^1.14.0", 115 "enzyme-to-json": "^3.4.0", 116 "eslint": "^6.1.0", 117 "eslint-config-prettier": "^6.0.0", 118 "eslint-config-react-tools": "^1.1.7", 119 "eslint-plugin-babel": "^5.3.0", 120 "eslint-plugin-import": "^2.18.2", 121 "eslint-plugin-jsx-a11y": "^6.2.3", 122 "eslint-plugin-react": "^7.14.3", 123 "express": "^4.17.1", 124 "husky": "^3.0.3", 125 "jest": "^24.8.0", 126 "lerna": "^3.16.4", 127 "onchange": "^6.0.0", 128 "prettier": "1.18.2", 129 "react": "^16.9.0", 130 "react-dev-utils": "^9.0.3", 131 "react-dom": "^16.9.0", 132 "react-hot-loader": "^4.12.11", 133 "rimraf": "^2.7.0", 134 "webpack-hot-middleware": "^2.25.0" 135 }, 136 "jest": { 137 "verbose": true, 138 "moduleDirectories": [ 139 "node_modules", 140 "src" 141 ], 142 "testRegex": "(/__tests__/.*\\.(test))\\.jsx?$", 143 "moduleNameMapper": { 144 "static.config.js$": "<rootDir>/src/static/__mocks__/static.config.js.mock.js" 145 }, 146 "setupFiles": [ 147 "<rootDir>/setupTests.js" 148 ], 149 "snapshotSerializers": [ 150 "enzyme-to-json/serializer" 151 ] 152 }, 153 "gitHead": "875004e6e75d36043382b8ec8bba27a766c1a83a" 154}