File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- dist /*
2- Gruntfile.js
3- node_modules /*
4- build /*
5- dist /*
6- docs /*
7- filters /*
8- resources /*
9- tasks /*
10- typescript /*
11- src /Intro.js
12- src /Outro.js
13- src /pixi /*
14- src /plugins /path /*
15- src /physics /p2 /p2.js
16- src /animation /creature /gl-matrix.js
17- src /animation /creature /CreatureMeshBone.js
18- src /gameobjects /Creature.js
19- src /stubs /*
20- src /physics /matter-js /*
1+ merge /Intro.js
2+ merge /Outro.js
3+ merge /plugins /path /
4+ merge /physics /p2 /p2.js
5+ merge /animation /creature /
6+ src /physics /matter-js /
7+ src /renderer /webgl /renderers /shapebatch /earcut.js
Original file line number Diff line number Diff line change 11** /. *
2- bower_components /
3- resources /
2+ dist /
3+ docs /
4+ merge /
45examples /
5- plugins /
Original file line number Diff line number Diff line change 11var fs = require ( 'fs-extra' ) ;
2- var uuid = require ( 'node- uuid' ) ;
2+ var uuid = require ( 'uuid' ) ;
33
44var v = uuid . v1 ( ) ;
55
Original file line number Diff line number Diff line change 99 "bugs" : " https://github.com/photonstorm/phaser/issues" ,
1010 "license" : " MIT" ,
1111 "licenseUrl" : " http://www.opensource.org/licenses/mit-license.php" ,
12- "main" : " ./build /phaser.js" ,
12+ "main" : " ./src /phaser.js" ,
1313 "typings" : " ./typings/index.d.ts" ,
1414 "repository" : {
1515 "type" : " git" ,
1616 "url" : " https://photonstorm@github.com/photonstorm/phaser.git"
1717 },
1818 "scripts" : {
19- "test" : " echo \" Error: no test specified\" && exit 1"
19+ "build" : " webpack" ,
20+ "lint" : " eslint --config .eslintrc.json \" src/**/*.js\" "
2021 },
2122 "keywords" : [
2223 " 2d" ,
3031 " typescript" ,
3132 " web audio"
3233 ],
33- "dependencies" : {
34- "json-loader" : " ^0.5.4" ,
35- "webpack" : " 2.1.0-beta.27"
36- },
3734 "devDependencies" : {
38- "copy-webpack-plugin" : " ^4.0.1" ,
39- "fs-extra" : " ^1.0.0" ,
40- "json-loader" : " ^0.5.4" ,
41- "node-uuid" : " ^1.4.7" ,
42- "webpack" : " 2.1.0-beta.27" ,
43- "webpack-dev-server" : " 2.1.0-beta.11" ,
44- "webpack-shell-plugin" : " ^0.4.3"
35+ "eslint" : " ^3.19.0" ,
36+ "fs-extra" : " ^3.0.0" ,
37+ "uuid" : " ^3.0.1" ,
38+ "webpack" : " ^2.4.1" ,
39+ "webpack-shell-plugin" : " ^0.5.0"
4540 }
4641}
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ const WebpackShellPlugin = require('webpack-shell-plugin');
55
66module . exports = {
77
8- context : '. /src' ,
8+ context : ` ${ __dirname } /src/` ,
99
1010 entry : {
1111 phaser : './phaser.js'
1212 } ,
1313
1414 output : {
15- path : '. /dist' ,
15+ path : ` ${ __dirname } /dist/` ,
1616 filename : '[name].js' ,
1717 library : 'Phaser' ,
1818 libraryTarget : 'umd' ,
You can’t perform that action at this time.
0 commit comments