-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.59 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.59 KB
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
{
"name": "@guardtime/common",
"sideEffects": false,
"version": "2.0.0",
"description": "A grab bag of common utilities, data models and other functionality.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/guardtime/js-common"
},
"type": "module",
"exports": {
"./lib/*": "./lib/*"
},
"scripts": {
"clean:lib": "node -e \"try { require('fs').rmSync('./lib', { recursive: true }); } catch(err) { console.log(err); }\"",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest",
"mjs": "npm run clean:lib && tsc -d",
"all": "npm run test && npm run mjs",
"lint": "eslint \"src/**/*.ts\" \"__tests__/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" \"__tests__/**/*.ts\" --fix"
},
"jest": {
"preset": "ts-jest",
"testRegex": "/__tests__/.*\\.test\\.ts$",
"moduleNameMapper": {
"^(\\.\\.?/.*)\\.js$": "$1"
}
},
"dependencies": {
"rfc4648": "^1.5.3",
"base64-js": "^1.5.1",
"big-integer": "^1.6.52",
"moment": "^2.30.1",
"@noble/hashes": "^1.3.3",
"@lapo/asn1js": "^1.2.4"
},
"devDependencies": {
"@types/lapo__asn1js": "^1.2.5",
"@types/base64-js": "^1.3.2",
"@types/jest": "^29.5.12",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"ts-jest": "^29.1.2",
"prettier": "^3.2.5",
"typescript": "^5.3.3"
}
}