From 285364059091c6ea2d00b9fe15bdacc3f9b95ef4 Mon Sep 17 00:00:00 2001 From: Luis Lebolo Date: Thu, 26 May 2016 13:04:58 -0400 Subject: [PATCH] Fix package.json main attribute `main` can no longer be an array (it must be a string in npm, but can be an array in bower) See angular-ui/ui-grid#4743 as an example --- package.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index bc7908d..e29be47 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,7 @@ "name": "nz-tour", "version": "1.0.2", "description": "Touring and on-boarding made simple for AngularJS", - "main": [ - "dist/nz-tour.min.js", - "dist/nz-tour.min.css" - ], + "main": "dist/nz-tour.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "gulp build" @@ -28,4 +25,4 @@ "gulp-uglifyjs": "^0.6.0", "nib": "^1.1.0" } -} \ No newline at end of file +}