@thetoto/openfl
Version:
A fast, productive library for 2D cross-platform development.
121 lines (120 loc) • 5.82 kB
JSON
{
"name": "@thetoto/openfl",
"version": "9.0.2-custom",
"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-js/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-js.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.hxml",
"build-test-es5": "cd test/es5 && webpack",
"build-test-es6": "cd test/es6 && webpack",
"build-test-haxe": "cd test/haxe && haxe build.hxml && webpack",
"build-test-typescript": "cd test/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/index.html --old-and-busted",
"test-es5": "npm run build-test-es5 && mocha-chrome test/es5/index.html --old-and-busted",
"test-es6": "npm run build-test-es6 && mocha-chrome test/es6/index.html --old-and-busted",
"test-haxe": "npm run build-test-haxe && mocha-chrome test/haxe/index.html --old-and-busted",
"test-typescript": "npm run build-test-typescript && mocha-chrome test/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.2.0",
"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.4.1",
"lime": "openfl/lime#develop",
"mocha": "^5.2.0",
"mocha-chrome": "^1.1.0",
"openfl-haxelib": "openfl/openfl#dead-simple",
"swf": "openfl/swf",
"typedoc": "^0.11.1",
"typescript": "^3.9.7",
"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"
}
}