capibara 1.3.66 → 1.3.68

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.
package/dist/minimal.html DELETED
@@ -1,19 +0,0 @@
1
-
2
- <html lang="es">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
- <title>Capibara</title>
8
- <style> html, body { margin: 0px; padding: 0px; } </style>
9
- </head>
10
-
11
- <body>
12
- <div id="timeline"></div>
13
- <!-- plugin initialization -->
14
- <script src="config_minimal.js"></script>
15
- <script src="data_minimal.js"></script>
16
- <script src="app_minimal.js"></script>
17
- <script type="text/javascript" src="./index.js"></script></body>
18
-
19
- </html>
package/webpack.config.js DELETED
@@ -1,71 +0,0 @@
1
- const path = require('path');
2
- const webpack = require('webpack');
3
- const HTMLWebpackPlugin = require('html-webpack-plugin');
4
- const config = require('config');
5
-
6
- /*-------------------------------------------------*/
7
-
8
- module.exports = {
9
- // webpack optimization mode
10
- mode: "development", //( process.env.NODE_ENV ? process.env.NODE_ENV : 'development' ),
11
-
12
- // entry file(s)
13
- entry: './src/index.js',
14
-
15
- target:"web",
16
-
17
- // output file(s) and chunks
18
- output: {
19
- library: 'Capibara',
20
- libraryTarget: 'umd',
21
- globalObject: '(typeof self !== "undefined" ? self : this)',
22
- libraryExport: 'default',
23
- path: path.resolve(__dirname, 'dist'),
24
- filename: 'index.js',
25
- publicPath: config.get('publicPath')
26
- },
27
-
28
- // module/loaders configuration
29
- module: {
30
- rules: [
31
- {
32
- test: /\.js$/,
33
- exclude: /node_modules/,
34
- use: ['babel-loader']
35
- },
36
- {
37
- test: /\.scss$/,
38
- use: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader']
39
- },
40
- //{ test: /\.woff(2)?(\?v=[0-9]+\.[0-9]+\.[0-9]+)?$/, use: "url-loader?limit=10000&mimetype=application/font-woff" },
41
- //{ test: /\.(ttf|eot|svg)(\?v=[0-9]+\.[0-9]+\.[0-9]+)?$/, use: "file-loader" },
42
- ],
43
- },
44
-
45
- plugins: [
46
- new HTMLWebpackPlugin({
47
- template: path.resolve(__dirname, 'index.html')
48
- }),
49
- new HTMLWebpackPlugin({
50
- filename:'minimal.html',
51
- template: path.resolve(__dirname, 'minimal.html')
52
- }),
53
- new HTMLWebpackPlugin({
54
- filename:'cuarteles.html',
55
- template: path.resolve(__dirname, 'cuarteles.html')
56
- }),
57
- ],
58
-
59
- // development server configuration
60
- devServer: {
61
-
62
- // must be `true` for SPAs
63
- historyApiFallback: true,
64
-
65
- // open browser on server start
66
- open: config.get('open')
67
- },
68
-
69
- // generate source map
70
- devtool: ( 'production' === process.env.NODE_ENV ? 'source-map' : 'inline-source-map' ),
71
- };