@tauri-apps/api

v1.0.0-beta-rc.2
Tauri API definitions

lint

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

build

rimraf ./dist && rollup -c --silent && copyfiles package.json LICENSE* CHANGELOG.md dist

format

prettier --write --end-of-line=auto "./**/*.{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 "./**/*.{js,jsx,ts,tsx,html,css,json}" --ignore-path .gitignore

lint:lockfile

lockfile-lint --path yarn.lock --type yarn --validate-https --allowed-hosts npm yarn
npm i @tauri-apps/[email protected]

Metadata

Downloads