|
3 | 3 | "version": "1.0.0",
|
4 | 4 | "description": "Netlify-CMS distribution",
|
5 | 5 | "scripts": {
|
6 |
| - "build": "webpack --config webpack.client.cjs", |
| 6 | + "build:client": "webpack --config webpack.client.cjs", |
| 7 | + "build:worker": "webpack --config webpack.worker.cjs", |
| 8 | + "build": "npm-run-all build:*", |
7 | 9 | "deploy:client": "aws s3 sync --acl=public-read --delete ./dist/ s3://alex-static-assets/cms/",
|
8 | 10 | "deploy:worker": "wrangler publish",
|
9 |
| - "deploy": "npm-run-all build deploy:*", |
| 11 | + "deploy": "npm-run-all build:* deploy:*", |
10 | 12 | "test": "npm-run-all build",
|
11 | 13 | "start": "webpack serve --config webpack.client.cjs"
|
12 | 14 | },
|
|
17 | 19 | "@babel/core": "^7.18.2",
|
18 | 20 | "@babel/preset-env": "^7.15.8",
|
19 | 21 | "@babel/preset-react": "^7.14.5",
|
20 |
| - "@cloudflare/wrangler": "^1.15.0", |
21 | 22 | "ajv": "^8",
|
22 | 23 | "babel-loader": "^9.1.3",
|
23 | 24 | "html-webpack-plugin": "^5.3.2",
|
|
28 | 29 | "webpack": "^5.30.0",
|
29 | 30 | "webpack-bundle-analyzer": "^4.4.2",
|
30 | 31 | "webpack-cli": "^5.0.0",
|
31 |
| - "webpack-dev-server": "^4.3.1" |
| 32 | + "webpack-dev-server": "^4.3.1", |
| 33 | + "wrangler": "^2.20.0" |
32 | 34 | },
|
33 | 35 | "dependencies": {
|
34 | 36 | "netlify-cms": "^2.10.111",
|
|
0 commit comments