-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 1.18 KB
/
package.json
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
{
"name": "phaser3-typescript",
"version": "0.0.1",
"description": "Boilerplate for Phaser 3 in Typescript",
"keywords": [
"Phaser",
"Phaser 3",
"Phaser3",
"TypeScript",
"Webpack"
],
"devDependencies": {
"clean-webpack-plugin": "^0.1.19",
"expose-loader": "^0.7.5",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"ts-loader": "^4.3.0",
"typescript": "^2.7.2",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.3",
"webpack-dev-server": "^3.1.4"
},
"dependencies": {
"@capacitor/cli": "^1.0.0-alpha.37",
"@capacitor/core": "^1.0.0-alpha.37",
"phaser": "3.7.1"
},
"scripts": {
"copy": "cp -fR assets dist && cp src/service-worker.js dist/service-worker.js && cp src/manifest.json dist/manifest.json && cp sw-toolbox.js dist/sw-toolbox.js",
"dev": "webpack --mode development && npm run copy && webpack-dev-server --progress --colors --watch-poll",
"prod": "webpack --mode production && npm run copy",
"build": "webpack --mode production && npm run copy && npx cap copy",
"start": "webpack-dev-server --inline --progress --colors --watch-poll",
"watch": "webpack --mode development -w"
}
}