Comparing version
{ | ||
"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. |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
0
-100%672
-91.28%2
-50%0
-100%2
100%6
-85%2
Infinity%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed