narrat 2.2.17 → 2.2.18
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/README.md +128 -0
- package/dist/config.d.ts +12 -0
- package/dist/narrat.es.js +1585 -1569
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +36 -36
- package/dist/narrat.umd.js.map +1 -1
- package/package.json +10 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "narrat",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.18",
|
|
4
4
|
"description": "narrat narrative engine",
|
|
5
5
|
"main": "dist/narrat.umd.js",
|
|
6
6
|
"module": "dist/narrat.es.js",
|
|
@@ -70,15 +70,17 @@
|
|
|
70
70
|
"scripts": {
|
|
71
71
|
"test-unit": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest",
|
|
72
72
|
"start": "pnpm run dev",
|
|
73
|
-
"rpg": "
|
|
74
|
-
"empty": "cross-env VITE_EXAMPLE=examples/empty npx vite dev",
|
|
75
|
-
"test-game": "cross-env VITE_EXAMPLE=examples/test npx vite dev",
|
|
76
|
-
"run-example": "node run-example.js",
|
|
77
|
-
"build-example": "node build-example.js",
|
|
73
|
+
"rpg": "pnpm run run-example rpg",
|
|
78
74
|
"build-rpg": "pnpm run build-example rpg",
|
|
75
|
+
"empty": "pnpm run run-example empty",
|
|
76
|
+
"build-empty": "pnpm run build-example empty",
|
|
77
|
+
"test-game": "pnpm run run-example test",
|
|
78
|
+
"build-test-game": "pnpm run build-example test",
|
|
79
79
|
"demo": "pnpm run run-example demo",
|
|
80
|
-
"build-demo": "
|
|
81
|
-
"
|
|
80
|
+
"build-demo": "pnpm run build-example demo",
|
|
81
|
+
"run-example": "node run-example.js",
|
|
82
|
+
"build-example": "node build-example.js",
|
|
83
|
+
"dev": "pnpm run run-example default",
|
|
82
84
|
"generate-types": "vue-tsc --emitDeclarationOnly --outDir dist && pnpm run fix-type-aliases",
|
|
83
85
|
"fix-type-aliases": "tsc-alias -p tsconfig.json",
|
|
84
86
|
"build": "rimraf lib && vue-tsc --noEmit && vite build && pnpm run generate-types",
|