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