cleanup npm packages

This commit is contained in:
pypy
2020-06-26 17:12:17 +09:00
parent e2080ca656
commit f0ffcb5e4c
3 changed files with 2 additions and 5774 deletions

5708
html/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,6 @@
{
"name": "vrcx",
"name": "vrcx-html",
"version": "0.0.0",
"description": "VRCX is an assistant application for provide information about manage friendship. this application uses unofficial VRChat API (VRCSDK).",
"main": "index.js",
"scripts": {
"build": "npx webpack --mode production",
@@ -19,17 +18,5 @@
"bugs": {
"url": "https://github.com/pypy-vrc/VRCX/issues"
},
"homepage": "https://github.com/pypy-vrc/VRCX#readme",
"devDependencies": {
"css-loader": "^3.6.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"pug": "^2.0.4",
"pug-loader": "^2.4.0",
"remove-files-webpack-plugin": "^1.4.3",
"sass": "^1.26.9",
"sass-loader": "^8.0.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
}
"homepage": "https://github.com/pypy-vrc/VRCX#readme"
}

View File

@@ -1,51 +0,0 @@
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const RemovePlugin = require('remove-files-webpack-plugin');
module.exports = {
entry: {
app: ['./src/app.js', './src/app.scss'],
'app.dark': './src/app.dark.scss',
vr: ['./src/vr.js', './src/vr.scss']
},
output: {
path: __dirname,
filename: '[name].js'
},
module: {
rules: [
{
test: /\.s?css$/,
use: [
MiniCssExtractPlugin.loader,
'css-loader',
'sass-loader'
]
},
{
test: /\.pug$/,
use: 'pug-loader'
}
]
},
plugins: [
new MiniCssExtractPlugin({
filename: '[name].css'
}),
new HtmlWebpackPlugin({
filename: 'index.html',
template: './src/index.pug',
inject: false,
minify: false
}),
new RemovePlugin({
after: {
include: [
'./app.dark.js'
],
log: false,
logWarning: false
}
})
]
};