-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.7 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.7 KB
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
87
88
89
90
91
92
93
{
"name": "provider-hinted-uris",
"version": "1.0.0",
"description": "URI-based format for expressing content-addressed identifiers optionally augmented with one or more provider hints.",
"homepage": "https://github.com/vasco-santos/provider-hinted-uri#readme",
"bugs": {
"url": "https://github.com/vasco-santos/provider-hinted-uri/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vasco-santos/provider-hinted-uri.git"
},
"author": "Vasco Santos",
"license": "Apache-2.0 OR MIT",
"type": "module",
"main": "src/index.js",
"types": "dist/src/index.d.ts",
"scripts": {
"attw": "attw --pack . --profile node16",
"format": "prettier --write '**/*.{js,ts,yml,json}' --ignore-path .gitignore",
"format:check": "prettier --check '**/*.{js,ts,yml,json}' --ignore-path .gitignore",
"clean": "rm -rf docs node_modules pnpm-lock.yaml packages/*/{pnpm-lock.yaml,coverage,.nyc_output,dist,node_modules,.next}",
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path .gitignore",
"build": "tsc --build",
"test": "npm run test:all",
"test:all": "run-s test:browser test:node",
"test:node": "c8 --check-coverage --lines=100 --functions=95 --branches=100 --statements=100 -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings --timeout=30s",
"test:browser": "playwright-test --runner mocha 'test/**/!(*.node).test.js'"
},
"dependencies": {
"@multiformats/multiaddr": "^12.4.0",
"multiformats": "^13.3.6"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@hash-stream/eslint-config": "^1.0.0",
"@types/assert": "^1.5.11",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.10",
"assert": "^2.1.0",
"c8": "^10.1.3",
"depcheck": "^1.4.7",
"eslint": "^8.36.0",
"lint-staged": "^15.5.0",
"mocha": "^11.1.0",
"npm-run-all": "^4.1.5",
"playwright-test": "^14.1.9",
"prettier": "2.8.3",
"typescript": "^5.8.2"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map"
],
"exports": {
".": "./dist/src/index.js",
"./types": "./dist/src/api.js"
},
"typesVersions": {
"*": {
"types": [
"dist/src/api"
]
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"eslintConfig": {
"extends": [
"@hash-stream/eslint-config"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"mocha": true
},
"ignorePatterns": [
"dist",
"coverage",
"src/types.js"
]
},
"engines": {
"node": ">=16.15"
}
}