73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
|
|
{
|
||
|
|
"name": "resource-loader",
|
||
|
|
"version": "2.1.1",
|
||
|
|
"main": "./lib/index.js",
|
||
|
|
"description": "A generic asset loader, made with web games in mind.",
|
||
|
|
"author": "Chad Engler <chad@pantherdev.com>",
|
||
|
|
"license": "MIT",
|
||
|
|
"homepage": "https://github.com/englercj/resource-loader",
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "https://github.com/englercj/resource-loader.git"
|
||
|
|
},
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/englercj/resource-loader/issues"
|
||
|
|
},
|
||
|
|
"keywords": [],
|
||
|
|
"files": [
|
||
|
|
"dist",
|
||
|
|
"lib",
|
||
|
|
"package.json",
|
||
|
|
"CONTRIBUTING.md",
|
||
|
|
"LICENSE",
|
||
|
|
"README.md"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"clean": "rm -rf ./dist ./lib && npm run setup",
|
||
|
|
"setup": "mkdirp dist lib",
|
||
|
|
"full-build": "npm run clean && npm run build && npm run minify",
|
||
|
|
"prebuild": "npm run setup && npm run lib",
|
||
|
|
"build": "browserify -d -s Loader -e ./lib/index.js -o ./dist/resource-loader.js",
|
||
|
|
"lib": "babel src --out-dir lib -s",
|
||
|
|
"minify": "uglifyjs --output ./dist/resource-loader.min.js -- ./dist/resource-loader.js",
|
||
|
|
"lint": "eslint src/ test/",
|
||
|
|
"start": "npm run full-build",
|
||
|
|
"pretest": "npm run full-build",
|
||
|
|
"test": "npm run test-dev -- --single-run",
|
||
|
|
"test-dev": "karma start test/karma.conf.js",
|
||
|
|
"docs": "jsdoc -c jsdoc.conf.json -R README.md",
|
||
|
|
"prepublish": "npm run full-build",
|
||
|
|
"predeploy": "rm -rf ./docs && npm run docs",
|
||
|
|
"deploy": "gh-pages -d docs",
|
||
|
|
"postpublish": "npm run deploy"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"mini-signals": "^1.1.1",
|
||
|
|
"parse-uri": "^1.0.0"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@englercj/code-style": "^1.0.6",
|
||
|
|
"@pixi/jsdoc-template": "^2.2.0",
|
||
|
|
"babel-cli": "^6.18.0",
|
||
|
|
"babel-preset-es2015": "^6.18.0",
|
||
|
|
"browserify": "^13.1.1",
|
||
|
|
"chai": "^3.5.0",
|
||
|
|
"eslint": "^3.12.2",
|
||
|
|
"gh-pages": "^0.12.0",
|
||
|
|
"ink-docstrap": "^1.3.0",
|
||
|
|
"jsdoc": "^3.4.3",
|
||
|
|
"karma": "^1.3.0",
|
||
|
|
"karma-chrome-launcher": "^2.0.0",
|
||
|
|
"karma-firefox-launcher": "^1.0.0",
|
||
|
|
"karma-mocha": "^1.3.0",
|
||
|
|
"karma-mocha-reporter": "^2.2.1",
|
||
|
|
"karma-sinon-chai": "^1.2.4",
|
||
|
|
"mkdirp": "^0.5.1",
|
||
|
|
"mocha": "^3.2.0",
|
||
|
|
"sinon": "^1.17.6",
|
||
|
|
"sinon-chai": "^2.8.0",
|
||
|
|
"uglify-js": "^2.7.5",
|
||
|
|
"watchify": "^3.8.0"
|
||
|
|
}
|
||
|
|
}
|