forked from openfl/openfl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 5.63 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "openfl",
"version": "8.9.7",
"description": "A fast, productive library for 2D cross-platform development.",
"keywords": [
"openfl",
"openfl.js",
"openfl-js",
"game",
"animation",
"sound",
"flash",
"graphics"
],
"homepage": "http://www.openfl.org",
"bugs": {
"url": "https://github.com/openfl/openfl/issues"
},
"license": "MIT",
"contributors": [
"Joshua Granick",
"Other OpenFL contributors"
],
"main": "dist/openfl.min.js",
"bin": {
"openfljs": "bin/openfl.js"
},
"module": "lib-esm/openfl/index.js",
"types": "lib/openfl/index.d.ts",
"sideEffects": [
"./lib-esm/openfl/utils/AssetLibrary.js"
],
"files": [
"bin",
"dist",
"lib",
"scripts",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/openfl/openfl.git"
},
"scripts": {
"build": "npm run build-lib && npm run build-lib-esm && npm run build-dist && npm run build-tools && 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 openfl --mode file --target es5 --module commonjs --plugins none --exclude \"**/{node_modules,test}/**/*.ts\" --readme none --theme default --includeDeclarations --disableOutputCheck --ignoreCompilerErrors",
"build-lib": "cd scripts && haxe build.hxml",
"build-lib-esm": "cd scripts && node generate-es2015 gen",
"build-lib-esm-reexports-barrels": "cd scripts && node generate-es2015 non-gen",
"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 -output=dist/openfl.swc",
"build-tools": "cd scripts && haxe tools-npm.hxml",
"build-test-es5": "cd test/npm/es5 && webpack",
"build-test-es6": "cd test/npm/es6 && webpack",
"build-test-haxe": "cd test/npm/haxe && haxe build.hxml && webpack",
"build-test-typescript": "cd test/npm/typescript && tsc -p tsconfig.json && webpack",
"dev-link": "npm link lime && npm link hxgenjs && npm link hxnodejs && npm link hxp && npm link format",
"prepublishOnly": "npm run build",
"serve": "http-server -c-1 --cors",
"test": "npm run build-test-es5 && npm run build-test-es6 && npm run build-test-haxe && npm run build-test-typescript && mocha-chrome test/npm/index.html --old-and-busted",
"test-es5": "npm run build-test-es5 && mocha-chrome test/npm/es5/index.html --old-and-busted",
"test-es6": "npm run build-test-es6 && mocha-chrome test/npm/es6/index.html --old-and-busted",
"test-haxe": "npm run build-test-haxe && mocha-chrome test/npm/haxe/index.html --old-and-busted",
"test-typescript": "npm run build-test-typescript && mocha-chrome test/npm/typescript/index.html --old-and-busted",
"docker-build": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run build; chmod -R 777 dist; chmod -R 777 lib/_gen\"",
"docker-build-dist": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run build-dist; chmod -R 777 dist\"",
"docker-build-lib": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run build-lib; chmod -R 777 lib/_gen\"",
"docker-build-test-es5": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run build-test-es5 -s; chmod -R 777 test/es5\"",
"docker-build-test-es6": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run build-test-es6 -s; chmod -R 777 test/es6\"",
"docker-build-test-haxe": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run build-test-haxe -s; chmod -R 777 test/haxe\"",
"docker-build-test-typescript": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run build-test-typescript -s; chmod -R 777 test/typescript\"",
"docker-test": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run test -s; chmod -R 777 test\"",
"docker-test-es5": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run test-es5 -s\"",
"docker-test-es6": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run test-es6 -s\"",
"docker-test-haxe": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run test-haxe -s\"",
"docker-test-typescript": "cd scripts && node docker-run.js openfl/ci-openfl-js:0.0.2 \"npm run test-typescript -s\"",
"start": "npm run watch",
"watch": "watch \"echo watch: Compiling... && npm run build-lib -s && echo watch: Compiled successfully.\" ./src ./scripts ./node_modules/lime/src"
},
"devDependencies": {
"@apache-royale/royale-js": "^0.9.3",
"@types/lodash": "^4.14.116",
"@types/mocha": "^5.2.5",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-stage-1": "^6.24.1",
"brotli-webpack-plugin": "^1.0.0",
"chai": "^4.1.2",
"compression-webpack-plugin": "^1.1.12",
"format": "jgranick/format",
"globby": "^8.0.1",
"haxe": "^5.0.10",
"hxgenjs": "kevinresol/hxgenjs",
"hxnodejs": "haxefoundation/hxnodejs",
"hxp": "openfl/hxp",
"jpeg-js": "^0.3.4",
"lime": "openfl/lime#develop",
"mocha": "^5.2.0",
"mocha-chrome": "^1.1.0",
"typedoc": "^0.11.1",
"typescript": "^2.9.2",
"uglifyjs-webpack-plugin": "^1.3.0",
"watch": "^1.0.2",
"webpack": "^4.20.1",
"webpack-cli": "^3.1.1",
"webpack-merge": "^4.1.4"
},
"dependencies": {
"file-saver": "^1.3.8",
"howler": "^2.0.15",
"pako": "^1.0.6"
},
"haxeDependencies": {
"haxe": "4.0.5"
}
}