This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
33 lines (33 loc) · 1.62 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
{
"name": "ox2d",
"version": "0.2.1",
"description": "A 2D canvas game framework with a tiny size but a big heart.",
"main": "src/engine/core.js",
"scripts": {
"start": "npm run server & npm run watch & npm run watchify",
"watch": "npm run watchImageAssets & npm run watchDataAssets & npm run watchEntities & npm run watchScenes & npm run watchAudioAssets",
"watchAssets": "npm run watchImageAssets & npm run watchDataAssets",
"watchImageAssets": "watch --no-title ./src/tools/assetsWatcher.js ./images",
"watchDataAssets": "watch --no-title ./src/tools/assetsWatcher.js ./data",
"watchAudioAssets": "watch --no-title ./src/tools/assetsWatcher.js ./audio",
"watchEntities": "watch --no-title ./src/tools/entitiesWatcher.js ./src/entities",
"watchScenes": "watch --no-title ./src/tools/scenesWatcher.js ./src/scenes",
"assets": "node ./src/tools/assetsWatcher.js",
"entities": "node ./src/tools/entitiesWatcher.js",
"scenes": "node ./src/tools/scenesWatcher.js",
"server": "browser-sync start --server --files './ox.js'",
"watchify": "watchify src/engine/core.js -o ./ox.js -v -d",
"build": "browserify src/engine/core.js -o ./ox.js",
"deploy": "npm run assets && npm run scenes && npm run entities && npm run build && uglifyjs ./ox.js -mc -o game.js"
},
"author": "Otto Robba",
"license": "MIT",
"devDependencies": {
"browser-sync": "^2.6.1",
"browserify": "^9.0.8",
"fs": "0.0.2",
"uglify-js": "^2.4.20",
"watch": "^0.16.0",
"watchify": "^3.1.0"
}
}