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

gulp-vuejs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-vuejs - npm Package Compare versions

Comparing version 1.0.7 to 2.0.0

33

package.json
{
"name": "gulp-vuejs",
"version": "1.0.7",
"description": "Fast and uncomplicated .vue file compiler for Gulp.",
"version": "2.0.0",
"description": "",
"main": "index.js",

@@ -11,29 +11,10 @@ "scripts": {

"type": "git",
"url": "git+https://github.com/wearespindle/gulp-vue.git"
"url": "git+https://github.com/npm/deprecate-holder.git"
},
"keywords": [
"vue"
],
"files": [
"LICENSE",
"README.md",
"index.js"
],
"author": "Devhouse Spindle",
"license": "MIT",
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/wearespindle/gulp-vue/issues"
"url": "https://github.com/npm/deprecate-holder/issues"
},
"homepage": "https://github.com/wearespindle/gulp-vue#readme",
"dependencies": {
"vue-template-compiler": "^2.2.6",
"concat-with-sourcemaps": "^0.1.6",
"event-stream": "^3.1.7",
"gulp-concat-util": "^0.5.1",
"gulp-util": "^3.0.2",
"lodash": "^2.4.1",
"lodash.assign": "^2.4.1",
"lodash.bind": "^2.4.1",
"through2": "^0.6.3"
}
"homepage": "https://github.com/npm/deprecate-holder#readme"
}

@@ -1,39 +0,5 @@

# gulp-vue
Simple and fast .vue template compiler for Gulp. Compiles all templates to an
object. Template namespace is configurable and filled dynamically based on your
template app structure. Intentionally no inline stylesheets and javascript.
# Deprecated Package
# Install and usage
Install like:
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
npm install gulp-vuejs --save-dev
Make a templates directory and optionally subdirectories to use template
prefixes, e.g. `templates/mymodule`:
Then use it in your gulp file like:
const vue = require('gulp-vue')
gulp.task('templates', 'Build Vue templates', () => {
gulp.src('./src/templates/**/*.vue')
.pipe(vue('templates.js', {
prefixStart: 'templates',
commonjs: false,
}))
.on('error', notify.onError('Error: <%= error.message %>'))
.pipe(ifElse(PRODUCTION, () => uglify()))
.on('end', () => {
if (!PRODUCTION) del(path.join(BUILD_DIR, 'templates.js.gz'), {force: true})
})
.pipe(gulp.dest(BUILD_DIR))
.pipe(size(extend({title: 'templates'}, sizeConfig)))
.pipe(ifElse(PRODUCTION, () => gzip(gzipConfig)))
.pipe(ifElse(PRODUCTION, () => gulp.dest(BUILD_DIR)))
.pipe(size(extend({title: 'templates [gzip]'}, sizeConfig)))
.pipe(ifElse(isWatching, livereload))
})
This will generate a Javascript file, where templates are accessible from
`window.templates`. You can optionally use the `commonjs` option to generate a
module, which you can require in your code if you want to keep the templates
within a predefined namespace and part of an existing browserify entry.
Please contact support@npmjs.com if you have questions about this package.
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