2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

added a separate npm-specific main file

This commit is contained in:
James Friend
2014-08-04 10:07:21 +08:00
parent 33a6932d6f
commit 689faaf16f
3 changed files with 13 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
require('../../js/transition')
require('../../js/alert')
require('../../js/button')
require('../../js/carousel')
require('../../js/collapse')
require('../../js/dropdown')
require('../../js/modal')
require('../../js/tooltip')
require('../../js/popover')
require('../../js/scrollspy')
require('../../js/tab')
require('../../js/affix')
-1
View File
@@ -1 +0,0 @@
module.exports = __dirname;
+1 -1
View File
@@ -18,7 +18,7 @@
}, },
"style": "dist/css/bootstrap.css", "style": "dist/css/bootstrap.css",
"less": "less/bootstrap.less", "less": "less/bootstrap.less",
"main": "./index.js", "main": "./dist/js/npm",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/twbs/bootstrap.git" "url": "https://github.com/twbs/bootstrap.git"