UNPKG

collider2d

Version:

A 2D collision checker for modern JavaScript games.

55 lines (54 loc) 1.74 kB
{ "name": "collider2d", "version": "1.1.1", "description": "A 2D collision checker for modern JavaScript games.", "main": "build/index.js", "module": "collider2d.js", "scripts": { "rm:build": "rm -rf build", "rm:bundle": "rm -rf collider2d.js", "tsconfig": "tsc --init --declaration --allowSyntheticDefaultImports --target esnext --outDir build", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "build": "npm run rm:build && npm run build:types && npm run build:js", "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir build --extensions \".ts,.tsx\" --source-maps inline", "bundle": "npm run rm:bundle && rollup -c", "bundle:watch": "rollup -c --watch", "test": "mocha" }, "repository": { "type": "git", "url": "https://github.com/robertcorponoi/collider2d" }, "keywords": [ "2d", "game", "collision", "collider", "polygon", "circle", "esm", "module", "sat" ], "typings": "build/index.d.ts", "author": "Robert Corponoi", "license": "MIT", "devDependencies": { "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-numeric-separator": "^7.10.4", "@babel/plugin-proposal-object-rest-spread": "^7.11.0", "@babel/preset-env": "^7.11.5", "@babel/preset-typescript": "^7.10.4", "@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-node-resolve": "^11.2.0", "chai": "^4.2.0", "mocha": "^8.1.3", "rollup": "^2.28.2", "rollup-plugin-babel": "^4.4.0", "typescript": "^4.0.3" } }