• This project
    • Loading...
  • Sign in

2021-1-capstone-design2 / 2015104150

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • 2015104150
  • source
  • Blockchain
  • truffle
  • node_modules
  • memorystream
  • Gruntfile.js
  • 김건's avatar
    source upload · 9e44b4a0
    9e44b4a0
    김건 authored 2021-05-08 21:52:03 +0900
Gruntfile.js 548 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
module.exports = function(grunt) {
    
    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-mocha-test');
    
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        jshint: {
            options: {
              node: true
            },
            main : ["index.js"]
        },
        mochaTest: {
            options: {
                reporter: 'spec'
            },
            src: ['test/*.test.js']
        }
    });

    grunt.registerTask('default', ['jshint:main', 'mochaTest']);
};