-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package.json and package-lock.json
- Loading branch information
charlie on CascadeTrails
committed
Feb 18, 2025
1 parent
5d3ffb2
commit ca2cff4
Showing
14 changed files
with
14,072 additions
and
6,983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"plugins": ["transform-class-properties"] | ||
"presets": ["@babel/preset-env", "@babel/preset-react"], | ||
"plugins": ["@babel/plugin-proposal-class-properties"] | ||
} | ||
|
6,387 changes: 6,269 additions & 118 deletions
6,387
JavaScript/React/ElfExpressServer/client/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,35 @@ | ||
{ | ||
"name": "lookup-client", | ||
"version": "0.1.4", | ||
"private": true, | ||
"proxy": "http://localhost:30026/", | ||
"config": { | ||
"port": "30025" | ||
}, | ||
"scripts": { | ||
"start": "" | ||
}, | ||
"devDependencies": {}, | ||
"dependencies": { | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-redux": "^9.1.2", | ||
"react-router-redux": "^4.0.8", | ||
"redux": "^5.0.1" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
"name": "lookup-client", | ||
"version": "0.1.4", | ||
"private": true, | ||
"proxy": "http://localhost:30026/", | ||
"config": { | ||
"port": "30025" | ||
}, | ||
"scripts": { | ||
"start": "webpack serve --config webpack.config.js" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.26.0", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@babel/preset-env": "^7.26.0", | ||
"@babel/preset-react": "^7.26.3", | ||
"babel-loader": "^9.2.1", | ||
"webpack": "^5.97.1", | ||
"webpack-cli": "^5.1.4", | ||
"webpack-dev-server": "^5.2.0" | ||
}, | ||
"dependencies": { | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"react-redux": "^9.2.0", | ||
"react-router-redux": "^4.0.8", | ||
"redux": "^5.0.1" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
JavaScript/React/ElfExpressServer/client/webpack.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
mode: 'development', // or 'production' | ||
entry: './src/index.js', | ||
output: { | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: 'bundle.js', | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.js$/, | ||
exclude: /node_modules/, | ||
use: { | ||
loader: 'babel-loader', | ||
}, | ||
}, | ||
{ | ||
test: /\.css$/, | ||
use: ['style-loader', 'css-loader'], | ||
}, | ||
], | ||
}, | ||
devServer: { | ||
static: { | ||
directory: path.join(__dirname, 'public'), | ||
}, | ||
compress: true, | ||
port: 30025, | ||
}, | ||
}; |
Oops, something went wrong.