@tweakpane/core

v2.0.4
Tweakpane core library

prepack

run-s clean build

prepublishOnly

npm test

start

run-s build watch

test

run-s test:scss test:ts

build

run-s build:ts

build:ts

tsc --project src/tsconfig.json && node scripts/replace-version.js dist/version.js

clean

rimraf .nyc_output dist tweakpane-core.tgz tweakpane-core-*.tgz

coverage

nyc --reporter=text --extension ".ts" --exclude "**/*-test.ts" --exclude "dist/**/*" npm run test:ts:dynamic

format

run-p format:*

format:scss

prettier --parser scss --write "lib/sass/**/*.scss"

format:ts

eslint --ext .ts --fix "src/**/*.ts"

lint

run-p test:scss:static test:ts:static

test:scss

run-s test:scss:static test:scss:dynamic

test:scss:static

prettier --parser scss --list-different "lib/sass/**/*.scss"

test:scss:dynamic

sass lib/sass/_plugin-test.scss

test:ts

run-s test:ts:static test:ts:dynamic

test:ts:dynamic

TS_NODE_CACHE=false TS_NODE_PROJECT="src/tsconfig.json" mocha --require ts-node/register --loader=ts-node/esm "src/**/*-test.ts"

test:ts:dynamic:inspect

TS_NODE_CACHE=false TS_NODE_PROJECT="src/tsconfig.json" mocha --require ts-node/register "src/**/*-test.ts" --inspect-brk

test:ts:static

eslint --ext .ts "src/**/*.ts"

watch

run-p watch:*

watch:ts

onchange --initial --kill "src/**/*.ts" -- npm run build:ts
npm i @tweakpane/core

Metadata

  • MIT
  • Whatever
  • cocopon
  • released 6/30/2024

Downloads

Maintainers

cocopon