{ "name": "@thorvg/lottie-player", "version": "1.0.0-beta.0", "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.cjs.js", "require": "./dist/lottie-player.esm.js" } }, "publishConfig": { "access": "public" }, "files": [ "dist/" ], "types": "./dist/lottie-player.d.ts", "scripts": { "build": "npm run clean && npm run copy:wasm && THORVG_VERSION=$(sed -n -e 4p ../meson.build | sed 's/..$//' | sed -r 's/.{19}//') rollup -c --bundleConfigAsCjs && rm -rf ./dist/thorvg-wasm.js", "build:watch": "npm run clean && npm run copy:wasm && rollup -c --bundleConfigAsCjs --watch", "copy:wasm": "cp ../build_wasm/src/bindings/wasm/thorvg-wasm.js ./dist", "clean": "rm -rf dist && mkdir dist && touch dist/index.js", "test": "echo \"Error: no test specified\" && exit 1", "lint": "eslint ./src --ext .ts,.tsx,.js", "lint:fix": "eslint ./src --ext .ts,.tsx,.js --fix" }, "repository": { "type": "git", "url": "git+https://github.com/thorvg/thorvg.git" }, "author": "Jinny You ", "license": "MIT", "bugs": { "url": "https://github.com/thorvg/thorvg/issues" }, "homepage": "https://thorvg.org", "keywords": [ "lottie", "animation", "thorvg", "tvg" ], "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@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.6.0", "rollup-plugin-baked-env": "^1.0.1", "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" } }