-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 1.68 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "gm-sm2-cipher",
"version": "1.0.0",
"description": "SM2 encryption and decryption utilities using Java with BouncyCastle",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "npm run build:java && npm run build:typescript",
"build:java": "cd java-utils && mvn clean package",
"build:typescript": "tsc",
"prepublishOnly": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:verbose": "jest --verbose",
"clean": "rm -rf lib java-utils/target"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/__tests__/**"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
]
},
"keywords": [
"sm2",
"encryption",
"decryption",
"cryptography",
"bouncycastle",
"java",
"chinese-crypto"
],
"author": "Sushant R. Dangal <srdarkseer@gmail.com>",
"license": "MIT",
"files": [
"lib",
"java-utils/target/sm2-service-1.0.0.jar",
"java-utils/pom.xml",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^20.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.4.5",
"typescript": "^5.2.2"
},
"repository": {
"type": "git",
"url": "https://github.com/srdarkseer/gm-sm2-cipher.git"
}
}