UNPKG

4.04 kBJSONView Raw
1{
2 "name": "webnative",
3 "version": "0.26.0",
4 "description": "Fission Webnative SDK",
5 "keywords": [
6 "WebCrypto",
7 "auth",
8 "IPFS",
9 "files"
10 ],
11 "main": "lib/index.js",
12 "exports": {
13 ".": "./lib/index.js",
14 "./*": "./lib/*.js",
15 "./package.json": "./package.json"
16 },
17 "types": "lib/index.d.ts",
18 "typesVersions": {
19 "*": {
20 "lib/index.d.ts": [
21 "lib/index.d.ts"
22 ],
23 "*": [
24 "lib/*"
25 ]
26 }
27 },
28 "files": [
29 "lib",
30 "dist",
31 "README.md",
32 "CHANGELOG.md",
33 "LICENSE",
34 "package.json",
35 "!*.test.ts",
36 "docs"
37 ],
38 "author": "Daniel Holmgren <daniel@fission.codes>",
39 "repository": {
40 "type": "git",
41 "url": "https://github.com/fission-suite/webnative"
42 },
43 "homepage": "https://guide.fission.codes",
44 "license": "Apache-2.0",
45 "engines": {
46 "node": ">=15"
47 },
48 "scripts": {
49 "docs": "rimraf docs && typedoc && typedoc --entryPoints ./src/fs --out docs/fs",
50 "lint": "yarn eslint src/**/*.ts",
51 "prebuild": "rimraf lib dist && node scripts/gen-version.js",
52 "build": "ttsc && yarn run build:minified && cp src/package.json lib/package.json",
53 "build:minified": "esbuild src/index.ts --outfile=dist/index.min.js --bundle --minify --sourcemap --platform=browser --format=iife --global-name=globalThis.webnative --target=es2020 && gzip -k9 dist/index.min.js",
54 "start": "ttsc -w",
55 "test": "jest --forceExit",
56 "test:watch": "jest --watch",
57 "test:prod": "yarn run build && yarn run lint && yarn run test:gh-action --no-cache",
58 "test:types": "cp -RT tests/types/ lib/ && yarn run tsd",
59 "test:unit": "jest --watch --testPathPattern=src/",
60 "test:gh-action": "TEST_ENV=gh-action jest --forceExit",
61 "prepare": "yarn build && yarn docs",
62 "publish-dry": "npm publish --dry-run",
63 "publish-alpha": "npm publish --tag alpha",
64 "publish-latest": "npm publish --tag latest"
65 },
66 "devDependencies": {
67 "@babel/core": "^7.14.3",
68 "@babel/preset-env": "^7.14.2",
69 "@babel/preset-typescript": "^7.13.0",
70 "@ipld/car": "https://github.com/matheus23/ipld-car-jest-fix#28fa48a8d0e701ddaf6e4785d0d9f08735b67bc8",
71 "@types/jest": "^26.0.23",
72 "@types/jest-environment-puppeteer": "^4.4.1",
73 "@types/node": "^15.6.1",
74 "@types/throttle-debounce": "^2.1.0",
75 "@typescript-eslint/eslint-plugin": "^4.25.0",
76 "@typescript-eslint/parser": "^4.25.0",
77 "@zoltu/typescript-transformer-append-js-extension": "^1.0.1",
78 "babel-jest": "^27.0.1",
79 "esbuild": "^0.12.8",
80 "eslint": "^7.27.0",
81 "fast-check": "^2.14.0",
82 "interface-datastore": "^4.0.1",
83 "ipfs-core": "^0.7.0",
84 "ipfs-core-types": "^0.5.0",
85 "ipfs-repo": "^9.1.6",
86 "jest": "^27.0.1",
87 "jest-config": "^27.0.1",
88 "jest-puppeteer": "^5.0.4",
89 "multihashing-async": "^2.1.2",
90 "puppeteer": "^9.1.1",
91 "rimraf": "^3.0.2",
92 "tslib": "^2.2.0",
93 "ttypescript": "^1.5.12",
94 "typedoc": "^0.21.0-beta.2",
95 "typescript": "^4.3.2",
96 "typescript-documentation": "^2.0.0",
97 "yarn": "^1.22.4"
98 },
99 "dependencies": {
100 "base58-universal": "https://github.com/digitalbazaar/base58-universal#de970560f005de0f7054723c35ef6e0ff4b328b7",
101 "buffer": "^6.0.3",
102 "cborg": "^1.3.4",
103 "cids": "^1.1.6",
104 "fission-bloom-filters": "1.7.1",
105 "ipfs-message-port-client": "https://ipfs.runfission.com/ipfs/bafybeigx6q4aezve7my76s5vvfuiinbxtepapqvmjf2jbgrozrut6cjape/p/ipfs-message-port-client.tar.gz",
106 "ipfs-message-port-protocol": "https://ipfs.runfission.com/ipfs/bafybeigx6q4aezve7my76s5vvfuiinbxtepapqvmjf2jbgrozrut6cjape/p/ipfs-message-port-protocol.tar.gz",
107 "ipld-dag-pb": "^0.22.2",
108 "keystore-idb": "0.14.2",
109 "localforage": "^1.9.0",
110 "noble-ed25519": "^1.2.4",
111 "throttle-debounce": "^3.0.1"
112 },
113 "resolutions": {
114 "**/ipfs-message-port-protocol": "https://ipfs.runfission.com/ipfs/bafybeigx6q4aezve7my76s5vvfuiinbxtepapqvmjf2jbgrozrut6cjape/p/ipfs-message-port-protocol.tar.gz"
115 },
116 "tsd": {
117 "directory": "lib"
118 }
119}