forked from Meteor-Community-Packages/meteor-scss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
39 lines (37 loc) · 1.04 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Package.describe({
summary: 'Style with attitude. Sass and SCSS support for Meteor.js (with autoprefixer and sourcemaps).',
version: "3.2.0",
git: "https://github.com/fourseven/meteor-scss.git",
name: "fourseven:scss"
});
Package.registerBuildPlugin({
name: 'compileScss',
use: [],
sources: [
'plugin/compile-scss.js'
],
npmDependencies: {
'node-sass': '3.2.0',
'lodash': '2.4.1',
'autoprefixer-core': '5.1.4',
}
});
Package.on_test(function (api) {
api.use(['test-helpers',
'tinytest',
'jquery',
'templating']);
api.use(['fourseven:scss']);
api.add_files(['test/scss_tests.html', 'test/scss_tests.js'], 'client');
api.add_files(['test/scss_tests.scss'], 'client', {
testOptions: {
enableAutoprefixer: true,
autoprefixerOptions: {
// In order to force autoprefixer to actually add the prefixed
// -webkit-transition css rule, it is necessary to enforce rule
// generation for all outdated browsers.
browsers: ['> 0%']
}
}
});
});