@akashic/headless-driver 1.11.37 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1721 -0
- package/README.md +30 -0
- package/lib/ExecuteVmScriptV1.d.ts +2 -2
- package/lib/ExecuteVmScriptV1.js +2 -2
- package/lib/ExecuteVmScriptV2.d.ts +2 -2
- package/lib/ExecuteVmScriptV2.js +2 -2
- package/lib/ExecuteVmScriptV3.d.ts +2 -2
- package/lib/ExecuteVmScriptV3.js +2 -2
- package/lib/Looper.d.ts +24 -0
- package/lib/Looper.js +79 -0
- package/lib/index.d.ts +3 -11
- package/lib/index.js +3 -11
- package/lib/play/AMFlowClientManager.d.ts +1 -1
- package/lib/play/Play.d.ts +1 -1
- package/lib/play/PlayManager.d.ts +5 -5
- package/lib/play/amflow/AMFlowClient.d.ts +4 -4
- package/lib/play/amflow/AMFlowStore.d.ts +3 -3
- package/lib/play/amflow/index.d.ts +4 -0
- package/lib/play/amflow/index.js +16 -0
- package/lib/play/amflow/types.d.ts +2 -2
- package/lib/play/index.d.ts +5 -0
- package/lib/play/index.js +17 -0
- package/lib/runner/Platform.d.ts +25 -0
- package/lib/runner/Platform.js +34 -0
- package/lib/runner/Runner.d.ts +110 -0
- package/lib/runner/Runner.js +101 -0
- package/lib/runner/RunnerManager.d.ts +6 -6
- package/lib/runner/RunnerManager.js +2 -2
- package/lib/runner/index.d.ts +7 -0
- package/lib/runner/index.js +19 -0
- package/lib/runner/types.d.ts +15 -0
- package/lib/runner/types.js +2 -0
- package/lib/runner/v1/RunnerV1.d.ts +26 -0
- package/lib/runner/v1/RunnerV1.js +230 -0
- package/lib/runner/v1/index.d.ts +3 -0
- package/lib/runner/v1/index.js +19 -0
- package/lib/runner/v1/platform/NullAudioPlayer.d.ts +3 -0
- package/lib/runner/v1/platform/NullAudioPlayer.js +7 -0
- package/lib/runner/v1/platform/NullGlyphFactory.d.ts +6 -0
- package/lib/runner/v1/platform/NullGlyphFactory.js +18 -0
- package/lib/runner/v1/platform/NullRenderer.d.ts +16 -0
- package/lib/runner/v1/platform/NullRenderer.js +46 -0
- package/lib/runner/v1/platform/NullSurface.d.ts +7 -0
- package/lib/runner/v1/platform/NullSurface.js +18 -0
- package/lib/runner/v1/platform/NullVideoPlayer.d.ts +4 -0
- package/lib/runner/v1/platform/NullVideoPlayer.js +10 -0
- package/lib/runner/v1/platform/PlatformV1.d.ts +22 -0
- package/lib/runner/v1/platform/PlatformV1.js +67 -0
- package/lib/runner/v1/platform/ResourceFactory.d.ts +18 -0
- package/lib/runner/v1/platform/ResourceFactory.js +53 -0
- package/lib/runner/v1/platform/assets/NodeScriptAsset.d.ts +16 -0
- package/lib/runner/v1/platform/assets/NodeScriptAsset.js +36 -0
- package/lib/runner/v1/platform/assets/NodeTextAsset.d.ts +11 -0
- package/lib/runner/v1/platform/assets/NodeTextAsset.js +23 -0
- package/lib/runner/v1/platform/assets/NullAudioAsset.d.ts +4 -0
- package/lib/runner/v1/platform/assets/NullAudioAsset.js +10 -0
- package/lib/runner/v1/platform/assets/NullImageAsset.d.ts +6 -0
- package/lib/runner/v1/platform/assets/NullImageAsset.js +18 -0
- package/lib/runner/v1/platform/assets/NullVideoAsset.d.ts +10 -0
- package/lib/runner/v1/platform/assets/NullVideoAsset.js +25 -0
- package/lib/runner/v2/RunnerV2.d.ts +26 -0
- package/lib/runner/v2/RunnerV2.js +229 -0
- package/lib/runner/v2/index.d.ts +3 -0
- package/lib/runner/v2/index.js +19 -0
- package/lib/runner/v2/platform/NullAudioPlayer.d.ts +3 -0
- package/lib/runner/v2/platform/NullAudioPlayer.js +7 -0
- package/lib/runner/v2/platform/NullGlyphFactory.d.ts +6 -0
- package/lib/runner/v2/platform/NullGlyphFactory.js +18 -0
- package/lib/runner/v2/platform/NullRenderer.d.ts +20 -0
- package/lib/runner/v2/platform/NullRenderer.js +58 -0
- package/lib/runner/v2/platform/NullSurface.d.ts +7 -0
- package/lib/runner/v2/platform/NullSurface.js +18 -0
- package/lib/runner/v2/platform/NullVideoPlayer.d.ts +4 -0
- package/lib/runner/v2/platform/NullVideoPlayer.js +10 -0
- package/lib/runner/v2/platform/PlatformV2.d.ts +23 -0
- package/lib/runner/v2/platform/PlatformV2.js +70 -0
- package/lib/runner/v2/platform/ResourceFactory.d.ts +18 -0
- package/lib/runner/v2/platform/ResourceFactory.js +53 -0
- package/lib/runner/v2/platform/assets/NodeScriptAsset.d.ts +16 -0
- package/lib/runner/v2/platform/assets/NodeScriptAsset.js +36 -0
- package/lib/runner/v2/platform/assets/NodeTextAsset.d.ts +11 -0
- package/lib/runner/v2/platform/assets/NodeTextAsset.js +23 -0
- package/lib/runner/v2/platform/assets/NullAudioAsset.d.ts +4 -0
- package/lib/runner/v2/platform/assets/NullAudioAsset.js +10 -0
- package/lib/runner/v2/platform/assets/NullImageAsset.d.ts +6 -0
- package/lib/runner/v2/platform/assets/NullImageAsset.js +18 -0
- package/lib/runner/v2/platform/assets/NullVideoAsset.d.ts +10 -0
- package/lib/runner/v2/platform/assets/NullVideoAsset.js +25 -0
- package/lib/runner/v3/RunnerV3.d.ts +38 -0
- package/lib/runner/v3/RunnerV3.js +245 -0
- package/lib/runner/v3/engineFiles.d.ts +2 -0
- package/lib/runner/v3/engineFiles.js +31 -0
- package/lib/runner/v3/index.d.ts +5 -0
- package/lib/runner/v3/index.js +21 -0
- package/lib/runner/v3/platform/NodeCanvasResourceFactory.d.ts +22 -0
- package/lib/runner/v3/platform/NodeCanvasResourceFactory.js +57 -0
- package/lib/runner/v3/platform/NullResourceFactory.d.ts +21 -0
- package/lib/runner/v3/platform/NullResourceFactory.js +54 -0
- package/lib/runner/v3/platform/PlatformV3.d.ts +23 -0
- package/lib/runner/v3/platform/PlatformV3.js +94 -0
- package/lib/runner/v3/platform/assets/Asset.d.ts +14 -0
- package/lib/runner/v3/platform/assets/Asset.js +30 -0
- package/lib/runner/v3/platform/assets/NodeScriptAsset.d.ts +19 -0
- package/lib/runner/v3/platform/assets/NodeScriptAsset.js +48 -0
- package/lib/runner/v3/platform/assets/NodeTextAsset.d.ts +14 -0
- package/lib/runner/v3/platform/assets/NodeTextAsset.js +35 -0
- package/lib/runner/v3/platform/audios/NullAudioAsset.d.ts +15 -0
- package/lib/runner/v3/platform/audios/NullAudioAsset.js +28 -0
- package/lib/runner/v3/platform/audios/NullAudioPlayer.d.ts +17 -0
- package/lib/runner/v3/platform/audios/NullAudioPlayer.js +34 -0
- package/lib/runner/v3/platform/graphics/canvas/CompositeOperationConverter.d.ts +6 -0
- package/lib/runner/v3/platform/graphics/canvas/CompositeOperationConverter.js +78 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasGlyph.d.ts +16 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasGlyph.js +25 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasGlyphFactory.d.ts +24 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasGlyphFactory.js +204 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasImageAsset.d.ts +16 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasImageAsset.js +78 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasRenderer.d.ts +26 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasRenderer.js +72 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasSurface.d.ts +14 -0
- package/lib/runner/v3/platform/graphics/canvas/NodeCanvasSurface.js +25 -0
- package/lib/runner/v3/platform/graphics/null/NullGlyph.d.ts +16 -0
- package/lib/runner/v3/platform/graphics/null/NullGlyph.js +25 -0
- package/lib/runner/v3/platform/graphics/null/NullGlyphFactory.d.ts +14 -0
- package/lib/runner/v3/platform/graphics/null/NullGlyphFactory.js +22 -0
- package/lib/runner/v3/platform/graphics/null/NullImageAsset.d.ts +13 -0
- package/lib/runner/v3/platform/graphics/null/NullImageAsset.js +24 -0
- package/lib/runner/v3/platform/graphics/null/NullRenderer.d.ts +21 -0
- package/lib/runner/v3/platform/graphics/null/NullRenderer.js +60 -0
- package/lib/runner/v3/platform/graphics/null/NullSurface.d.ts +14 -0
- package/lib/runner/v3/platform/graphics/null/NullSurface.js +26 -0
- package/lib/runner/v3/platform/videos/NullVideoAsset.d.ts +20 -0
- package/lib/runner/v3/platform/videos/NullVideoAsset.js +37 -0
- package/lib/runner/v3/platform/videos/NullVideoPlayer.d.ts +14 -0
- package/lib/runner/v3/platform/videos/NullVideoPlayer.js +25 -0
- package/lib/runner/v3/requireEngineFiles.d.ts +5 -0
- package/lib/runner/v3/requireEngineFiles.js +21 -0
- package/package.json +28 -19
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullRenderer = void 0;
|
|
4
|
+
class NullRenderer {
|
|
5
|
+
begin() {
|
|
6
|
+
// do nothing
|
|
7
|
+
}
|
|
8
|
+
end() {
|
|
9
|
+
// do nothing
|
|
10
|
+
}
|
|
11
|
+
clear() {
|
|
12
|
+
// do nothing
|
|
13
|
+
}
|
|
14
|
+
drawImage(_surface, _offsetX, _offsetY, _width, _height, _destOffsetX, _destOffsetY) {
|
|
15
|
+
// do nothing
|
|
16
|
+
}
|
|
17
|
+
drawSprites(_surface, _offsetX, _offsetY, _width, _height, _canvasOffsetX, _canvasOffsetY, _count) {
|
|
18
|
+
// do nothing
|
|
19
|
+
}
|
|
20
|
+
translate(_x, _y) {
|
|
21
|
+
// do nothing
|
|
22
|
+
}
|
|
23
|
+
transform(_matrix) {
|
|
24
|
+
// do nothing
|
|
25
|
+
}
|
|
26
|
+
opacity(_opacity) {
|
|
27
|
+
// do nothing
|
|
28
|
+
}
|
|
29
|
+
save() {
|
|
30
|
+
// do nothing
|
|
31
|
+
}
|
|
32
|
+
restore() {
|
|
33
|
+
// do nothing
|
|
34
|
+
}
|
|
35
|
+
fillRect(_x, _y, _width, _height, _cssColor) {
|
|
36
|
+
// do nothing
|
|
37
|
+
}
|
|
38
|
+
setCompositeOperation(_operation) {
|
|
39
|
+
// do nothing
|
|
40
|
+
}
|
|
41
|
+
setTransform(_matrix) {
|
|
42
|
+
// do nothing
|
|
43
|
+
}
|
|
44
|
+
setOpacity(_opacity) {
|
|
45
|
+
// do nothing
|
|
46
|
+
}
|
|
47
|
+
isSupportedShaderProgram() {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
setShaderProgram(_shaderProgram) {
|
|
51
|
+
// do nothing
|
|
52
|
+
}
|
|
53
|
+
_getImageData(_sx, _sy, _sw, _sh) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
_putImageData(_imageData, _dx, _dy, _dirtyX, _dirtyY, _dirtyWidth, _dirtyHeight) {
|
|
57
|
+
// do nothing
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.NullRenderer = NullRenderer;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { akashicEngine as g } from "../../../engineFiles";
|
|
2
|
+
import { NullRenderer } from "./NullRenderer";
|
|
3
|
+
export declare class NullSurface implements g.Surface {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
_drawable: any;
|
|
7
|
+
_renderer: NullRenderer;
|
|
8
|
+
_destroyed: boolean;
|
|
9
|
+
constructor(width: number, height: number, drawable?: any);
|
|
10
|
+
renderer(): g.Renderer;
|
|
11
|
+
isPlaying(): boolean;
|
|
12
|
+
destroy(): void;
|
|
13
|
+
destroyed(): boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullSurface = void 0;
|
|
4
|
+
const NullRenderer_1 = require("./NullRenderer");
|
|
5
|
+
class NullSurface {
|
|
6
|
+
constructor(width, height, drawable) {
|
|
7
|
+
this._destroyed = false;
|
|
8
|
+
this.width = width;
|
|
9
|
+
this.height = height;
|
|
10
|
+
this._drawable = drawable;
|
|
11
|
+
this._renderer = new NullRenderer_1.NullRenderer();
|
|
12
|
+
}
|
|
13
|
+
renderer() {
|
|
14
|
+
return this._renderer;
|
|
15
|
+
}
|
|
16
|
+
isPlaying() {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
destroy() {
|
|
20
|
+
this._destroyed = true;
|
|
21
|
+
}
|
|
22
|
+
destroyed() {
|
|
23
|
+
return !!this._destroyed;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.NullSurface = NullSurface;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { akashicEngine as g } from "../../engineFiles";
|
|
2
|
+
import { Asset } from "../assets/Asset";
|
|
3
|
+
export declare class NullVideoAsset extends Asset implements g.VideoAsset {
|
|
4
|
+
type: "video";
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
realWidth: number;
|
|
8
|
+
realHeight: number;
|
|
9
|
+
_system: g.VideoSystem;
|
|
10
|
+
_loop: boolean;
|
|
11
|
+
_useRealSize: boolean;
|
|
12
|
+
_surface: g.Surface | null;
|
|
13
|
+
_player: g.VideoPlayer;
|
|
14
|
+
constructor(id: string, assetPath: string, width: number, height: number, system: any, loop: boolean, useRealSize: boolean);
|
|
15
|
+
_load(loader: g.AssetLoadHandler): void;
|
|
16
|
+
asSurface(): g.Surface;
|
|
17
|
+
getPlayer(): g.VideoPlayer;
|
|
18
|
+
play(): g.VideoPlayer;
|
|
19
|
+
stop(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullVideoAsset = void 0;
|
|
4
|
+
const Asset_1 = require("../assets/Asset");
|
|
5
|
+
const NullSurface_1 = require("../graphics/null/NullSurface");
|
|
6
|
+
const NullVideoPlayer_1 = require("./NullVideoPlayer");
|
|
7
|
+
class NullVideoAsset extends Asset_1.Asset {
|
|
8
|
+
constructor(id, assetPath, width, height, system, loop, useRealSize) {
|
|
9
|
+
super(id, assetPath);
|
|
10
|
+
this.type = "video";
|
|
11
|
+
this._surface = null;
|
|
12
|
+
this.width = width;
|
|
13
|
+
this.height = height;
|
|
14
|
+
this.realWidth = 0;
|
|
15
|
+
this.realHeight = 0;
|
|
16
|
+
this._system = system;
|
|
17
|
+
this._loop = loop;
|
|
18
|
+
this._useRealSize = useRealSize;
|
|
19
|
+
this._player = new NullVideoPlayer_1.NullVideoPlayer();
|
|
20
|
+
}
|
|
21
|
+
_load(loader) {
|
|
22
|
+
loader._onAssetLoad(this);
|
|
23
|
+
}
|
|
24
|
+
asSurface() {
|
|
25
|
+
return this._surface || (this._surface = new NullSurface_1.NullSurface(this.width, this.height));
|
|
26
|
+
}
|
|
27
|
+
getPlayer() {
|
|
28
|
+
return this._player;
|
|
29
|
+
}
|
|
30
|
+
play() {
|
|
31
|
+
return this._player;
|
|
32
|
+
}
|
|
33
|
+
stop() {
|
|
34
|
+
// do nothing
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.NullVideoAsset = NullVideoAsset;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { akashicEngine as g } from "../../engineFiles";
|
|
2
|
+
export declare class NullVideoPlayer implements g.VideoPlayer {
|
|
3
|
+
currentVideo: g.VideoAsset | undefined;
|
|
4
|
+
onPlay: g.Trigger<g.VideoPlayerEvent>;
|
|
5
|
+
onStop: g.Trigger<g.VideoPlayerEvent>;
|
|
6
|
+
played: g.Trigger<g.VideoPlayerEvent>;
|
|
7
|
+
stopped: g.Trigger<g.VideoPlayerEvent>;
|
|
8
|
+
volume: number;
|
|
9
|
+
_loop: boolean;
|
|
10
|
+
constructor(loop?: boolean);
|
|
11
|
+
play(videoAsset: g.VideoAsset): void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
changeVolume(volume: number): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NullVideoPlayer = void 0;
|
|
4
|
+
const engineFiles_1 = require("../../engineFiles");
|
|
5
|
+
class NullVideoPlayer {
|
|
6
|
+
constructor(loop) {
|
|
7
|
+
this._loop = !!loop;
|
|
8
|
+
this.onPlay = new engineFiles_1.akashicEngine.Trigger();
|
|
9
|
+
this.onStop = new engineFiles_1.akashicEngine.Trigger();
|
|
10
|
+
this.played = this.onPlay;
|
|
11
|
+
this.stopped = this.onStop;
|
|
12
|
+
this.currentVideo = undefined;
|
|
13
|
+
this.volume = 1.0;
|
|
14
|
+
}
|
|
15
|
+
play(videoAsset) {
|
|
16
|
+
this.currentVideo = videoAsset;
|
|
17
|
+
}
|
|
18
|
+
stop() {
|
|
19
|
+
// do nothing
|
|
20
|
+
}
|
|
21
|
+
changeVolume(volume) {
|
|
22
|
+
this.volume = volume;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.NullVideoPlayer = NullVideoPlayer;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.requireEngineFiles = void 0;
|
|
4
|
+
const fs = require("fs");
|
|
5
|
+
const path = require("path");
|
|
6
|
+
/**
|
|
7
|
+
* 環境に応じた適当な engineFiles を返す。
|
|
8
|
+
*/
|
|
9
|
+
function requireEngineFiles() {
|
|
10
|
+
if (process.env.ENGINE_FILES_V3_PATH) {
|
|
11
|
+
const engineFilesPath = path.isAbsolute(process.env.ENGINE_FILES_V3_PATH)
|
|
12
|
+
? process.env.ENGINE_FILES_V3_PATH
|
|
13
|
+
: path.resolve(process.cwd(), process.env.ENGINE_FILES_V3_PATH);
|
|
14
|
+
if (!fs.existsSync(engineFilesPath)) {
|
|
15
|
+
throw new Error(`ENGINE_FILES_V3_PATH: ${engineFilesPath} was not found.`);
|
|
16
|
+
}
|
|
17
|
+
return require(engineFilesPath);
|
|
18
|
+
}
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
exports.requireEngineFiles = requireEngineFiles;
|
package/package.json
CHANGED
|
@@ -1,59 +1,64 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akashic/headless-driver",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.0",
|
|
4
4
|
"description": "A library to execute contents using Akashic Engine headlessly",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "DWANGO Co., Ltd.",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"typings": "lib/index.d.ts",
|
|
9
8
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"build": "rimraf ./lib &&
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
9
|
+
"prepare": "npm run build",
|
|
10
|
+
"build": "rimraf ./lib && npm run format && tsc",
|
|
11
|
+
"format": "run-s format:*",
|
|
12
|
+
"format:prettier": "prettier --write \"src/**/*.ts\"",
|
|
13
|
+
"format:eslint": "eslint \"src/**/*.ts\" --fix",
|
|
14
|
+
"test": "run-s test:*",
|
|
15
|
+
"test:jest": "jest",
|
|
16
|
+
"test:eslint": "eslint \"src/**/*.ts\"",
|
|
17
|
+
"test:remark": "remark . --frail --no-stdout --quiet"
|
|
16
18
|
},
|
|
17
19
|
"publishConfig": {
|
|
18
20
|
"access": "public",
|
|
21
|
+
"tag": "beta",
|
|
19
22
|
"@akashic:registry": "https://registry.npmjs.org/"
|
|
20
23
|
},
|
|
21
24
|
"files": [
|
|
22
25
|
"lib"
|
|
23
26
|
],
|
|
24
27
|
"dependencies": {
|
|
25
|
-
"@akashic/amflow": "
|
|
26
|
-
"@akashic/
|
|
27
|
-
"@akashic/
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"@akashic/trigger": "~1.0.0",
|
|
28
|
+
"@akashic/amflow": "3.1.0",
|
|
29
|
+
"@akashic/playlog": "3.1.0",
|
|
30
|
+
"@akashic/trigger": "1.0.0",
|
|
31
|
+
"aev1": "npm:@akashic/engine-files@1.1.16",
|
|
32
|
+
"aev2": "npm:@akashic/engine-files@2.1.57",
|
|
33
|
+
"aev3": "npm:@akashic/engine-files@3.1.6",
|
|
32
34
|
"js-sha256": "0.9.0",
|
|
33
35
|
"lodash.clonedeep": "4.5.0",
|
|
34
36
|
"node-fetch": "2.6.7",
|
|
35
37
|
"vm2": "3.9.9"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
|
-
"@akashic/engine-files": "3.1.6",
|
|
39
40
|
"@akashic/eslint-config": "1.1.0",
|
|
41
|
+
"@akashic/remark-preset-lint": "0.1.2",
|
|
40
42
|
"@types/get-port": "4.0.1",
|
|
41
43
|
"@types/jest": "27.4.1",
|
|
42
44
|
"@types/lodash.clonedeep": "4.5.6",
|
|
43
|
-
"@types/node": "
|
|
45
|
+
"@types/node": "16.11.26",
|
|
44
46
|
"@types/node-fetch": "2.6.1",
|
|
45
47
|
"@types/pixelmatch": "5.2.4",
|
|
46
48
|
"@types/pngjs": "6.0.1",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "5.13.0",
|
|
48
50
|
"eslint": "8.10.0",
|
|
49
51
|
"eslint-config-prettier": "8.5.0",
|
|
50
52
|
"eslint-plugin-import": "2.25.4",
|
|
51
53
|
"eslint-plugin-jest": "26.1.1",
|
|
52
54
|
"get-port": "5.1.1",
|
|
55
|
+
"image-size": "1.0.1",
|
|
53
56
|
"jest": "27.5.1",
|
|
57
|
+
"npm-run-all": "4.1.5",
|
|
54
58
|
"pixelmatch": "5.2.1",
|
|
55
59
|
"pngjs": "6.0.0",
|
|
56
60
|
"prettier": "2.5.1",
|
|
61
|
+
"remark-cli": "10.0.1",
|
|
57
62
|
"rimraf": "3.0.2",
|
|
58
63
|
"serve-handler": "6.1.3",
|
|
59
64
|
"ts-jest": "27.1.3",
|
|
@@ -81,5 +86,9 @@
|
|
|
81
86
|
"globalSetup": "<rootDir>/src/__tests__/setup.ts",
|
|
82
87
|
"globalTeardown": "<rootDir>/src/__tests__/teardown.ts"
|
|
83
88
|
},
|
|
84
|
-
"
|
|
89
|
+
"remarkConfig": {
|
|
90
|
+
"plugins": [
|
|
91
|
+
"@akashic/remark-preset-lint"
|
|
92
|
+
]
|
|
93
|
+
}
|
|
85
94
|
}
|