forked from devtheorem/cropt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.cjs
36 lines (35 loc) · 1.03 KB
/
Gruntfile.cjs
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
module.exports = function (grunt) {
grunt.initConfig({
copy: {
dist: {
files: [
{
expand: true,
cwd: "node_modules/bootstrap/dist/js",
src: "bootstrap.bundle.min.*",
dest: "demo/build",
},
{
expand: true,
cwd: "src",
src: ["cropt.js", "cropt.css", "demo.js"],
dest: "demo/build",
},
],
},
},
sass: {
dist: {
options: {
style: "expanded",
},
files: {
"demo/build/bs-custom.css": "demo/styles.scss",
},
},
},
});
grunt.loadNpmTasks("grunt-contrib-copy");
grunt.loadNpmTasks("grunt-contrib-sass");
grunt.registerTask("default", ["copy", "sass"]);
};