@libreservice/my-file-type
v0.2.3
Published
![](https://img.shields.io/github/license/LibreService/my_file_type)
Downloads
3
Readme
My File Type
Find type of your file in a fast and secure way.
https://my-file-type.vercel.app/
Development workflow
My File Type can be built on Linux and macOS.
For Windows, you may use WSL.
Install node
You may use nvm to install node.
Install pnpm and dev dependencies
npm i -g pnpm
pnpm i
Install autoconf, automake and libtool
# Ubuntu
apt install autoconf automake libtool
# macOS
brew install autoconf automake libtool
Install emsdk
https://emscripten.org/docs/getting_started/downloads.html
Get submodule
git submodule init
git submodule update
Build wasm
pnpm run native
pnpm run lib
pnpm run wasm
Run develop server
pnpm run dev
Lint
pnpm run lint:fix
Check type
pnpm run check
Build
pnpm run build
Test
pnpm run test
Preview
pnpm run preview
Deploy
export LIBRESERVICE_CDN=https://cdn.jsdelivr.net/npm/@libreservice/my-file-type@VERSION/dist/ # optional
vercel build --prod
vercel deploy --prebuilt --prod
License
AGPLv3+