New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-webpack-babel

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-webpack-babel - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

generators/app/templates/build/base.js

24

generators/app/templates/package.json
{
"name": "my-project-name",
"version": "1.0.0",
"author": "AUTHOR NAME",
"license": "MIT",
"name": "template-webpack-babel",
"description": "2017 Basic Web dev template for newbee, and readers of hugojing/web-lessons.",
"homepage": "https://github.com/hugojing/template-webpack-babel",
"version": "0.7.2",
"author": {
"name": "hugojing",
"email": "toloric@163.com",
"url": "https://changshiban.com"
},
"scripts": {
"dist": "rm -rf ./dist && mkdir ./dist && webpack --config build.js"
"dev": "webpack-dev-server --inline --config ./build/dev",
"dist": "rm -rf ./dist && mkdir ./dist && webpack --config ./build/prod"
},
"license": "MIT",
"devDependencies": {

@@ -15,3 +22,2 @@ "autoprefixer": "^6.7.7",

"babel-preset-stage-3": "^6.22.0",
"connect-history-api-fallback": "^1.3.0",
"cross-env": "^3.2.3",

@@ -24,8 +30,10 @@ "css-loader": "^0.27.2",

"style-loader": "^0.13.2",
"uglifyjs-webpack-plugin": "^0.3.1",
"url-loader": "^0.5.8",
"webpack": "^2.2.1",
"webpack-dev-middleware": "^1.10.1",
"webpack-hot-middleware": "^2.17.1"
"webpack-dev-server": "^2.4.2",
"webpack-merge": "^4.1.0"
},
"dependencies": {
"jquery": "^3.2.1",
"normalize.css": "^5.0.0"

@@ -32,0 +40,0 @@ },

@@ -1,1 +0,7 @@

# MY PROJECT NAME
# template-webpack-babel
2017 Basic Web dev template for newbee, and readers of hugojing/web-lessons.
## Usage
click → https://github.com/hugojing/generator-webpack-babel

@@ -8,2 +8,11 @@ require('normalize.css')

logo.setAttribute('src', logoSrc)
document.getElementById('app').appendChild(logo)
// document.getElementById('app').appendChild(logo)
function append() {
require.ensure(['jquery'], require => {
const $ = require('jquery')
$('#app').append(logo)
})
}
setTimeout(append, 0)
{
"name": "generator-webpack-babel",
"version": "0.7.1",
"version": "0.7.2",
"description": "2017 Basic Web dev template for newbee, and readers of hugojing/web-lessons.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/hugojing/generator-webpack-babel",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc