From 634a08300c12c46ebd30c3737a47d8f55b90ae30 Mon Sep 17 00:00:00 2001 From: Sam Lau Date: Mon, 16 Nov 2015 01:50:57 -0800 Subject: [PATCH] specify npm main field for use with requiring this package via something like webpack instead of having to do require('animate.css/animate.css') you should be able to just do require('animate.css') --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index af5f596..be70f1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "animate.css", "version": "3.4.0", + "main": "animate.css", "repository": { "type": "git", "url": "https://github.com/daneden/animate.css.git"