diff --git a/addon/__dev__/warnOnMissingDependencies.js b/addon/__dev__/warnOnMissingDependencies.js index c3fd6b67..69b63f36 100644 --- a/addon/__dev__/warnOnMissingDependencies.js +++ b/addon/__dev__/warnOnMissingDependencies.js @@ -1,6 +1,6 @@ 'use strict'; -var pkg = require('../../package.json'); +var pkgName = 'nano-css'; module.exports = function warnOnMissingDependencies (addon, renderer, deps) { var missing = []; @@ -17,7 +17,7 @@ module.exports = function warnOnMissingDependencies (addon, renderer, deps) { var str = 'Addon "' + addon + '" is missing the following dependencies:'; for (var j = 0; j < missing.length; j++) { - str += '\n require("' + pkg.name + '/addon/' + missing[j] + '").addon(nano);'; + str += '\n require("' + pkgName + '/addon/' + missing[j] + '").addon(nano);'; } throw new Error(str); diff --git a/package.json b/package.json index 015acbd4..dba1214f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nano-css", - "version": "1.12.0", + "version": "1.15.0", "description": "Smallest 5th gen CSS-in-JS library", "main": "index.js", "unpkg": "dist/nano-css.umd.min.js",