forked from cedoor/sparse-merkle-tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.44 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@cedoor/smt",
"version": "0.1.7",
"description": "Sparse Merkle tree implementation in TypeScript.",
"keywords": [
"typescript",
"sparse-merkle-tree",
"merkle-tree"
],
"unpkg": "dist/smt.min.js",
"jsdelivr": "dist/smt.min.js",
"main": "dist/smt.node.js",
"exports": {
"import": "./dist/smt.mjs",
"require": "./dist/smt.node.js"
},
"types": "dist/types/index.d.ts",
"files": [
"dist/",
"src/",
"LICENSE",
"README.md"
],
"homepage": "https://github.com/cedoor/sparse-merkle-tree",
"license": "MIT",
"author": {
"name": "Omar Desogus",
"email": "me@cedoor.dev",
"url": "https://cedoor.dev"
},
"repository": {
"type": "git",
"url": "https://github.com/cedoor/sparse-merkle-tree.git"
},
"bugs": {
"url": "https://github.com/cedoor/sparse-merkle-tree/issues"
},
"scripts": {
"start": "rollup -c rollup.config.ts -w",
"build": "rimraf dist && rollup -c rollup.config.ts",
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' 'test/**/*.ts' --fix",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "yarn lint && yarn test --no-cache",
"docs": "rimraf docs && typedoc src/index.ts",
"commit": "cz",
"precommit": "lint-staged"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/**/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"arrowParens": "always",
"trailingComma": "none"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.35",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"circomlib": "^0.5.1",
"commitizen": "^4.2.3",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"jest": "^26.6.3",
"jest-config": "^26.6.3",
"js-sha256": "^0.9.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.41.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.5.3",
"ts-node": "^9.1.1",
"tslib": "^2.1.0",
"typedoc": "^0.20.32",
"typescript": "^4.2.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}