-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.49 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
{
"name": "@tanle/shamirs-secret-sharing",
"version": "0.0.2",
"description": "A JS/TS implementation of Shamir's Secret Sharing in a finite field GF(2^8)",
"author": "Tan Le",
"license": "MIT",
"repository": {
"url": "git+https://github.com/tanlethanh/shamirs-secret-sharing.git"
},
"files": [
"src",
"dist"
],
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"type-check": "tsc --noEmit",
"example:sss-28": "tsx ./examples/sss-28.ts",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "rimraf ./dist && tsc && yarn build:cjs && yarn build:esm",
"release": "yarn build && npm publish --access public",
"test": "jest"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@peakee/eslint-config": "^0.0.17",
"@types/babel__core": "^7",
"@types/babel__preset-env": "^7",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.4",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"rimraf": "^6.0.1",
"tsx": "^4.19.0",
"typescript": "5.3.3"
},
"jest": {
"testMatch": [
"**/src/**/*.test.ts"
]
},
"packageManager": "yarn@4.4.1"
}