-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
66 lines (66 loc) · 1.97 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
{
"name": "uint8array-tools",
"version": "0.0.9",
"description": "A library for dealing with Uint8Arrays.",
"homepage": "https://github.com/bitcoinjs/uint8array-tools#readme",
"bugs": {
"url": "https://github.com/bitcoinjs/uint8array-tools/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/bitcoinjs/uint8array-tools.git"
},
"main": "./src/cjs/index.cjs",
"exports": {
"node": {
"module": "./src/mjs/index.js",
"require": "./src/cjs/index.cjs",
"import": "./src/mjs/index.js",
"types": "./src/cjs/index.d.ts"
},
"browser": "./src/mjs/browser.js",
"default": "./src/mjs/browser.js",
"types": "./src/cjs/index.d.ts"
},
"types": "src/cjs/index.d.ts",
"type": "module",
"scripts": {
"build": "npm run clean && npm run build-ts && npm run convert-cjs && rm -f ./src/cjs/browser.d.ts",
"build-ts": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"clean": "rm -rf ./src/* && rm -rf ./coverage && rm -f ./package-lock.json",
"convert-cjs": "for f in ./src/cjs/*.js; do mv -- \"$f\" \"${f%.js}.cjs\"; done",
"coverage": "npm run unit -- --coverage",
"eslint": "eslint ts_src/*.ts",
"format": "npm run eslint -- --fix",
"gitdiff:ci": "npm run build && git diff --exit-code",
"lint": "npm run eslint",
"test": "npm run unit",
"unit": "jest --config=jest.json --runInBand"
},
"keywords": [
"uint8array",
"hex",
"tools"
],
"files": [
"src"
],
"author": "Jonathan Underwood ([email protected])",
"license": "MIT",
"devDependencies": {
"@types/jest": "27.0.2",
"@types/node": "16.11.1",
"@typescript-eslint/eslint-plugin": "5.0.0",
"@typescript-eslint/parser": "5.0.0",
"eslint": "8.0.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"jest": "27.2.5",
"prettier": "2.4.1",
"ts-jest": "27.0.7",
"typescript": "4.4.4"
},
"engines": {
"node": ">=14.0.0"
}
}