-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 1.19 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
{
"name": "files-from-path",
"version": "1.1.1",
"description": "Expand paths to file-like objects with name, readable stream and size.",
"main": "src/index.js",
"types": "./types/index.d.ts",
"type": "module",
"author": "vasco-santos",
"license": "Apache-2.0 OR MIT",
"scripts": {
"build": "npm run build:js && npm run build:types",
"build:js": "ipjs build --main && npm run build:copy",
"build:copy": "cp -a tsconfig.json src test dist/ ",
"build:types": "npm run build:copy && cd dist && tsc --build",
"test": "ava --verbose test/test.spec.js --timeout 30s",
"lint": "standard"
},
"repository": {
"type": "git",
"url": "git+https://github.com/storacha/files-from-path.git"
},
"standard": {
"ignore": [
"dist"
]
},
"exports": {
".": {
"browser": "./src/index.browser.js",
"import": "./src/index.js"
}
},
"dependencies": {
"graceful-fs": "^4.2.10"
},
"devDependencies": {
"@types/graceful-fs": "^4.1.6",
"@types/node": "^20.9.0",
"ava": "^6.2.0",
"ipjs": "^5.0.3",
"standard": "^17.0.0",
"typescript": "^5.2.2",
"unlimited": "^1.2.2"
},
"engines": {
"node": ">=18"
}
}