UNPKG

@xpadev-net/niconicomments

Version:

NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.

69 lines (68 loc) 2.33 kB
{ "name": "@xpadev-net/niconicomments", "version": "0.2.73", "description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.", "main": "dist/bundle.js", "types": "dist/bundle.d.ts", "scripts": { "build": "npx rimraf dist&&npm run build:ts&&npm run build:dts", "build:ts": "rollup -c rollup.config.mjs", "build:dts": "npx copyfiles -u 2 src/@types/*.d.ts dist/dts/@types/&&node ./util/resolve-path-alias.js&&rollup -c rollup.config.dts.mjs", "watch": "rollup -c rollup.config.mjs -w", "typedoc": "typedoc --entryPointStrategy Expand --out ./docs/type/ ./src/", "prepublishOnly": "npm run build", "check-types": "npx tsc --noEmit --jsx react", "eslint": "biome lint src", "eslint:fix": "biome lint --write src", "format": "biome format src", "format:fix": "biome format --write src", "lint": "biome check src", "lint:fix": "biome check --apply-unsafe src", "prepare": "lefthook install", "test": "docker-compose run --rm pw", "test-server": "http-server" }, "repository": { "type": "git", "url": "https://github.com/xpadev-net/niconicomments.git" }, "keywords": [ "canvas", "comment", "danmaku", "html5", "niconico", "nicovideo" ], "author": "xpadev(xpadev.net)", "bugs": { "url": "https://github.com/xpadev-net/niconicomments/issues" }, "files": ["dist/bundle.js", "dist/bundle.d.ts"], "homepage": "https://xpadev-net.github.io/niconicomments/", "license": "MIT", "devDependencies": { "@babel/core": "^7.26.0", "@babel/preset-env": "^7.26.0", "@biomejs/biome": "^1.9.4", "@playwright/test": "^1.49.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-typescript": "^11.1.6", "@types/node": "^22.9.0", "copyfiles": "^2.4.1", "http-server": "^14.1.1", "lefthook": "^1.8.4", "rimraf": "^6.0.1", "rollup": "^4.27.3", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-typescript-paths": "^1.5.0", "tslib": "^2.8.1", "typedoc": "^0.26.11", "typedoc-plugin-missing-exports": "^3.0.2", "typescript": "^5.6.3", "valibot": "^0.30.0" } }