@tauri-apps/api

v1.4.0
Tauri API definitions

lint

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

build

yarn tsup && node ./scripts/after-build.cjs && yarn generate-docs

format

prettier --write --end-of-line=auto "./**/*.{cjs,js,jsx,ts,tsx,html,css,json}" --ignore-path ../../.prettierignore

lint-fix

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

npm-pack

yarn build && cd ./dist && npm pack

npm-publish

yarn build && cd ./dist && yarn publish --access public --loglevel silly

format:check

prettier --check --end-of-line=auto "./**/*.{cjs,js,jsx,ts,tsx,html,css,json}" --ignore-path ../../.prettierignore

generate-docs

typedoc --plugin typedoc-plugin-markdown --plugin typedoc-plugin-mdn-links
npm i @tauri-apps/[email protected]

Metadata

Downloads