-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.95 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
{
"name": "@dao-xyz/ipfs-pinning-adapter",
"version": "0.1.13",
"readme": "README.md",
"description": "Framework for unifying different IPFS pinning services",
"homepage": "https://github.com/dao-xyzprotocol/ipfs-pinning-adapter#readme",
"repository": "https://github.com/dao-xyzprotocol/ipfs-pinning-adapter",
"author": "dao-xyz.network",
"license": "Apache-2.0",
"type": "module",
"sideEffects": false,
"main": "lib/cjs/index.js",
"module": "lib/esm/index.mjs",
"types": "lib/esm/index.d.ts",
"exports": {
"import": "./lib/esm/index.mjs",
"require": "./lib/cjs/index.js"
},
"files": [
"lib",
"src",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rimraf lib",
"build": "yarn clean && tsc -p tsconfig.json; tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
"postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json",
"test": "node ./node_modules/.bin/jest test -c ./jest.config.js --runInBand --forceExit",
"test:unit": "node ./node_modules/.bin/jest test -c ./jest.config.unit.js --runInBand --forceExit",
"test:integration": "node ./node_modules/.bin/jest test -c ../jest.config.integration.js --runInBand --forceExit",
"pretty": "prettier --write src/**/*.ts package.json",
"pretty:check": "prettier --write src/**/*.ts package.json --check",
"postinstall": "yarn patch-package"
},
"dependencies": {
"@pinata/sdk": "^1.1.25",
"axios": "^0.26.1",
"ipfs-car": "^0.6.1",
"nft.storage": "5.2.2",
"patch-package": "^6.4.7"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^17.0.13",
"dotenv": "^15.0.0",
"jest": "^27.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.4.1",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"typescript": "^4.4.4",
"typescript-esm": "^2.0.0"
}
}