Kumi
932f8f98b1
This commit sets up webpack as the module bundler along with configurations for transforming ES6+ code using Babel and compiling SASS into CSS. It includes necessary dependencies such as `babel-loader`, `sass-loader`, `css-loader`, `style-loader`, and plugins like `mini-css-extract-plugin` to extract CSS into separate files. This setup facilitates the development of a modern web application by enabling the use of the latest JavaScript features and streamlined CSS pre-processing.
33 lines
1 KiB
JSON
33 lines
1 KiB
JSON
{
|
|
"name": "@kumitterer/great-website",
|
|
"version": "0.0.0",
|
|
"description": "A great website",
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "webpack --mode production",
|
|
"build:dev": "webpack --mode development",
|
|
"watch": "webpack --mode production --watch",
|
|
"watch:dev": "webpack --mode development --watch"
|
|
},
|
|
"repository": "https://git.private.coffee/kumi/great-website",
|
|
"author": "Kumi",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.0",
|
|
"@babel/preset-env": "^7.24.0",
|
|
"babel-loader": "^9.1.3",
|
|
"css-loader": "^6.10.0",
|
|
"mini-css-extract-plugin": "^2.8.1",
|
|
"postcss-loader": "^8.1.1",
|
|
"sass": "^1.71.1",
|
|
"sass-loader": "^14.1.1",
|
|
"style-loader": "^3.3.4",
|
|
"webpack": "^5.90.3",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"dependencies": {
|
|
"@ionic/core": "^7.8.2",
|
|
"bowser": "^2.11.0"
|
|
}
|
|
}
|