@dotlottie/player-component
v1.3.2-beta.0 dotlottie animation web component component lit-element player
lint
eslint
build
yarn build-dotlottie
serve
yarn build && cp dist/dotlottie-player.js src/ && http-server src/ -o
start
npm run cleanup && rollup -c --watch
cleanup
shx rm -rf dist && shx mkdir dist
lint:fix
eslint --fix
prebuild
node -p "'export const DOTLOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'" > src/versions.ts
prestart
node -p "'export const DOTLOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'" > src/versions.ts
build:types
tsc --declaration
build-dotlottie
npm run cleanup && rollup -c