-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.21 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "phaser-app-template",
"version": "1.0.0",
"description": "A template for a Phaser app.",
"license": "MIT",
"author": "DylanCheetah",
"type": "commonjs",
"main": "index.js",
"scripts": {
"build": "npm run build:copy && npm run build:vendor && npm run build:bundle",
"serve": "npm run build:copy && npm run build:vendor && npm run serve:budo",
"build:copy": "copyfiles -f src/index.html dist/",
"build:vendor": "browserify -r phaser | uglifyjs --compress --mangle > dist/vendor.js",
"build:bundle": "browserify src/main.js -x phaser | uglifyjs --compress --mangle > dist/bundle.js",
"serve:budo": "budo src/main.js -p 8000 --serve /bundle.js --live --dir dist/ -d -- -x phaser",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"babelify": "^10.0.0",
"browserify": "^17.0.1",
"budo": "^11.8.4",
"copyfiles": "^2.4.1",
"phaser": "^3.90.0",
"uglify-js": "^3.19.3",
"watchify": "^4.0.0"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"@babel/preset-env"
]
}
]
]
}
}