-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
66 lines (66 loc) · 2.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "polyfire-js",
"version": "0.2.60",
"main": "index.js",
"types": "index.d.ts",
"author": "Lancelot Owczarczak <[email protected]>",
"license": "MIT",
"dependencies": {
"@supabase/supabase-js": "^2.31.0",
"async-mutex": "^0.4.0",
"axios": "^0.27.2",
"buffer": "^6.0.3",
"fp-ts": "^2.16.0",
"isomorphic-ws": "^5.0.0",
"js-tiktoken": "^1.0.7",
"lodash.debounce": "^4.0.8",
"polyfact-io-ts": "^2.2.20",
"process": "^0.11.10",
"react": "^18.2.0",
"readable-stream": "^4.4.2",
"uuid": "^9.0.0",
"ws": "^8.13.0"
},
"devDependencies": {
"@types/lodash.debounce": "^4.0.9",
"@types/node": "^20.4.5",
"@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",
"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",
"jest": "^29.7.0",
"prettier": "^2.2.1",
"ts-node": "^10.9.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": {
"lint": "prettier --check lib/ ; eslint lib/",
"lint:fix": "prettier --write lib/; eslint --fix lib/",
"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 lib/**/*.tsx && cp package.json README.md dist/ && find lib/ -type f -name '*.css' -exec sh -c 'cp {} $(echo {} | sed s/^lib/dist/)' \\;",
"npm-publish": "npm run build && cd dist && npm publish && cd ..",
"test": "jest tests"
}
}