restful-dummy-server 1.0.1 → 1.0.3
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/README.md +158 -1
- package/{index.js → dist/index.js} +3 -32
- package/package.json +40 -41
- package/dist/bundle.js +0 -2
- package/webpack.config.js +0 -33
- /package/{default-server-setting.js → dist/default-server-setting.js} +0 -0
- /package/{server.js → dist/server.js} +0 -0
- /package/{utils.js → dist/utils.js} +0 -0
package/webpack.config.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// lib imports
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const webpack = require('webpack');
|
|
4
|
-
const TerserPlugin = require('terser-webpack-plugin');
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
mode: 'production',
|
|
8
|
-
entry: './index.js',
|
|
9
|
-
target: 'node',
|
|
10
|
-
output: {
|
|
11
|
-
filename: 'bundle.js',
|
|
12
|
-
path: path.resolve(__dirname, 'dist'),
|
|
13
|
-
},
|
|
14
|
-
module: {
|
|
15
|
-
rules: [
|
|
16
|
-
{
|
|
17
|
-
test: /\.js$/,
|
|
18
|
-
exclude: /node_modules/,
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
plugins: [
|
|
23
|
-
new webpack.BannerPlugin({ banner: '#!/usr/bin/env node', raw: true }),
|
|
24
|
-
],
|
|
25
|
-
optimization: {
|
|
26
|
-
minimize: true,
|
|
27
|
-
minimizer: [
|
|
28
|
-
new TerserPlugin({
|
|
29
|
-
extractComments: /@extract/i,
|
|
30
|
-
}),
|
|
31
|
-
],
|
|
32
|
-
}
|
|
33
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|