124 lines
4.2 KiB
JSON
124 lines
4.2 KiB
JSON
{
|
|
"name": "@aleleba/create-react-go-ssr",
|
|
"version": "1.0.4",
|
|
"description": "Starter Kit of server side render of react with backend in go",
|
|
"bin": "./bin/cli.js",
|
|
"scripts": {
|
|
"start": "cd build/server && ./react-server",
|
|
"start-frontend:dev": "webpack watch --config webpack.config.ts",
|
|
"start-server:dev": "cd src/server && go run main.go",
|
|
"build": "webpack --config webpack.config.ts && cd src/server && go build && mkdir ../../build && cp -r ./ ../../build/server && cp -r ../routes ../../build/routes && rm -rf ./react-server",
|
|
"build:frontend": "webpack --config webpack.config.ts",
|
|
"lint": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx",
|
|
"lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"check-updates": "npx npm-check-updates -u && npm i",
|
|
"cy:open": "npx cypress open",
|
|
"cy:run": "cypress run",
|
|
"cy:run-component": "cypress run --headless --component"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/aleleba/create-react-ssr.git"
|
|
},
|
|
"keywords": [
|
|
"create react app",
|
|
"react",
|
|
"go",
|
|
"golang",
|
|
"ssr",
|
|
"typescript",
|
|
"redux"
|
|
],
|
|
"author": "Alejandro Lembke Barrientos",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/aleleba/create-react-go-ssr/issues"
|
|
},
|
|
"homepage": "https://github.com/aleleba/create-react-go-ssr#readme",
|
|
"dependencies": {
|
|
"@babel/register": "^7.22.15",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"helmet": "^7.0.0",
|
|
"history": "^5.3.0",
|
|
"ignore-styles": "^5.0.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-redux": "^8.1.3",
|
|
"react-router-dom": "^6.17.0",
|
|
"react-router-hash-link": "^2.4.3",
|
|
"redux": "^4.2.1",
|
|
"webpack": "^5.89.0",
|
|
"webpack-manifest-plugin": "^5.0.0",
|
|
"workbox-background-sync": "^7.0.0",
|
|
"workbox-broadcast-update": "^7.0.0",
|
|
"workbox-cacheable-response": "^7.0.0",
|
|
"workbox-core": "^7.0.0",
|
|
"workbox-expiration": "^7.0.0",
|
|
"workbox-google-analytics": "^7.0.0",
|
|
"workbox-navigation-preload": "^7.0.0",
|
|
"workbox-precaching": "^7.0.0",
|
|
"workbox-range-requests": "^7.0.0",
|
|
"workbox-routing": "^7.0.0",
|
|
"workbox-strategies": "^7.0.0",
|
|
"workbox-streams": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.2",
|
|
"@babel/preset-env": "^7.23.2",
|
|
"@babel/preset-react": "^7.22.15",
|
|
"@babel/preset-typescript": "^7.23.2",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
"@redux-devtools/extension": "^3.2.5",
|
|
"@testing-library/jest-dom": "^6.1.4",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"@types/jest": "^29.5.5",
|
|
"@types/node": "^20.8.6",
|
|
"@types/react": "^18.2.28",
|
|
"@types/react-dom": "^18.2.13",
|
|
"@types/webpack": "^5.28.3",
|
|
"@types/webpack-hot-middleware": "^2.25.7",
|
|
"@types/webpack-node-externals": "^3.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
"@typescript-eslint/parser": "^6.8.0",
|
|
"babel-jest": "^29.7.0",
|
|
"babel-loader": "^9.1.3",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"compression-webpack-plugin": "^10.0.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"css-loader": "^6.8.1",
|
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
|
"cypress": "^13.3.1",
|
|
"eslint": "^8.51.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-webpack-plugin": "^4.0.1",
|
|
"file-loader": "^6.2.0",
|
|
"html-webpack-plugin": "^5.5.3",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"mini-css-extract-plugin": "^2.7.6",
|
|
"react-refresh": "^0.14.0",
|
|
"resolve-ts-aliases": "^1.0.1",
|
|
"sass": "^1.69.3",
|
|
"sass-loader": "^13.3.2",
|
|
"style-loader": "^3.3.3",
|
|
"terser-webpack-plugin": "^5.3.9",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.2.2",
|
|
"url-loader": "^4.1.1",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dev-middleware": "^6.1.1",
|
|
"webpack-dev-server": "^4.15.1",
|
|
"webpack-hot-middleware": "^2.25.4",
|
|
"webpack-node-externals": "^3.0.0",
|
|
"webpack-shell-plugin-next": "^2.3.1",
|
|
"workbox-webpack-plugin": "^7.0.0",
|
|
"workbox-window": "^7.0.0"
|
|
}
|
|
}
|