Commit 689faaf1 authored by James Friend's avatar James Friend

added a separate npm-specific main file

parent 33a6932d
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')
module.exports = __dirname;
...@@ -18,7 +18,7 @@ ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment