2014-03-23 04:39:43 +00:00
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
// Our custom version of p2
|
|
|
|
p2: {
|
|
|
|
src: require('../manifests/p2'),
|
|
|
|
dest: '<%= compile_dir %>/p2.js'
|
|
|
|
},
|
|
|
|
|
|
|
|
// Our custom version of Pixi
|
|
|
|
pixi: {
|
|
|
|
src: require('../manifests/pixi'),
|
|
|
|
dest: '<%= compile_dir %>/pixi.js'
|
|
|
|
},
|
|
|
|
|
|
|
|
// Our custom version of Ninja Physics
|
|
|
|
ninja: {
|
|
|
|
src: require('../manifests/ninja'),
|
|
|
|
dest: '<%= compile_dir %>/ninja.js'
|
|
|
|
},
|
|
|
|
|
2014-04-10 00:54:30 +00:00
|
|
|
// Phaser without Pixi, P2 or Ninja Physics (does include Arcade Physics)
|
2014-03-23 04:39:43 +00:00
|
|
|
phaser: {
|
|
|
|
options: {
|
2014-04-01 02:02:36 +00:00
|
|
|
banner: '<%= banner %>'
|
2014-03-23 04:39:43 +00:00
|
|
|
},
|
|
|
|
src: require('../manifests/phaser'),
|
|
|
|
dest: '<%= compile_dir %>/phaser-no-libs.js'
|
|
|
|
},
|
|
|
|
|
2014-04-10 00:54:30 +00:00
|
|
|
// Phaser with Pixi and Arcade Physics, but no Ninja or P2 libs
|
|
|
|
phaserArcadePhysics: {
|
2014-03-23 04:39:43 +00:00
|
|
|
options: {
|
|
|
|
banner: '<%= banner %>'
|
|
|
|
},
|
|
|
|
src: ['<%= compile_dir %>/pixi.js', '<%= compile_dir %>/phaser-no-libs.js'],
|
2014-04-10 00:54:30 +00:00
|
|
|
dest: '<%= compile_dir %>/phaser-arcade-physics.js'
|
2014-03-23 04:39:43 +00:00
|
|
|
},
|
|
|
|
|
2014-08-28 03:53:05 +00:00
|
|
|
// One ring to rule them all, with ninja physics
|
|
|
|
/*
|
2014-03-23 04:39:43 +00:00
|
|
|
standalone: {
|
|
|
|
options: {
|
2014-04-01 02:02:36 +00:00
|
|
|
banner: '<%= banner %>'
|
2014-03-23 04:39:43 +00:00
|
|
|
},
|
|
|
|
src: [
|
|
|
|
'<%= compile_dir %>/pixi.js',
|
|
|
|
'<%= compile_dir %>/phaser-no-libs.js',
|
|
|
|
'<%= compile_dir %>/ninja.js',
|
|
|
|
'<%= compile_dir %>/p2.js'
|
|
|
|
],
|
|
|
|
dest: '<%= compile_dir %>/phaser.js'
|
|
|
|
}
|
2014-08-28 03:53:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
// One ring to rule them all
|
|
|
|
standalone: {
|
|
|
|
options: {
|
|
|
|
banner: '<%= banner %>'
|
|
|
|
},
|
|
|
|
src: [
|
|
|
|
'<%= compile_dir %>/pixi.js',
|
|
|
|
'<%= compile_dir %>/phaser-no-libs.js',
|
|
|
|
'<%= compile_dir %>/p2.js'
|
|
|
|
],
|
|
|
|
dest: '<%= compile_dir %>/phaser.js'
|
|
|
|
}
|
2014-03-23 04:39:43 +00:00
|
|
|
|
|
|
|
};
|