narraleaf-react 0.28.0 → 0.29.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/package.json CHANGED
@@ -1,115 +1,115 @@
1
- {
2
- "name": "narraleaf-react",
3
- "version": "0.28.0",
4
- "description": "A React visual novel player framework",
5
- "type": "module",
6
- "main": "./dist/main.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/main.js",
12
- "require": "./dist/main.js"
13
- },
14
- "./built-in": {
15
- "types": "./dist/built-in.d.ts",
16
- "import": "./dist/built-in.js",
17
- "require": "./dist/built-in.js"
18
- }
19
- },
20
- "scripts": {
21
- "prebuild": "rimraf dist",
22
- "build": "cross-env NODE_ENV=production node esbuild.config.js",
23
- "build:dev": "rimraf dist && cross-env NODE_ENV=development node esbuild.config.js && tsc --emitDeclarationOnly && tsc-alias -p tsconfig.json && node project/postbuild.js",
24
- "postbuild": "tsc --emitDeclarationOnly && tsc-alias -p tsconfig.json",
25
- "check:dts": "node project/check-dts.js",
26
- "lint": "eslint \"./src/**/*.{ts,tsx,js,jsx}\"",
27
- "lint:fix": "eslint --fix \"./src/**/*.{ts,tsx,js,jsx}\"",
28
- "prepublishOnly": "npm run lint && rimraf dist && cross-env NODE_ENV=production node esbuild.config.js && tsc --emitDeclarationOnly && tsc-alias -p tsconfig.json && node project/check-dts.js",
29
- "typedoc": "typedoc src/index.ts --out doc",
30
- "prepare": "husky",
31
- "test": "vitest"
32
- },
33
- "devDependencies": {
34
- "@eslint/eslintrc": "^3.1.0",
35
- "@eslint/js": "^9.10.0",
36
- "@tailwindcss/postcss": "^4.1.5",
37
- "@tailwindcss/postcss7-compat": "^2.2.17",
38
- "@types/fs-extra": "^11.0.4",
39
- "@types/howler": "^2.2.11",
40
- "@types/lodash": "^4.17.7",
41
- "@types/node": "^22.15.3",
42
- "@types/react": ">=19",
43
- "@types/react-dom": ">=19",
44
- "@typescript-eslint/eslint-plugin": "^8.5.0",
45
- "@typescript-eslint/parser": "^8.5.0",
46
- "autoprefixer": "^10.4.21",
47
- "cross-env": "^7.0.3",
48
- "cssnano": "^7.0.6",
49
- "esbuild": "^0.25.3",
50
- "esbuild-css-modules-plugin": "^3.1.4",
51
- "esbuild-plugin-alias": "^0.2.1",
52
- "esbuild-plugin-postcss2": "^0.1.2",
53
- "esbuild-postcss": "^0.0.4",
54
- "eslint": "^9.10.0",
55
- "eslint-plugin-react": "^7.35.2",
56
- "fs-extra": "^11.3.0",
57
- "globals": "^15.9.0",
58
- "husky": "^9.1.6",
59
- "motion": ">=11 <12",
60
- "postcss": "^8.5.3",
61
- "postcss-cli": "^11.0.1",
62
- "postcss-import": "^16.1.0",
63
- "postcss-loader": "^8.1.1",
64
- "postcss-preset-env": "^10.1.6",
65
- "react": "^19.0.0",
66
- "react-dom": "^19.0.0",
67
- "rimraf": "^6.0.1",
68
- "tailwindcss": "^4.1.5",
69
- "tsc-alias": "^1.8.10",
70
- "typedoc": "^0.26.7",
71
- "typescript": "5.7.2",
72
- "vitest": "^3.2.4"
73
- },
74
- "peerDependencies": {
75
- "@emotion/is-prop-valid": "*",
76
- "motion": ">=11 <12",
77
- "react": ">=19",
78
- "react-dom": ">=19"
79
- },
80
- "peerDependenciesMeta": {
81
- "react": {
82
- "optional": false
83
- },
84
- "react-dom": {
85
- "optional": false
86
- },
87
- "motion": {
88
- "optional": false
89
- }
90
- },
91
- "files": [
92
- "dist",
93
- "!dist/**/*.test.d.ts",
94
- "!dist/**/*.map"
95
- ],
96
- "keywords": [
97
- "react",
98
- "visual-novel",
99
- "typescript",
100
- "component",
101
- "narraleaf",
102
- "nvl"
103
- ],
104
- "author": "helloyork@icloud.com",
105
- "license": "MPL-2.0",
106
- "dependencies": {
107
- "@narraleaf/sound": "0.1.0",
108
- "client-only": "^0.0.1",
109
- "clsx": "^2.1.1",
110
- "howler": "^2.2.4",
111
- "html-to-image": "^1.11.11",
112
- "prop-types": "^15.8.1"
113
- },
114
- "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
115
- }
1
+ {
2
+ "name": "narraleaf-react",
3
+ "version": "0.29.0",
4
+ "description": "A React visual novel player framework",
5
+ "type": "module",
6
+ "main": "./dist/main.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/main.js",
12
+ "require": "./dist/main.js"
13
+ },
14
+ "./built-in": {
15
+ "types": "./dist/built-in.d.ts",
16
+ "import": "./dist/built-in.js",
17
+ "require": "./dist/built-in.js"
18
+ }
19
+ },
20
+ "scripts": {
21
+ "prebuild": "rimraf dist",
22
+ "build": "cross-env NODE_ENV=production node esbuild.config.js",
23
+ "build:dev": "rimraf dist && cross-env NODE_ENV=development node esbuild.config.js && tsc --emitDeclarationOnly && tsc-alias -p tsconfig.json && node project/postbuild.js",
24
+ "postbuild": "tsc --emitDeclarationOnly && tsc-alias -p tsconfig.json",
25
+ "check:dts": "node project/check-dts.js",
26
+ "lint": "eslint \"./src/**/*.{ts,tsx,js,jsx}\"",
27
+ "lint:fix": "eslint --fix \"./src/**/*.{ts,tsx,js,jsx}\"",
28
+ "prepublishOnly": "npm run lint && rimraf dist && cross-env NODE_ENV=production node esbuild.config.js && tsc --emitDeclarationOnly && tsc-alias -p tsconfig.json && node project/check-dts.js",
29
+ "typedoc": "typedoc src/index.ts --out doc",
30
+ "prepare": "husky",
31
+ "test": "vitest"
32
+ },
33
+ "devDependencies": {
34
+ "@eslint/eslintrc": "^3.1.0",
35
+ "@eslint/js": "^9.10.0",
36
+ "@tailwindcss/postcss": "^4.1.5",
37
+ "@tailwindcss/postcss7-compat": "^2.2.17",
38
+ "@types/fs-extra": "^11.0.4",
39
+ "@types/howler": "^2.2.11",
40
+ "@types/lodash": "^4.17.7",
41
+ "@types/node": "^22.15.3",
42
+ "@types/react": ">=19",
43
+ "@types/react-dom": ">=19",
44
+ "@typescript-eslint/eslint-plugin": "^8.5.0",
45
+ "@typescript-eslint/parser": "^8.5.0",
46
+ "autoprefixer": "^10.4.21",
47
+ "cross-env": "^7.0.3",
48
+ "cssnano": "^7.0.6",
49
+ "esbuild": "^0.25.3",
50
+ "esbuild-css-modules-plugin": "^3.1.4",
51
+ "esbuild-plugin-alias": "^0.2.1",
52
+ "esbuild-plugin-postcss2": "^0.1.2",
53
+ "esbuild-postcss": "^0.0.4",
54
+ "eslint": "^9.10.0",
55
+ "eslint-plugin-react": "^7.35.2",
56
+ "fs-extra": "^11.3.0",
57
+ "globals": "^15.9.0",
58
+ "husky": "^9.1.6",
59
+ "motion": ">=11 <12",
60
+ "postcss": "^8.5.3",
61
+ "postcss-cli": "^11.0.1",
62
+ "postcss-import": "^16.1.0",
63
+ "postcss-loader": "^8.1.1",
64
+ "postcss-preset-env": "^10.1.6",
65
+ "react": "^19.0.0",
66
+ "react-dom": "^19.0.0",
67
+ "rimraf": "^6.0.1",
68
+ "tailwindcss": "^4.1.5",
69
+ "tsc-alias": "^1.8.10",
70
+ "typedoc": "^0.26.7",
71
+ "typescript": "5.7.2",
72
+ "vitest": "^3.2.4"
73
+ },
74
+ "peerDependencies": {
75
+ "@emotion/is-prop-valid": "*",
76
+ "motion": ">=11 <12",
77
+ "react": ">=19",
78
+ "react-dom": ">=19"
79
+ },
80
+ "peerDependenciesMeta": {
81
+ "react": {
82
+ "optional": false
83
+ },
84
+ "react-dom": {
85
+ "optional": false
86
+ },
87
+ "motion": {
88
+ "optional": false
89
+ }
90
+ },
91
+ "files": [
92
+ "dist",
93
+ "!dist/**/*.test.d.ts",
94
+ "!dist/**/*.map"
95
+ ],
96
+ "keywords": [
97
+ "react",
98
+ "visual-novel",
99
+ "typescript",
100
+ "component",
101
+ "narraleaf",
102
+ "nvl"
103
+ ],
104
+ "author": "helloyork@icloud.com",
105
+ "license": "MPL-2.0",
106
+ "dependencies": {
107
+ "@narraleaf/sound": "0.1.0",
108
+ "client-only": "^0.0.1",
109
+ "clsx": "^2.1.1",
110
+ "howler": "^2.2.4",
111
+ "html-to-image": "^1.11.11",
112
+ "prop-types": "^15.8.1"
113
+ },
114
+ "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
115
+ }