mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 14:13:06 +02:00
Lint: stop ignoring package.js (#32021)
This commit is contained in:
@@ -4,4 +4,3 @@
|
|||||||
/_gh_pages/
|
/_gh_pages/
|
||||||
/js/coverage/
|
/js/coverage/
|
||||||
/site/sw.js
|
/site/sw.js
|
||||||
/package.js
|
|
||||||
|
14
package.js
14
package.js
@@ -1,17 +1,19 @@
|
|||||||
// package metadata file for Meteor.js
|
// package metadata file for Meteor.js
|
||||||
|
|
||||||
|
/* eslint-env meteor */
|
||||||
|
|
||||||
Package.describe({
|
Package.describe({
|
||||||
name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap
|
name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap
|
||||||
summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.',
|
summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.',
|
||||||
version: '4.5.3',
|
version: '4.5.3',
|
||||||
git: 'https://github.com/twbs/bootstrap.git'
|
git: 'https://github.com/twbs/bootstrap.git'
|
||||||
});
|
})
|
||||||
|
|
||||||
Package.onUse(function (api) {
|
Package.onUse(api => {
|
||||||
api.versionsFrom('METEOR@1.0');
|
api.versionsFrom('METEOR@1.0')
|
||||||
api.use('jquery', 'client');
|
api.use('jquery', 'client')
|
||||||
api.addFiles([
|
api.addFiles([
|
||||||
'dist/css/bootstrap.css',
|
'dist/css/bootstrap.css',
|
||||||
'dist/js/bootstrap.js'
|
'dist/js/bootstrap.js'
|
||||||
], 'client');
|
], 'client')
|
||||||
});
|
})
|
||||||
|
Reference in New Issue
Block a user