narraleaf-react
Version:
A React visual novel player framework
108 lines (107 loc) • 3.24 kB
JSON
{
"name": "narraleaf-react",
"version": "0.8.7",
"description": "A React visual novel player framework",
"main": "./dist/main.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/main.js",
"require": "./dist/main.js",
"types": "./dist/index.d.ts"
}
},
"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",
"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",
"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/howler": "^2.2.11",
"@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.15.0",
"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",
"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.15.0",
"react": ">=19",
"react-dom": ">=19"
},
"peerDependenciesMeta": {
"react": {
"optional": false
},
"react-dom": {
"optional": false
},
"motion": {
"optional": false
}
},
"files": [
"dist",
"!dist/**/*.map"
],
"keywords": [
"react",
"visual-novel",
"typescript",
"component",
"narraleaf",
"nvl"
],
"author": "helloyork@icloud.com",
"license": "MPL-2.0",
"dependencies": {
"@narraleaf/sound": "0.1.0",
"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"
}