Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
@@ -8,3 +8,3 @@ module.exports = { | ||
collectCoverage: true, | ||
coverageReporters: ["html", "text-lcov"], | ||
coverageReporters: ["html", "text-lcov", "text-summary"], | ||
coverageDirectory: "./coverage", | ||
@@ -11,0 +11,0 @@ transform: { |
{ | ||
"name": "squaredjs", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "A 2D tile-based WebGL game engine", | ||
@@ -10,4 +10,5 @@ "main": "dist/index.js", | ||
"build": "tsc", | ||
"test": "jest | coveralls", | ||
"postinstall": "tsc" | ||
"test": "jest", | ||
"test:cover": "jest | coveralls", | ||
"prepare": "npm run build" | ||
}, | ||
@@ -27,3 +28,8 @@ "keywords": [ | ||
"@types/chai": "^4.1.4", | ||
"@types/howler": "^2.0.5", | ||
"@types/jest": "^23.3.2", | ||
"@types/lodash": "^4.14.116", | ||
"@types/node": "^9.6.32", | ||
"@types/pixi.js": "^4.8.0", | ||
"@types/pubsub-js": "^1.5.18", | ||
"canvas-prebuilt": "^1.6.11", | ||
@@ -36,10 +42,7 @@ "coveralls": "^3.0.2", | ||
"ts-jest": "^23.1.4", | ||
"ts-loader": "^5.1.1" | ||
"ts-loader": "^5.1.1", | ||
"typedoc": "^0.12.0", | ||
"typescript": "^3.0.3" | ||
}, | ||
"dependencies": { | ||
"@types/howler": "^2.0.5", | ||
"@types/lodash": "^4.14.116", | ||
"@types/pixi.js": "^4.8.0", | ||
"@types/pubsub-js": "^1.5.18", | ||
"typescript": "^3.0.3", | ||
"debug": "^4.0.1", | ||
@@ -46,0 +49,0 @@ "howler": "^2.0.15", |
@@ -17,3 +17,3 @@ import Component from "../component"; | ||
let entity: SubEntity = null | ||
let entity: SubEntity | ||
@@ -20,0 +20,0 @@ describe('Component class', () => { |
@@ -10,2 +10,3 @@ import UILabel from '../uiLabel' | ||
for (const attr in UILabel.defaultStyle) { | ||
// @ts-ignore | ||
expect(label.geStyle()[attr]).toBe(UILabel.defaultStyle[attr]) | ||
@@ -12,0 +13,0 @@ } |
import CollisionsLayer from '../collisionsLayer' | ||
import { TiledRawLayer, TiledTilesetType } from '../../types' | ||
import { TiledTilesetType, RawTileLayer } from '../../types' | ||
import TiledTileset from '../tiledTileset' | ||
let rawLayer: TiledRawLayer | ||
let rawLayer: RawTileLayer | ||
let rawTileset: TiledTilesetType | ||
@@ -7,0 +7,0 @@ let tiledTileset: TiledTileset |
import ImageLayer from '../imageLayer' | ||
import { TiledRawLayer } from '../../types'; | ||
import { RawImageLayer } from '../../types'; | ||
@@ -7,3 +7,3 @@ describe('ImageLayer class', () => { | ||
it('shoud instantiate', () => { | ||
const rawLayer: TiledRawLayer = { | ||
const rawLayer: RawImageLayer = { | ||
"image": "somepath", | ||
@@ -10,0 +10,0 @@ "name": "bg2", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
275331
6
8372
0
17
- Removed@types/howler@^2.0.5
- Removed@types/lodash@^4.14.116
- Removed@types/pixi.js@^4.8.0
- Removed@types/pubsub-js@^1.5.18
- Removedtypescript@^3.0.3
- Removed@types/howler@2.2.12(transitive)
- Removed@types/lodash@4.17.13(transitive)
- Removed@types/pixi.js@4.8.9(transitive)
- Removed@types/pubsub-js@1.8.6(transitive)
- Removedtypescript@3.9.10(transitive)