nano-jsx
v0.0.37 mini micro nano tiny jsx react preact partial hydration and 2 more...
start
npm run dev
version
extract version src/version.ts && prettier --write src/version.ts
format
prettier --write src
format:check
prettier --check src
lint
eslint src --ext .ts,.tsx
lint:fix
eslint --fix src --ext .ts,.tsx
deno
deno run --allow-net -c tsconfig.deno.json deno.dev.tsx
denoify
rimraf deno_lib && denoify && rimraf deno_lib/bundles deno_lib/dev
tsc
npm run version && tsc --project tsconfig.json && tsc --project tsconfig.esm.json && node ./scripts/packageType.mjs
build
npm run tsc
bundle
webpack --config webpack/webpack.bundle.prod.js
dev
npm run build && npm-run-all --parallel dev:*
dev:tsc
tsc --project tsconfig.json --watch
dev:serve
five-server --open=dev
dev:bundle
webpack --config webpack/webpack.bundle.dev.js --watch
dev:script
webpack --config webpack/webpack.dev.js --watch
ssr
tsc --project tsconfig.json && npm-run-all --parallel ssr:*
ssr:tsc
tsc --project tsconfig.json --watch
ssr:nodemon
nodemon lib/dev/devSSR.js
clean
rimraf lib && rimraf esm
clean:test
rimraf "test/**/*.js"
publish
publish
preReleaseHook
prepareRelease
prepareRelease
npm run clean && npm i && npm run build && npm run bundle && npm run denoify && npm run test && npm run test:deno && npm run test:browser
test
npm run test:nodejs && npm run test:jsx-runtime:client && npm run test:jsx-runtime:server
test:nodejs
npm run clean:test && tsc --project tsconfig.test.json && jest "test/.+\.test.js$" && npm run clean:test
test:jsx-runtime:client
tsc --project tsconfig.test.jsx-runtime.json && jest --coverage=false "test.jsx-runtime/.+\.test.js$"
test:jsx-runtime:server
tsc --project tsconfig.test.jsx-runtime.json && node test.jsx-runtime/nodejs/server.js
test:browser
rimraf .nyc_output coverage && webpack -c webpack/webpack.bundle.instrumented.js && tsc -p scripts/browserTest/tsconfig.json && node scripts/browserTest/index.mjs --coverage && npx nyc report --exclude "src/{bundles,dev,htm,ui}/**" --exclude "src/mod.ts" --reporter=text --reporter=html --reporter=lcov
test:deno
deno test -c tsconfig.deno.json test/deno