mirror of https://github.com/embarklabs/embark.git
Merge pull request #623 from embark-framework/remove_old_stuff
Remove old grunt stuff
This commit is contained in:
commit
ae0b4d0eca
|
@ -1,29 +0,0 @@
|
||||||
module.exports = (grunt) ->
|
|
||||||
|
|
||||||
grunt.initConfig
|
|
||||||
"embark-framework": {}
|
|
||||||
pkg: grunt.file.readJSON('package.json')
|
|
||||||
clean:
|
|
||||||
build: ["build/"]
|
|
||||||
coffee:
|
|
||||||
compile:
|
|
||||||
expand: true
|
|
||||||
src: 'src/**/*.coffee'
|
|
||||||
dest: 'build/'
|
|
||||||
ext: '.js'
|
|
||||||
uglify:
|
|
||||||
options: banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
|
|
||||||
build:
|
|
||||||
files:
|
|
||||||
'build/<%= pkg.name %>.min.js': [
|
|
||||||
"build/<%= pkg.name %>.js"
|
|
||||||
]
|
|
||||||
mochaTest:
|
|
||||||
test:
|
|
||||||
src: ['test/**/*.js']
|
|
||||||
|
|
||||||
grunt.loadTasks "tasks"
|
|
||||||
require('matchdep').filterAll(['grunt-*','!grunt-cli']).forEach(grunt.loadNpmTasks)
|
|
||||||
|
|
||||||
grunt.registerTask 'default', ['clean']
|
|
||||||
grunt.registerTask 'build', ['clean', 'coffee']
|
|
|
@ -99,12 +99,6 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "4.13.1",
|
"eslint": "4.13.1",
|
||||||
"grunt": "^1.0.1",
|
|
||||||
"grunt-cli": "^1.2.0",
|
|
||||||
"grunt-contrib-clean": "^1.0.0",
|
|
||||||
"grunt-contrib-coffee": "^2.0.0",
|
|
||||||
"grunt-mocha-test": "^0.13.2",
|
|
||||||
"matchdep": "^1.0.1",
|
|
||||||
"mocha-sinon": "^1.1.4",
|
"mocha-sinon": "^1.1.4",
|
||||||
"sinon": "^4.5.0"
|
"sinon": "^4.5.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue