-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
94 lines (94 loc) · 2.67 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
87
88
89
90
91
92
93
94
{
"name": "@ngraveio/bc-ur",
"version": "2.0.0-beta.5",
"author": "Antonis Poulakis <[email protected]>, Irfan Bilaloğlu <[email protected]>, Pieter Uyttersprot <[email protected]>",
"description": "A JS implementation of the Uniform Resources (UR) specification from Blockchain Commons",
"license": "MIT",
"directories": {
"lib": "src",
"test": "tests"
},
"files": [
"src",
"dist",
"index.html"
],
"scripts": {
"clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
"build": "yarn clean && yarn compile && node ./scripts/post.build.js",
"compile": "tshy && rollup -c && \\cp -f ./src/wrappers/cbor2Wrapper.ts ./dist/commonjs/wrappers/cbor2Wrapper.d.ts",
"test": "node --experimental-vm-modules node_modules/.bin/jest",
"prepublishOnly": "yarn build",
"lint": "eslint \"./src/**/*.{ts,tsx}\" --max-warnings=0",
"start": "live-server --watch=src,dist --port=8080"
},
"dependencies": {
"cbor2": "^1.8.0",
"crc": "^4.3.2",
"sha.js": "^2.4.11",
"@bacons/text-decoder": "0.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/crc": "^3.8.3",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"@types/sha.js": "^2.4.4",
"jest": "^29.7.0",
"live-server": "^1.2.1",
"rimraf": "^6.0.1",
"rollup": "^4.28.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"ts-jest": "^29.2.5",
"tshy": "^3.0.2",
"tslib": "^2.8.1",
"typescript": "5.6.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ngraveio/bc-ur.git"
},
"keywords": [
"bc-ur"
],
"bugs": {
"url": "https://github.com/ngraveio/bc-ur/issues"
},
"homepage": "https://github.com/ngraveio/bc-ur#readme",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
},
"include": [
"./src/**/*.ts",
"./src/**/*.cts",
"./src/**/*.mts",
"./src/**/*.tsx",
"./src/**/*.json"
]
},
"type": "module",
"types": "./dist/commonjs/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"react-native": {
"types": "./dist/commonjs/index-react-native.d.ts",
"default": "./dist/commonjs/index-react-native.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"react-native": "./dist/commonjs/index-react-native.js",
"module": "./dist/esm/index.js"
}