From 338756f2403eda7322721fc0376434dbe270431d Mon Sep 17 00:00:00 2001 From: akralj Date: Sat, 3 Jun 2017 08:49:54 +0200 Subject: [PATCH] change all occurences of coffee-script with coffeescript to be ready for coffeescript 2 --- README.md | 2 +- lib/compilers/coffee.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e55b78c..97077b4 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ These are the preprocessors supported by vueify out of the box: - scss (via `node-sass`, use `sass` in [config section](#configuring-options)) - jade - pug -- coffee-script (use `coffee` in [config section](#configuring-options)) +- coffeescript (use `coffee` in [config section](#configuring-options)) ## PostCSS diff --git a/lib/compilers/coffee.js b/lib/compilers/coffee.js index f96b70c..b060ea8 100644 --- a/lib/compilers/coffee.js +++ b/lib/compilers/coffee.js @@ -1,8 +1,8 @@ var ensureRequire = require('../ensure-require.js') module.exports = function (raw, cb, compiler) { - ensureRequire('coffee', ['coffee-script']) - var coffee = require('coffee-script') + ensureRequire('coffee', ['coffeescript']) + var coffee = require('coffeescript') var compiled try { compiled = coffee.compile(raw, compiler.options.coffee || { diff --git a/package.json b/package.json index c1caee7..9662fc7 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "babel-runtime": "^6.0.0", "browserify": "^13.0.1", "chai": "^3.5.0", - "coffee-script": "^1.10.0", + "coffeescript": "^1.10.0", "eslint": "^2.13.0", "eslint-config-vue": "^1.0.3", "eslint-plugin-html": "^1.5.3", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy