forked from module-federation/module-federation-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.82 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@server-side-rendering/icarus-1",
"description": "React architecture at scale",
"version": "1.0.0",
"main": "server/index.js",
"author": "Zack Jackson <zack@ScriptedAlchemy.com>",
"license": "MIT",
"scripts": {
"hmr": "nodemon --config ./nodemon.json --exec yarn start:prod",
"start": "npm run clean && cross-env NODE_ENV=development PORT=3001 babel-node server/index.js",
"start:prod": "npm run build && npm run serve",
"serve": "cross-env NODE_ENV=production node buildServer/main.js",
"build": "npm run build:server && npm run build:client",
"build:client": "rimraf buildClient && cross-env NODE_ENV=production webpack --progress --config build/webpack.config.js/client.prod.js --profile --json > buildServer/stats.json",
"build:server": "cross-env NODE_ENV=production webpack --progress --config build/webpack.config.js/server.prod.js",
"build:node": "cross-env NODE_ENV=production babel server -d buildServer",
"clean": "rm -rf dist",
"precommit": "lint-staged",
"cm": "git-cz",
"lint": "eslint --fix src server build",
"format": "prettier --single-quote --semi=false --write '{src,server,webpack}/**/*.js' && npm run lint",
"deploy": "yarn build && ./deploy-heroku.sh",
"production:test": "yarn run build && rm -rf node_modules && NODE_ENV=production npm install --production && yarn serve"
},
"dependencies": {
"@babel/polyfill": "^7.4.4",
"@loadable/babel-plugin": "^5.13.2",
"@loadable/component": "^5.13.2",
"@loadable/server": "^5.13.2",
"@loadable/webpack-plugin": "^5.13.0",
"body-parser": "^1.19.0",
"classnames": "^2.2.6",
"cookie-parser": "^1.4.4",
"cross-env": "^7.0.0",
"dotenv": "^8.0.0",
"enhanced-resolve": "^5.0.0",
"express": "^4.17.1",
"helmet": "^3.18.0",
"history": "^5.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-helmet": "^6.0.0",
"regenerator-runtime": "^0.13.2"
},
"devDependencies": {
"@babel/cli": "7.12.1",
"@babel/core": "7.12.3",
"@babel/node": "7.12.1",
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/plugin-proposal-json-strings": "7.12.1",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/preset-env": "7.12.1",
"@babel/preset-react": "7.12.1",
"autoprefixer": "10.0.1",
"babel-eslint": "10.1.0",
"babel-loader": "8.1.0",
"chalk": "4.1.0",
"commitizen": "4.2.2",
"css-loader": "4.3.0",
"cssnano": "4.1.10",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.12.0",
"eslint-config-airbnb": "18.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-react": "7.21.5",
"file-loader": "6.1.1",
"husky": "4.3.0",
"ignore-loader": "0.1.2",
"jest": "26.6.1",
"lint-staged": "10.4.2",
"mini-css-extract-plugin": "1.2.0",
"node-fetch": "2.6.1",
"node-sass": "4.14.1",
"nodemon": "2.0.6",
"postcss-flexbugs-fixes": "4.2.1",
"postcss-import": "^12.0.1",
"postcss-loader": "^4.0.4",
"prettier": "2.1.2",
"react-hot-loader": "^4.13.0",
"rimraf": "3.0.2",
"sass-loader": "10.0.4",
"style-loader": "2.0.0",
"url-loader": "4.1.1",
"webpack": "5.2.0",
"webpack-cli": "4.0.0",
"webpack-dev-middleware": "^4.0.0-rc.3",
"webpack-hot-middleware": "^2.25.0",
"webpack-hot-server-middleware": "^0.6.1",
"webpack-merge": "5.2.0",
"webpack-node-externals": "^2.5.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"linters": {
"*.js": [
"prettier --single-quote --semi=false --write",
"eslint --fix",
"git add"
]
}
}
}