@ewc-lib/ewc-icon-button-group 1.0.1-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@ewc-lib/ewc-icon-button-group-example",
3
+ "comment":"This version is not relevant, because this is not being published as a stand-alone package to NPM. It's a demonstration meant for local usage only.",
4
+ "version": "0.0.1",
5
+ "description": "Demonstrates how to use the ewc-icon-button-group from the EWC library with webpack.",
6
+ "main": "./main.js",
7
+ "scripts": {
8
+ "build": "webpack",
9
+ "start": "webpack serve --mode development --open"
10
+ },
11
+ "author": "",
12
+ "license": "EUPL v.1.1",
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "dependencies": {
17
+ "@ewc-lib/ewc-css-common": "0.1.0",
18
+ "@ewc-lib/ewc-icon-button": "1.0.0-alpha",
19
+ "@ewc-lib/ewc-icon-button-group": "file:../../"
20
+ },
21
+ "devDependencies": {
22
+ "css-loader": "^6.1.0",
23
+ "style-loader": "^3.0.0",
24
+ "webpack": "^5.91.0",
25
+ "html-webpack-plugin": "^5.5.0",
26
+ "webpack-cli": "^5.1.4",
27
+ "webpack-dev-server": "^5.0.4"
28
+ }
29
+ }
@@ -0,0 +1,5 @@
1
+ # howto build & run
2
+
3
+ - npm install
4
+ - npm run build
5
+ - serve dist/
@@ -0,0 +1,31 @@
1
+ const path = require('path');
2
+ const HtmlWebpackPlugin = require('html-webpack-plugin')
3
+
4
+ const config = {
5
+ mode: "development",
6
+ entry: {
7
+ ewc_usage: './main.js'
8
+ },
9
+ output: {
10
+ path: path.resolve(__dirname, 'dist'),
11
+ filename: '[name].js'
12
+ },
13
+ module: {
14
+ rules: [
15
+ {
16
+ test: /\.css$/i,
17
+ use: [
18
+ 'style-loader',
19
+ 'css-loader'
20
+ ]
21
+ }
22
+ ]
23
+ },
24
+ plugins: [
25
+ new HtmlWebpackPlugin({
26
+ template: './index.html'
27
+ })
28
+ ],
29
+ };
30
+
31
+ module.exports = config;