diff options
| author | s-ol <s+removethis@s-ol.nu> | 2022-01-13 17:29:38 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2022-01-13 17:29:38 +0000 |
| commit | 31159ddff5bc489ab6216a72304e1f7c7ce4a432 (patch) | |
| tree | e0c6efe46d4590c77ceabb4094c8ecd7c4289e00 /client/package.json | |
| parent | move everything into server/ (diff) | |
| parent | move everything into client/ (diff) | |
| download | fedidag-31159ddff5bc489ab6216a72304e1f7c7ce4a432.tar.gz fedidag-31159ddff5bc489ab6216a72304e1f7c7ce4a432.zip | |
Merge server and client repositories
Diffstat (limited to 'client/package.json')
| -rw-r--r-- | client/package.json | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/client/package.json b/client/package.json new file mode 100644 index 0000000..8a66943 --- /dev/null +++ b/client/package.json @@ -0,0 +1,51 @@ +{ + "name": "fedidag-client", + "version": "0.0.1", + "scripts": { + "start": "API_PREFIX=http://localhost:3000 webpack serve -w --host 0.0.0.0", + "cors": "node cors.js", + "build": "webpack --config ./webpack.config.js --mode production --progress" + }, + "babel": { + "presets": [ + "@babel/env" + ], + "plugins": [ + [ + "@babel/plugin-proposal-decorators", + { "decoratorsBeforeExport": false } + ], + "@babel/plugin-proposal-class-properties", + [ + "@babel/plugin-transform-react-jsx", + { + "pragma": "h", + "pragmaFrag": "Fragment" + } + ] + ] + }, + "dependencies": { + "classnames": "^2.2.6", + "color-hash": "^1.0.3", + "core-js": "^3.8.3", + "date-fns": "^2.16.1", + "jsonld": "^3.3.0", + "preact": "^10.5.12", + "regenerator-runtime": "^0.13.7" + }, + "devDependencies": { + "@babel/core": "^7.11.6", + "@babel/plugin-proposal-class-properties": "^7.10.4", + "@babel/plugin-proposal-decorators": "^7.12.13", + "@babel/plugin-transform-react-jsx": "^7.12.12", + "@babel/preset-env": "^7.11.5", + "babel-loader": "^8.2.2", + "copy-webpack-plugin": "^7.0.0", + "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" + } +} |
