forked from slashman/jsrl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.72 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "jsrl",
"version": "0.0.4",
"description": "JavaScript Roguelike Template - The basics to start building your own",
"main": "src/main.js",
"scripts": {
"build:electron": "cross-env NODE_ENV=production --target=electron-renderer webpack --mode=production",
"build:electron:pixi": "cross-env NODE_ENV=production --graphics=pixi --target=electron-renderer webpack --mode=production",
"build:web": "webpack --target=web --mode=production",
"build:web:pixi": "cross-env --graphics=pixi webpack --mode=production",
"electron": "concurrently \"cross-env NODE_ENV=development --target=electron-renderer webpack --watch\" \"cross-env NODE_ENV=development electron .\"",
"electron:pixi": "concurrently \"cross-env NODE_ENV=development --graphics=pixi --target=electron-renderer webpack --watch\" \"cross-env NODE_ENV=development electron .\"",
"web": "cross-env NODE_ENV=development webpack-dev-server --open",
"web:pixi": "cross-env NODE_ENV=development --graphics=pixi webpack-dev-server --open",
"package:win32": "npm run build:electron && electron-packager dist/electron JSRL --overwrite --platform=win32 --out=dist --icon=./src/favicon.ico",
"package:linux": "npm run build:electron && electron-packager dist/electron JSRL --overwrite --platform=linux --out=dist",
"package:mac": "npm run build:electron && electron-packager dist/electron JSRL --overwrite --platform=darwin --out=dist",
"package:win32:pixi": "npm run build:electron:pixi && electron-packager dist/electron JSRL --overwrite --platform=win32 --out=dist --icon=./src/favicon.ico",
"package:linux:pixi": "npm run build:electron:pixi && electron-packager dist/electron JSRL --overwrite --platform=linux --out=dist",
"package:mac:pixi": "npm run build:electron:pixi && electron-packager dist/electron JSRL --overwrite --platform=darwin --out=dist",
"webDeco": "cross-env NODE_ENV=development webpack-dev-server --target=web --mode=development --config=webpack/webpack.deco.config.js --open"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"babel-loader": "^9.1.0",
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^7.6.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.2",
"dotenv": "^16.0.3",
"electron": "^22.0.0",
"electron-packager": "^17.1.1",
"electron-reload": "^1.5.0",
"html-webpack-plugin": "^5.5.0",
"minimist": "^1.2.7",
"style-loader": "^3.3.1",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"dependencies": {
"pixi.js": "^7.0.4"
}
}