narrat 2.2.9 → 2.2.10
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/dist/constants.d.ts +2 -1
- package/dist/favicon.svg +30 -0
- package/dist/narrat.es.js +4655 -4647
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +64 -64
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/main-store.d.ts +1 -0
- package/dist/vm/commands/flow-commands.d.ts +1 -0
- package/package.json +3 -1
- package/dist/favicon.ico +0 -0
|
@@ -60,6 +60,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
|
|
|
60
60
|
setOptions(options: AppOptions): void;
|
|
61
61
|
startPlaying(): void;
|
|
62
62
|
reset(): void;
|
|
63
|
+
resetAllStores(): void;
|
|
63
64
|
generateSaveData(): MainSaveData;
|
|
64
65
|
loadSaveData(data: MainSaveData): void;
|
|
65
66
|
saveGame(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "narrat",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.10",
|
|
4
4
|
"description": "narrat narrative engine",
|
|
5
5
|
"main": "dist/narrat.umd.js",
|
|
6
6
|
"module": "dist/narrat.es.js",
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"empty": "cross-env VITE_EXAMPLE=examples/empty npx vite dev",
|
|
24
24
|
"test-game": "cross-env VITE_EXAMPLE=examples/test npx vite dev",
|
|
25
25
|
"build-rpg": "cross-env VITE_DEMO_BUILD=rpg npx vite build && shx cp -r examples/rpg/* built-example/rpg",
|
|
26
|
+
"demo": "cross-env VITE_EXAMPLE=examples/demo npx vite dev",
|
|
27
|
+
"build-demo": "cross-env VITE_DEMO_BUILD=demo npx vite build && shx cp -r examples/demo/* built-example/demo",
|
|
26
28
|
"dev": "vite",
|
|
27
29
|
"generate-types": "vue-tsc --emitDeclarationOnly --outDir dist && npm run fix-type-aliases",
|
|
28
30
|
"fix-type-aliases": "tsc-alias -p tsconfig.json",
|
package/dist/favicon.ico
DELETED
|
Binary file
|