mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 07:05:56 -05:00
b298bd13f2
Apparently WebPack builds in "terser", which is what the cool kids use. Just go with the default and simplify the configuration as well as installing fewer node modules. "babel-minify-webpack-plugin" wasn't actually being used, and babel-minify is still in beta anyway. uglifyjs, according to https://github.com/webpack/webpack/issues/7923, doesn't support ES6 and depends on a package which is no longer maintained.
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"author": "Scott Lamb <slamb@slamb.org>",
|
|
"bugs": {
|
|
"url": "https://github.com/scottlamb/moonfire-nvr/issues"
|
|
},
|
|
"scripts": {
|
|
"start": "webpack-dev-server --mode development --config webpack/dev.config.js --progress",
|
|
"build": "webpack --mode production --config webpack/prod.config.js"
|
|
},
|
|
"dependencies": {
|
|
"jquery": "^3.2.1",
|
|
"jquery-ui": "^1.12.1",
|
|
"moment-timezone": "^0.5.13"
|
|
},
|
|
"homepage": "https://github.com/scottlamb/moonfire-nvr",
|
|
"license": "GPL-3.0",
|
|
"name": "moonfire-nvr",
|
|
"repository": "scottlamb/moonfire-nvr",
|
|
"version": "0.1.0",
|
|
"devDependencies": {
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^7.1.4",
|
|
"babel-plugin-transform-imports": "^1.5.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"clean-webpack-plugin": "^0.1.18",
|
|
"compression-webpack-plugin": "^1.1.10",
|
|
"css-loader": "^0.28.10",
|
|
"eslint": "^4.18.2",
|
|
"eslint-config-google": "^0.9.1",
|
|
"file-loader": "^1.1.11",
|
|
"html-loader": "^0.5.5",
|
|
"html-webpack-plugin": "^3.0.6",
|
|
"prettier": "1.11.1",
|
|
"style-loader": "^0.19.0",
|
|
"webpack": "^4.0.1",
|
|
"webpack-cli": "^2.0.10",
|
|
"webpack-dev-server": "^3.1.0",
|
|
"webpack-merge": "^4.1.2"
|
|
}
|
|
}
|