0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01: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
dist/js/npm.js vendored Normal file
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')

View File

@ -1 +0,0 @@
module.exports = __dirname;

View File

@ -18,7 +18,7 @@
},
"style": "dist/css/bootstrap.css",
"less": "less/bootstrap.less",
"main": "./index.js",
"main": "./dist/js/npm",
"repository": {
"type": "git",
"url": "https://github.com/twbs/bootstrap.git"