nixpkgs/pkgs/development/tools/react-static/package.json
2023-09-02 19:31:50 -07:00

155 lines
4.9 KiB
JSON

{
"name": "react-static",
"description": "A progressive static site generator for React",
"version": "7.6.2",
"license": "MIT",
"repository": "https://github.com/react-static/react-static",
"main": "lib/index.js",
"types": "src/index.d.ts",
"engines": {
"node": ">=8.9.0"
},
"bin": {
"react-static": "./bin/react-static"
},
"scripts": {
"prebuild": "rimraf lib",
"build": "cross-env REACT_STATIC_INTERNAL=true babel src --out-dir lib --ignore \"**/__tests__/*\" --ignore \"**/__mocks__/*\" --source-maps inline",
"watch": "yarn build --watch",
"watch:link": "onchange './lib/**/*' -- yalc push --changed",
"start": "yarn watch",
"test": "yarn format && yarn lint && yarn unitTest",
"lint": "eslint src",
"format": "prettier README.md {src,templates/*/src}/**/*.js --write",
"unitTest": "cross-env NODE_ENV=test yarn jest ./src",
"unitTestWatch": "cross-env NODE_ENV=test yarn jest src --watch",
"preversion": "yarn build && yarn test",
"publishLink": "echo '{{event}} to {{changed}}' && yalc publish"
},
"peerDependencies": {
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-hot-loader": "^4.12.11"
},
"dependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-destructuring": "^7.5.0",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-0": "^7.0.0",
"@babel/register": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@reach/router": "^1.3.1",
"autoprefixer": "^9.7.4",
"axios": "^0.21.1",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "^8.0.6",
"babel-plugin-macros": "^2.6.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-universal-import": "^4.0.0",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"chalk": "^2.4.2",
"chokidar": "^3.0.2",
"circular-dependency-plugin": "^5.2.0",
"cors": "^2.8.5",
"css-loader": "^2.1.1",
"download-git-repo": "^2.0.0",
"extract-css-chunks-webpack-plugin": "^4.6.0",
"file-loader": "3.0.1",
"fs-extra": "^7.0.1",
"git-promise": "^1.0.0",
"glob": "^7.1.4",
"gunzip-maybe": "^1.4.1",
"html-webpack-plugin": "^3.2.0",
"inquirer": "^6.5.1",
"inquirer-autocomplete-prompt": "^1.0.1",
"intersection-observer": "^0.7.0",
"jsesc": "^2.5.2",
"match-sorter": "^3.1.1",
"minimist": "^1.2.0",
"mutation-observer": "^1.0.3",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"portfinder": "^1.0.21",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-loader": "^3.0.0",
"pretty-error": "^2.1.1",
"progress": "^2.0.3",
"prop-types": "^15.7.2",
"raf": "^3.4.1",
"raw-loader": "^3.1.0",
"react-helmet": "^6.1.0",
"react-universal-component": "^4.0.0",
"resolve-from": "^5.0.0",
"serve": "^11.1.0",
"shorthash": "^0.0.2",
"slash": "^2.0.0",
"socket.io": "^2.2.0",
"socket.io-client": "^2.2.0",
"style-loader": "0.23.1",
"swimmer": "^1.4.0",
"tar-fs": "^2.0.0",
"terser-webpack-plugin": "^1.4.1",
"upath": "^1.1.2",
"url-loader": "^2.1.0",
"webpack": "^4.39.2",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-dev-server": "^3.8.0",
"webpack-flush-chunks": "^2.0.3",
"webpack-node-externals": "^1.7.2"
},
"devDependencies": {
"@types/react": "^16.9.1",
"@types/react-helmet": "^6.1.0",
"babel-jest": "^24.8.0",
"cors": "^2.8.5",
"cross-env": "^5.2.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.4.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-react-tools": "^1.1.7",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"express": "^4.17.1",
"husky": "^3.0.3",
"jest": "^24.8.0",
"lerna": "^3.16.4",
"onchange": "^6.0.0",
"prettier": "1.18.2",
"react": "^16.9.0",
"react-dev-utils": "^9.0.3",
"react-dom": "^16.9.0",
"react-hot-loader": "^4.12.11",
"rimraf": "^2.7.0",
"webpack-hot-middleware": "^2.25.0"
},
"jest": {
"verbose": true,
"moduleDirectories": [
"node_modules",
"src"
],
"testRegex": "(/__tests__/.*\\.(test))\\.jsx?$",
"moduleNameMapper": {
"static.config.js$": "<rootDir>/src/static/__mocks__/static.config.js.mock.js"
},
"setupFiles": [
"<rootDir>/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"gitHead": "875004e6e75d36043382b8ec8bba27a766c1a83a"
}