playground-elements

v0.6.5
A multi-file code editor component with live preview

nuke

rm -rf node_modules package-lock.json && npm install

test

wtr

build

npm run clean && npm run build:themes && npm run build:lib && npm run bundle && npm run build:configurator

clean

git clean -dXn | sed 's/^Would remove //' | grep -v node_modules | xargs rm -rf

serve

web-dev-server --node-resolve --watch --open=configurator/

watch

npm run build:lib -- --watch & rollup -c rollup.config.js -w

bundle

rollup -c rollup.config.js

format

prettier src/**/*.ts --write

prepare

if [ -f './web-test-runner.config.js' ]; then cd node_modules/puppeteer && PUPPETEER_PRODUCT=firefox node install.js; fi

build:lib

tsc --build

build:themes

node scripts/theme-generator.js

prepublishOnly

npm run build

build:configurator

rollup -c rollup.config.configurator.js

Metadata

Downloads

Maintainers