aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 0c0cba0..b026c22 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,8 @@
"name": "fedidag-client",
"version": "0.0.1",
"scripts": {
- "watch": "CORS_ORIGIN=http://localhost:8088 webpack serve -w --host 0.0.0.0",
+ "start": "CORS_PREFIX=http://localhost:8088 webpack serve -w --host 0.0.0.0",
+ "cors": "node cors.js",
"build": "webpack --config ./webpack.config.js --mode production --progress"
},
"babel": {
@@ -28,7 +29,6 @@
"classnames": "^2.2.6",
"color-hash": "^1.0.3",
"core-js": "^3.8.3",
- "cors-anywhere": "^0.4.3",
"date-fns": "^2.16.1",
"jsonld": "^3.3.0",
"preact": "^10.5.12",
@@ -45,6 +45,7 @@
"html-webpack-plugin": "^4.5.0",
"webpack": "^5.17.0",
"webpack-cli": "^4.4.0",
+ "cors-anywhere": "^0.4.3",
"webpack-dev-server": "^3.11.2"
}
}