mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
34 lines
811 B
JavaScript
34 lines
811 B
JavaScript
module.exports = {
|
|
src: {
|
|
src: [
|
|
'plugins/**/*.js',
|
|
'src/**/*.js',
|
|
'!src/Intro.js',
|
|
'!src/Outro.js',
|
|
'!src/pixi/**/*',
|
|
'!src/physics/p2/p2.js',
|
|
'!src/animation/creature/gl-matrix.js',
|
|
'!src/animation/creature/CreatureMeshBone.js',
|
|
'!src/gameobjects/Creature.js',
|
|
'!src/stubs/*.js'
|
|
],
|
|
options: { jshintrc: '.jshintrc' }
|
|
},
|
|
|
|
filters: {
|
|
src: ['filters/**/*.js'],
|
|
options: { jshintrc: 'filters/.jshintrc', }
|
|
},
|
|
|
|
tooling: {
|
|
src: [
|
|
'Gruntfile.js',
|
|
'tasks/**/*.js'
|
|
],
|
|
options: { jshintrc: 'tasks/.jshintrc' }
|
|
},
|
|
|
|
options: {
|
|
force: (process.env.NODE_ENV !== 'test')
|
|
}
|
|
};
|