forked from openfl/starling
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
69 lines (69 loc) · 2.38 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "starling-framework",
"version": "2.7.0",
"description": "A fast, productive library for 2D cross-platform development.",
"keywords": [
"starling",
"framework",
"game",
"gpu",
"openfl"
],
"homepage": "https://gamua.com/starling/",
"bugs": {
"url": "https://github.com/openfl/starling/issues"
},
"license": "BSD-2-Clause",
"contributors": [
"Gamua",
"Joshua Granick",
"Other OpenFL contributors"
],
"main": "dist/starling.min.js",
"module": "lib/starling/index.js",
"files": [
"bin",
"dist",
"docs",
"lib",
"scripts",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/openfl/starling.git"
},
"scripts": {
"build": "npm run build-lib && npm run build-dist && npm run build-swc",
"build-dist": "npm run build-dist:dev && npm run build-dist:prod",
"build-dist:dev": "webpack --config webpack.dev.js",
"build-dist:prod": "webpack --config webpack.prod.js",
"build-docs": "typedoc --out docs scripts/importAll.ts --allowJs --entryPoint starling --mode file --target es5 --module commonjs --plugins none --exclude \"**/{node_modules,samples}/**/*.ts\" --readme none --theme default --includeDeclarations --disableOutputCheck --ignoreCompilerErrors",
"build-lib": "cd scripts && haxe build.hxml",
"build-swc": "compc -load-config=node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js-config.xml -keep-as3-metadata=JSModule -include-sources=lib -compiler.targets=SWF,JS -warnings=false -external-library-path+=node_modules/openfl/dist/openfl.swc -output=dist/starling.swc",
"dev-link": "npm link openfl && npm link hxgenjs",
"prepublishOnly": "npm run build",
"serve": "http-server -c-1 --cors",
"start": "npm run watch",
"watch": "watch \"echo watch: Compiling... && npm run build-lib -s && echo watch: Compiled successfully.\" ./src ./scripts ./node_modules/openfl/src"
},
"devDependencies": {
"@apache-royale/royale-js": "0.9.8",
"brotli-webpack-plugin": "^1.1.0",
"compression-webpack-plugin": "^10.0.0",
"haxe": "^5.2.1",
"hxgenjs": "kevinresol/hxgenjs",
"typedoc": "^0.11.1",
"typescript": "^5.0.4",
"watch": "^1.0.2",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1",
"webpack-merge": "^5.8.0"
},
"peerDependencies": {
"openfl": "^9.3.1"
},
"haxeDependencies": {
"haxe": "3.4.7"
}
}