UNPKG

surreal

Version:

Map javascript object property names to aliases for optimal serialized document storage

31 lines (29 loc) 498 B
module.exports = function (grunt) { grunt.initConfig({ clean: { default: { src: ['lib'] } }, ts: { build: { tsconfig: true, options: { fast: 'never' } } }, mochaTest: { 'Surreal': { options: { reporter: 'spec' }, src: ['tests/**/*.js'] } } }); grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-ts'); grunt.loadNpmTasks('grunt-mocha-test'); grunt.registerTask('default', ['clean', 'ts', 'mochaTest']); };