vn-engine
Version:
A powerful, flexible TypeScript library for creating visual novels and interactive narratives
144 lines (143 loc) • 3.83 kB
JSON
{
"name": "vn-engine",
"version": "1.2.4",
"type": "module",
"description": "A powerful, flexible TypeScript library for creating visual novels and interactive narratives",
"main": "dist/vn-engine.js",
"module": "dist/vn-engine.js",
"types": "dist/index.d.ts",
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "vite build",
"dev": "vite --mode demo",
"type-check": "tsc --noEmit",
"test": "node scripts/test-runner.js",
"test:core": "node scripts/test-runner.js --only-core",
"test:performance": "node scripts/test-runner.js --only-performance",
"test:edge-cases": "node scripts/test-runner.js --only-edge-cases",
"test:package": "npm run build && npm run test",
"test:ci": "npm run build && npm run test",
"test:clean": "npm run test:package",
"test:verbose": "node scripts/test-runner.js --verbose",
"test:stats": "node scripts/test-runner.js --package-stats",
"test:quick": "node scripts/test-runner.js --skip-build",
"test:debug": "node scripts/test-runner.js --verbose --package-stats --no-cleanup",
"demo": "vite --mode demo",
"demo:build": "vite build --mode demo",
"prepublishOnly": "npm run test:ci",
"package:test": "npm pack --dry-run",
"package:analyze": "npm run build && npm pack && node -e \"const fs=require('fs'); const pkg=JSON.parse(fs.readFileSync('package.json')); console.log('Package:', pkg.name + '-' + pkg.version + '.tgz'); fs.unlinkSync(pkg.name + '-' + pkg.version + '.tgz');\""
},
"keywords": [
"visual-novel",
"interactive-fiction",
"handlebars",
"typescript",
"game-engine",
"narrative",
"interactive-story",
"choice-based",
"templating",
"storytelling",
"game-development",
"text-adventure",
"branching-narrative"
],
"author": "Kenan",
"license": "MIT",
"dependencies": {
"js-yaml": "^4.1.0",
"lodash": "^4.17.21"
},
"peerDependencies": {
"handlebars": "^4.7.0"
},
"peerDependenciesMeta": {
"handlebars": {
"optional": true
}
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.14.202",
"@types/node": "^20.0.0",
"@types/tar": "^6.1.11",
"handlebars": "^4.7.8",
"tar": "^6.2.0",
"typescript": "^5.0.0",
"vite": "^5.0.0",
"vite-plugin-dts": "^3.6.0"
},
"optionalDependencies": {
"tar": "^6.2.0"
},
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/KenanMathews/vn-engine.git"
},
"bugs": {
"url": "https://github.com/KenanMathews/vn-engine/issues"
},
"homepage": "https://github.com/KenanMathews/vn-engine#readme",
"exports": {
".": {
"import": "./dist/vn-engine.js",
"require": "./dist/vn-engine.cjs",
"types": "./dist/index.d.ts"
},
"./helpers": {
"import": "./dist/core/helpers/index.js",
"require": "./dist/core/helpers/index.js",
"types": "./dist/core/helpers/index.d.ts"
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"sideEffects": false,
"packageManager": "npm@9.0.0",
"volta": {
"node": "18.17.0",
"npm": "9.6.7"
},
"testConfig": {
"packagerDeps": [
"tar"
],
"supportedNodeVersions": [
"16.x",
"18.x",
"20.x"
],
"testEnvironments": [
"node",
"browser"
]
},
"quality": {
"coverage": {
"threshold": 85
},
"performance": {
"initialization": "< 100ms",
"scriptLoading": "< 50ms",
"sceneExecution": "< 1ms",
"templateParsing": "< 0.1ms",
"memoryPerEngine": "< 5MB"
}
}
}