@thorvg/lottie-player
Version:
A web lottie player using ThorVG as a renderer
89 lines (88 loc) • 2.81 kB
JSON
{
"name": "@thorvg/lottie-player",
"version": "1.0.0-pre.32",
"description": "A web lottie player using ThorVG as a renderer",
"main": "./dist/lottie-player.cjs.js",
"module": "./dist/lottie-player.esm.js",
"exports": {
".": {
"import": "./dist/lottie-player.esm.js",
"require": "./dist/lottie-player.cjs.js"
},
"./sw": {
"import": "./dist/sw/lottie-player.esm.js",
"require": "./dist/sw/lottie-player.cjs.js"
},
"./gl": {
"import": "./dist/gl/lottie-player.esm.js",
"require": "./dist/gl/lottie-player.cjs.js"
},
"./sw-lite": {
"import": "./dist/sw-lite/lottie-player.esm.js",
"require": "./dist/sw-lite/lottie-player.cjs.js"
},
"./gl-lite": {
"import": "./dist/gl-lite/lottie-player.esm.js",
"require": "./dist/gl-lite/lottie-player.cjs.js"
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/",
"!dist/thorvg.d.ts",
"!dist/**/thorvg.js"
],
"types": "./dist/lottie-player.d.ts",
"scripts": {
"build": "npm run clean && sh ./wasm_setup.sh && THORVG_VERSION=$(npm run version --silent) rollup -c --bundleConfigAsCjs",
"build:watch": "npm run clean && sh ./wasm_setup.sh && THORVG_VERSION=$(npm run version --silent) rollup -c --bundleConfigAsCjs --watch",
"clean": "rm -rf dist && mkdir dist && touch dist/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"test:build": "./build-test.sh",
"lint": "eslint ./src --ext .ts,.tsx,.js",
"lint:fix": "eslint ./src --ext .ts,.tsx,.js --fix",
"version": "sed -n -e 4p ./thorvg/meson.build | sed 's/..$//' | sed -r 's/.{19}//'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thorvg/thorvg.web.git"
},
"author": "Jinny You <jinny@lottiefiles.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/thorvg/thorvg.web/issues"
},
"homepage": "https://thorvg.org",
"keywords": [
"lottie",
"animation",
"thorvg",
"tvg"
],
"devDependencies": {
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^6.0.2",
"@swc/core": "^1.3.99",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^40.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-wc": "^2.0.4",
"rollup": "^4.46.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-swc3": "^0.10.4",
"rollup-plugin-terser": "^7.0.2",
"typescript": "*"
},
"dependencies": {
"lit": "^3.1.0",
"url": "^0.11.3"
}
}