Files
QZMusic_PC/amll-local/packages/core/package.json

89 lines
2.1 KiB
JSON
Raw Normal View History

{
"name": "@applemusic-like-lyrics/core",
"version": "0.5.1",
"description": "AMLL 的纯 JS 核心组件框架,包括歌词显示组件和背景组件等其它可以复用的组件",
"repository": {
"url": "https://github.com/amll-dev/applemusic-like-lyrics.git",
"directory": "packages/core",
"type": "git"
},
"license": "AGPL-3.0-only",
"nx": {
"tags": [
"library"
],
"targets": {
"nx-release-publish": {
"executor": "@nx/js:release-publish",
"dependsOn": []
}
}
},
"files": [
"dist"
],
"scripts": {
"build:docs": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts",
"typecheck": "tsgo -b",
"build-only": "tsdown",
"build": "run-p typecheck \"build-only {@}\" --",
"build:dev": "tsdown",
"fmt": "biome format --write ./src",
"dev": "nx run @applemusic-like-lyrics/playground-core:dev"
},
"type": "module",
"main": "./dist/amll-core.cjs",
"module": "./dist/amll-core.mjs",
"typings": "./dist/amll-core.d.mts",
"imports": {
"#interfaces": "./src/interfaces.ts",
"#utils/*": "./src/utils/*",
"#styles/*": "./src/styles/*",
"#lyric/*": "./src/lyric-player/*",
"#bg/*": "./src/bg-player/*"
},
"exports": {
".": {
"import": {
"types": "./dist/amll-core.d.mts",
"default": "./dist/amll-core.mjs"
},
"require": {
"types": "./dist/amll-core.d.cts",
"default": "./dist/amll-core.cjs"
}
},
"./style.css": {
"import": "./dist/style.css",
"require": "./dist/style.css"
}
},
"devDependencies": {
"@biomejs/biome": "^2.4.8",
"@types/deep-freeze": "^0.1.5",
"@types/stats.js": "^0.17.3",
"@types/ungap__structured-clone": "^1.2.0",
"lil-gui": "^0.21.0",
"stats.js": "^0.17.0",
"typedoc": "^0.28.18",
"typedoc-plugin-markdown": "^4.11.0",
"@tsdown/css": "^0.22.0",
"tsdown": "^0.22.0"
},
"peerDependencies": {
"@pixi/app": "*",
"@pixi/core": "*",
"@pixi/display": "*",
"@pixi/filter-blur": "*",
"@pixi/filter-bulge-pinch": "*",
"@pixi/filter-color-matrix": "*",
"@pixi/sprite": "*"
},
"dependencies": {
"@ungap/structured-clone": "^1.3.0",
"bezier-easing": "^3.0.0",
"deep-freeze": "^0.0.1",
"gl-matrix": "4.0.0-beta.2"
}
}