UNPKG

@benev/nubs

Version:
68 lines (67 loc) 1.93 kB
{ "name": "@benev/nubs", "version": "0.3.0-dev.2", "description": "user-input system for web games", "license": "MIT", "author": "Chase Moskal <chasemoskal@gmail.com>", "type": "module", "main": "x/index.js", "files": [ "x", "s" ], "scripts": { "build": "run-s clean && run-p importly compile", "start": "run-p http watch", "http": "http-server x", "clean": "rimraf x && mkdirp x", "importly": "importly --host=node_modules < package-lock.json > x/importmap.json", "compile": "run-p links sass && run-s typescript web", "typescript": "tsc", "links": "run-s link-s link-modules", "link-s": "ln -s $(realpath s) x/s", "link-modules": "ln -s $(realpath node_modules) x/node_modules", "sass": "sass s/web/templates/:x/", "web": "node x/web/build.js", "watch": "run-p watch-sass watch-typescript watch-web", "watchtest": "chokidar 'x/**/*.js' -c 'node x/controls/parse/parse.test.js'", "watch-sass": "npm run sass -s -- --watch", "watch-typescript": "tsc -w", "watch-web": "chokidar \"x/web/**/*\" -c \"npm run web -s && echo 'rebuilt web'\"", "test-debug": "node inspect node_modules/cynic/dist/cli.js node x/tests.test.js", "test": "cynic node x/tests.test.js" }, "dependencies": { "@chasemoskal/magical": "^0.1.8", "lit": "^3.0.2", "xiome": "^0.0.45" }, "devDependencies": { "chokidar": "^3.5.3", "chokidar-cli": "^3.0.0", "cynic": "^0.2.1", "es-module-shims": "^1.8.1", "http-server": "^14.1.1", "importly": "^0.2.2", "mkdirp": "^3.0.1", "npm-run-all": "^4.1.5", "rimraf": "^5.0.5", "sass": "^1.69.5", "typescript": "^5.2.2" }, "keywords": [ "input", "user-input", "touch", "mobile", "thumbsticks" ], "repository": { "type": "git", "url": "git+https://github.com/benevolent-games/nubs.git" }, "bugs": { "url": "https://github.com/benevolent-games/nubs/issues" }, "homepage": "https://github.com/benevolent-games/nubs#readme" }