@tauri-apps/api

v1.0.1
Tauri API definitions

lint

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

build

rimraf ./dist && rollup -c --silent && node ./scripts/after-build.cjs

format

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

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 .gitignore

generate-docs

typedoc
npm i @tauri-apps/[email protected]

Metadata

Downloads