-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
86 lines (86 loc) · 2.14 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "ucan-storage",
"version": "1.3.0",
"main": "src/index.js",
"types": "dist/src/index.d.ts",
"type": "module",
"license": "MIT",
"repository": {
"url": "nftstorage/ucan.storage"
},
"bin": {
"ucan-storage": "./src/cli.js"
},
"exports": {
".": "./src/index.js",
"./keypair": "./src/keypair.js",
"./types": "./src/types.ts",
"./did": "./src/did.js",
"./service": "./src/service.js",
"./ucan-storage": "./src/ucan-storage.js",
"./ucan-chain": "./src/ucan-chain.js",
"./ucan": "./src/ucan.js"
},
"typesVersions": {
"*": {
"*": [
"dist/src/*"
]
}
},
"scripts": {
"format": "prettier --write '**/*.{js,ts,yml,json}' --ignore-path .gitignore",
"format:check": "prettier --check '**/*.{js,ts,yml,json}' --ignore-path .gitignore",
"clean": "rm -rf node_modules yarn.lock dist pnpm-lock.yaml",
"docs": "pnpm run lint && typedoc src/ucan-storage.js src/keypair.js --out docs",
"lint": "eslint '**/*.{js,ts,.d.ts}' && pnpm run format:check && tsc",
"test": "uvu tests",
"test-browser": "pw-test tests --runner uvu",
"test:watch": "watchlist src tests -- yarn test"
},
"files": [
"src",
"dist/src/*.d.ts",
"dist/src/*.d.ts.map"
],
"dependencies": {
"@noble/ed25519": "^1.5.2",
"base-x": "^4.0.0",
"sade": "^1.8.1"
},
"devDependencies": {
"@types/node": "^17.0.21",
"hd-scripts": "^1.1.0",
"lint-staged": "^12.3.5",
"playwright-test": "^7.2.2",
"prettier": "2.5.1",
"simple-git-hooks": "^2.7.0",
"typedoc": "^0.22.13",
"typedoc-plugin-missing-exports": "^0.22.6",
"typescript": "4.5.5",
"uvu": "^0.5.3",
"watchlist": "^0.3.1"
},
"engines": {
"node": ">= 14.0.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,d.ts,yml,json}": "prettier --write",
"*.js": "eslint --fix"
},
"eslintConfig": {
"extends": [
"./node_modules/hd-scripts/eslint/index.js"
]
},
"prettier": "./node_modules/hd-scripts/prettier.config.js",
"eslintIgnore": [
"node_modules",
"coverage",
"dist",
"docs"
]
}