polyfact
Version:
<h1 align="center">PolyFact</h1>
76 lines (75 loc) • 2.97 kB
JSON
{
"name": "polyfact",
"version": "0.1.79",
"main": "index.js",
"types": "index.d.ts",
"author": "Lancelot Owczarczak <lancelot@owczarczak.fr>",
"license": "MIT",
"bin": "polyfact",
"dependencies": {
"@supabase/supabase-js": "^2.31.0",
"async-mutex": "^0.4.0",
"axios": "^0.27.2",
"buffer": "^6.0.3",
"form-data": "^4.0.0",
"fp-ts": "^2.16.0",
"inquirer": "^9.2.10",
"isomorphic-fetch": "^3.0.0",
"isomorphic-ws": "^5.0.0",
"js-tiktoken": "^1.0.7",
"pdf-parse": "^1.1.1",
"polyfact-io-ts": "^2.2.20",
"process": "^0.11.10",
"react": "^18.2.0",
"readable-stream": "^4.4.2",
"ts-node": "^10.9.1",
"uuid": "^9.0.0",
"ws": "^8.13.0"
},
"devDependencies": {
"@types/cli-progress": "^3.11.0",
"@types/inquirer": "^9.0.3",
"@types/isomorphic-fetch": "^0.0.36",
"@types/node": "^20.4.5",
"@types/pdf-parse": "^1.1.1",
"@types/react": "^18.2.21",
"@types/readable-stream": "^4.0.0",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"cli-progress": "^3.12.0",
"commander": "^11.0.0",
"esbuild": "0.15.10",
"eslint": "^7.21.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "8.0.1",
"prettier": "^2.2.1",
"typescript": "^4.6.2"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all",
"last 2 versions",
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 Edge versions",
"last 2 iOS versions",
"last 2 ChromeAndroid versions"
],
"scripts": {
"start": "ts-node cmd/index.ts",
"lint": "prettier --check lib/ cmd/ ; eslint lib/ cmd/",
"lint:fix": "prettier --write lib/ cmd/ ; eslint --fix lib/ cmd/",
"build:cmd": "esbuild cmd/index.ts --bundle --outfile=build/polyfact.tmp --platform=node && echo '#!/usr/bin/env node\n' | cat - build/polyfact.tmp > build/polyfact && rm build/polyfact.tmp",
"build:vanilla-js": "esbuild target/vanilla-js.ts --bundle --minify --target=chrome67,firefox68,edge79,safari15 --outfile=build/vanilla-js.js",
"build": "tsc --target es5 --lib es2021,DOM --moduleResolution node --strict --esModuleInterop --declaration --jsx react --skipLibCheck --outDir dist --rootDir lib lib/*.ts lib/**/*.ts && npm run build:cmd && cp build/polyfact package.json README.md dist/",
"npm-publish": "npm run build && cd dist && npm publish && cd .."
}
}