-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
59 lines (59 loc) · 1.6 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
{
"name": "tlock-js",
"version": "0.9.0",
"description": "A library to encrypt data that can only be decrypted in the future using drand",
"source": "src/index.ts",
"main": "index.js",
"types": "index.d.ts",
"targets": {
"default": {
"engines": {
"outputFormat": "global"
}
}
},
"scripts": {
"precompile": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"compile": "npm run precompile && tsc --project tsconfig.json",
"build:ci": "npm run compile && npm run lint && npm run test",
"clean": "rm -rf ./dist/*",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "jest --verbose ./test/**/*.test.ts"
},
"author": "drand.love",
"license": "(Apache-2.0 OR MIT)",
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/chai-string": "^1.4.2",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.2",
"@types/yup": "^0.29.14",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"chai": "^4.3.7",
"chai-string": "^1.5.0",
"eslint": "^8.45.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.6.1",
"jest-fetch-mock": "^3.0.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"dependencies": {
"@noble/curves": "^1.4.0",
"@noble/hashes": "^1.4.0",
"@stablelib/chacha20poly1305": "^1.0.1",
"buffer": "^6.0.3",
"drand-client": "1.2.5"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"not dead"
],
"engines": {
"node": ">= 16.0.0"
}
}