2 "name": "react-static",
3 "description": "A progressive static site generator for React",
6 "repository": "https://github.com/react-static/react-static",
7 "main": "lib/index.js",
8 "types": "src/index.d.ts",
13 "react-static": "./bin/react-static"
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",
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"
31 "react-dom": "^16.9.0",
32 "react-hot-loader": "^4.12.11"
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",
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",
60 "circular-dependency-plugin": "^5.2.0",
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",
67 "git-promise": "^1.0.0",
69 "gunzip-maybe": "^1.4.1",
70 "html-webpack-plugin": "^3.2.0",
72 "inquirer-autocomplete-prompt": "^1.0.1",
73 "intersection-observer": "^0.7.0",
75 "match-sorter": "^3.1.1",
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",
84 "prop-types": "^15.7.2",
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",
91 "shorthash": "^0.0.2",
93 "socket.io": "^2.2.0",
94 "socket.io-client": "^2.2.0",
95 "style-loader": "0.23.1",
98 "terser-webpack-plugin": "^1.4.1",
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"
108 "@types/react": "^16.9.1",
109 "@types/react-helmet": "^6.1.0",
110 "babel-jest": "^24.8.0",
112 "cross-env": "^5.2.0",
114 "enzyme-adapter-react-16": "^1.14.0",
115 "enzyme-to-json": "^3.4.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",
127 "onchange": "^6.0.0",
128 "prettier": "1.18.2",
130 "react-dev-utils": "^9.0.3",
131 "react-dom": "^16.9.0",
132 "react-hot-loader": "^4.12.11",
134 "webpack-hot-middleware": "^2.25.0"
138 "moduleDirectories": [
142 "testRegex": "(/__tests__/.*\\.(test))\\.jsx?$",
143 "moduleNameMapper": {
144 "static.config.js$": "<rootDir>/src/static/__mocks__/static.config.js.mock.js"
147 "<rootDir>/setupTests.js"
149 "snapshotSerializers": [
150 "enzyme-to-json/serializer"
153 "gitHead": "875004e6e75d36043382b8ec8bba27a766c1a83a"