Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

areaspawnr

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

areaspawnr - npm Package Compare versions

Comparing version 0.7.4 to 0.7.5

.eslintrc.json

124

package.json
{
"author": {
"email": "joshuakgoldberg@outlook.com",
"name": "Josh Goldberg"
},
"browser": "./src/index.js",
"bugs": {
"url": "https://github.com/FullScreenShenanigans/AreaSpawnr/issues"
},
"dependencies": {
"mapscreatr": "^0.7.6",
"mapscreenr": "^0.7.3"
},
"description": "Loads GameStartr maps to spawn and unspawn areas on demand.",
"devDependencies": {
"@types/chai": "^4.2.2",
"@types/lodash": "^4.14.138",
"@types/lolex": "^3.1.1",
"@types/mocha": "^5.2.7",
"@types/sinon": "^7.0.13",
"@types/sinon-chai": "^3.2.3",
"chai": "^4.2.0",
"concurrently": "^4.1.2",
"glob": "^7.1.4",
"istanbul": "^0.4.5",
"lolex": "^4.2.0",
"mkdirp": "^0.5.1",
"mocha": "^6.2.0",
"mocha-headless-chrome": "^2.0.3",
"npm-check-updates": "^3.1.23",
"requirejs": "^2.3.6",
"run-for-every-file": "^1.1.0",
"shenanigans-manager": "^0.2.42",
"sinon": "^7.4.2",
"sinon-chai": "^3.3.0",
"tslint": "5.20.0",
"tsutils": "^3.17.1",
"typedoc": "^0.15.0",
"typescript": "^3.6.3",
"watch": "^1.0.2",
"webpack": "^4.40.0",
"webpack-cli": "^3.3.8"
},
"license": "MIT",
"name": "areaspawnr",
"repository": {
"type": "git",
"url": "ssh://git@github.com:FullScreenShenanigans/AreaSpawnr.git"
},
"scripts": {
"dist": "npm run dist:webpack",
"dist:webpack": "webpack",
"docs": "npm run docs:typedoc",
"docs:typedoc": "typedoc src/ --exclude **/*.d.ts --ignoreCompilerErrors --out docs/generated",
"init": "npm install && npm run setup && npm run verify",
"ncu": "ncu -u",
"setup": "npm run setup:dirs && npm run setup:copy && npm run setup:package && npm run setup:readme",
"setup:copy": "npm run setup:copy:default",
"setup:copy:default": "run-for-every-file --dot --src \"node_modules/shenanigans-manager/setup/default/\" --file \"**/*\" --run \"mustache package.json {{src-file}} {{file}}\" --dest \".\" --only-files",
"setup:dirs": "shenanigans-manager ensure-dirs-exist",
"setup:package": "shenanigans-manager hydrate-package-json",
"setup:readme": "shenanigans-manager hydrate-readme",
"src": "npm run src:tsc && npm run src:tslint",
"src:tsc": "tsc -p .",
"src:tslint": "tslint -c tslint.json -p tsconfig.json -t stylish",
"src:tslint:fix": "tslint -c tslint.json --fix -p tsconfig.json -t stylish",
"test": "npm run test:setup && npm run test:run",
"test:coverage": "npm run test:coverage:generate-html && npm run test:coverage:instrument && npm run test:coverage:run && npm run test:coverage:report",
"test:coverage:generate-html": "shenanigans-manager generate-test-html --source instrumented",
"test:coverage:instrument": "istanbul instrument src -o instrumented",
"test:coverage:report": "istanbul report html",
"test:coverage:run": "mocha-headless-chrome --coverage coverage.json --file test/index.instrumented.html",
"test:run": "mocha-headless-chrome --file test/index.html",
"test:setup": "npm run test:setup:dir && npm run test:setup:copy && npm run test:setup:html && npm run test:setup:tsc",
"test:setup:copy": "npm run test:setup:copy:default",
"test:setup:copy:default": "run-for-every-file --dot --src \"node_modules/shenanigans-manager/setup/test/\" --file \"**/*\" --run \"mustache package.json {{src-file}} ./test/{{file}}\" --dest \".\" --only-files",
"test:setup:dir": "mkdirp test",
"test:setup:html": "shenanigans-manager generate-test-html",
"test:setup:tsc": "tsc -p test",
"verify": "npm run src && npm run test && npm run dist",
"verify:coverage": "npm run src && npm run test:setup && npm run test:coverage && npm run dist",
"watch": "concurrently \"tsc -p . -w\" --raw \"chokidar src/**/*.test.t* --command \"\"npm run test:setup:html\"\" --silent\" --raw"
},
"shenanigans": {
"name": "AreaSpawnr"
},
"types": "./src/index.d.ts",
"version": "0.7.4"
"author": {
"email": "joshuakgoldberg@outlook.com",
"name": "Josh Goldberg"
},
"browser": "./lib/index.js",
"bugs": {
"url": "https://github.com/FullScreenShenanigans/EightBittr/issues"
},
"dependencies": {
"mapscreatr": "^0.7.9",
"mapscreenr": "^0.7.6",
"shenanigans-manager": "^0.3.2"
},
"description": "Loads GameStartr maps to spawn and unspawn areas on demand.",
"devDependencies": {
"shenanigans-manager": "^0.3.0"
},
"license": "MIT",
"name": "areaspawnr",
"repository": {
"type": "git",
"url": "ssh://git@github.com:FullScreenShenanigans/EightBittr.git"
},
"scripts": {
"compile": "tsc -b",
"hydrate": "node ../shenanigans-manager/bin/shenanigans-manager hydrate-package-json && yarn run test:setup",
"link": "yarn link",
"test": "yarn run test:setup && yarn run test:run",
"test:run": "mocha-headless-chrome --file test/index.html",
"test:setup": "node ../shenanigans-manager/bin/shenanigans-manager generate-tests"
},
"shenanigans": {
"name": "AreaSpawnr"
},
"types": "./lib/index.d.ts",
"version": "0.7.5",
"gitHead": "6379309b5ea381578fd84b96778fde081a937209"
}
<!-- Top -->
# AreaSpawnr
[![Greenkeeper badge](https://badges.greenkeeper.io/FullScreenShenanigans/AreaSpawnr.svg)](https://greenkeeper.io/)

@@ -8,5 +10,7 @@ [![Build Status](https://travis-ci.org/FullScreenShenanigans/AreaSpawnr.svg?branch=master)](https://travis-ci.org/FullScreenShenanigans/AreaSpawnr)

Loads GameStartr maps to spawn and unspawn areas on demand.
<!-- /Top -->
<!-- Development -->
## Development

@@ -20,8 +24,8 @@

npm install
npm run setup
npm run verify
yarn run setup
yarn run verify
```
* `npm run setup` creates a few auto-generated setup files locally.
* `npm run verify` builds, lints, and runs tests.
- `yarn run setup` creates a few auto-generated setup files locally.
- `yarn run verify` builds, lints, and runs tests.

@@ -31,7 +35,7 @@ ### Building

```shell
npm run watch
yarn run watch
```
Source files are written under `src/` in TypeScript and compile in-place to JavaScript files.
`npm run watch` will directly run the TypeScript compiler on source files in watch mode.
`yarn run watch` will directly run the TypeScript compiler on source files in watch mode.
Use it in the background while developing to keep the compiled files up-to-date.

@@ -42,8 +46,8 @@

```shell
npm run test
yarn run test
```
Tests are written in [Mocha](https://github.com/mochajs/mocha) and [Chai](https://github.com/chaijs/chai).
Their files are written using alongside source files under `src/` and named `*.test.ts?`.
Whenever you add, remove, or rename a `*.test.t*` file under `src/`, `watch` will re-run `npm run test:setup` to regenerate the list of static test files in `test/index.html`.
Their files are written using alongside source files under `src/` and named `*.test.ts?`.
Whenever you add, remove, or rename a `*.test.t*` file under `src/`, `watch` will re-run `yarn run test:setup` to regenerate the list of static test files in `test/index.html`.
You can open that file in a browser to debug through the tests.

@@ -50,0 +54,0 @@

@@ -190,1 +190,2 @@ import { IArea, ILocation, IMap, IPreThingsContainers, IPreThingSettings } from "mapscreatr";

}
//# sourceMappingURL=AreaSpawnr.d.ts.map
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AreaSpawnr = void 0;
/**

@@ -339,3 +340,3 @@ * Directional equivalents for converting from directions to keys.

for (var name_1 in this.prethings) {
if (!this.prethings.hasOwnProperty(name_1)) {
if (!{}.hasOwnProperty.call(this.prethings, name_1)) {
continue;

@@ -368,1 +369,2 @@ }

});
//# sourceMappingURL=AreaSpawnr.js.map

@@ -160,1 +160,2 @@ import { IArea, ILocation, IMap, IMapsCreatr, IPreThing, IPreThingsContainers, IPreThingSettings } from "mapscreatr";

}
//# sourceMappingURL=IAreaSpawnr.d.ts.map

@@ -5,1 +5,2 @@ define(["require", "exports"], function (require, exports) {

});
//# sourceMappingURL=IAreaSpawnr.js.map
export * from "./AreaSpawnr";
export * from "./IAreaSpawnr";
//# sourceMappingURL=index.d.ts.map

@@ -1,8 +0,17 @@

define(["require", "exports", "./AreaSpawnr"], function (require, exports, AreaSpawnr_1) {
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
define(["require", "exports", "./AreaSpawnr", "./IAreaSpawnr"], function (require, exports, AreaSpawnr_1, IAreaSpawnr_1) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(AreaSpawnr_1);
__exportStar(AreaSpawnr_1, exports);
__exportStar(IAreaSpawnr_1, exports);
});
//# sourceMappingURL=index.js.map
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"declaration": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": ["dom", "es2015"],
"module": "amd",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"pretty": true,
"strict": true,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"target": "es5"
"composite": true,
"outDir": "./lib",
"rootDir": "./src"
},
"exclude": [
"dist",
"node_modules"
],
"include": [
"./src/**/*.ts",
"./src/**/*.tsx"
]
"include": ["./src/**/*.ts", "./src/**/*.tsx"],
"references": [{ "path": "../mapscreatr" }, { "path": "../mapscreenr" }]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc