@lambda-kata/licensing 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,98 +1,99 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@lambda-kata/licensing",
|
|
3
|
+
"version": "0.1.17",
|
|
4
|
+
"description": "Tamper-resistant native licensing validator for Lambda Kata Integration",
|
|
5
|
+
"main": "out/dist/index.js",
|
|
6
|
+
"types": "out/tsc/index.d.ts",
|
|
7
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
8
|
+
"author": "Lambda Kata Team",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/lambda-kata/licensing.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"lambda-kata",
|
|
15
|
+
"licensing",
|
|
16
|
+
"native",
|
|
17
|
+
"node-api",
|
|
18
|
+
"security",
|
|
19
|
+
"aws-lambda"
|
|
20
|
+
],
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=18.0.0"
|
|
23
|
+
},
|
|
24
|
+
"os": [
|
|
25
|
+
"linux",
|
|
26
|
+
"darwin"
|
|
27
|
+
],
|
|
28
|
+
"cpu": [
|
|
29
|
+
"x64",
|
|
30
|
+
"arm64"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "yarn build:clean && yarn build:native && yarn build:ts && yarn build:types",
|
|
34
|
+
"build:clean": "rm -rf out/ build/ prebuilt/",
|
|
35
|
+
"build:native": "node-gyp rebuild || echo 'Native build failed - addon will be unavailable'",
|
|
36
|
+
"build:native:docker": "./scripts/build-docker.sh",
|
|
37
|
+
"build:ts": "esbuild src/index.ts --bundle --platform=node --target=node18 --format=cjs --outfile=out/dist/index.js --tree-shaking=true --minify --external:*.node",
|
|
38
|
+
"build:types": "tsc --emitDeclarationOnly --outDir out/tsc",
|
|
39
|
+
"build:all": "./scripts/build-all.sh",
|
|
40
|
+
"build:prebuilt": "./scripts/build-prebuilt.sh",
|
|
41
|
+
"test": "npx jest --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
42
|
+
"test:watch": "npx jest --watch --testTimeout=15000 --runInBand --no-cache",
|
|
43
|
+
"test:coverage": "npx jest --coverage --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
44
|
+
"test:safe": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
45
|
+
"test:unit": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.test\\.ts' --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
46
|
+
"test:property": "npx jest --runInBand --colors --verbose --testTimeout=20000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.property\\.test\\.ts'",
|
|
47
|
+
"test:deployment": "./scripts/test-deployment.sh",
|
|
48
|
+
"lint": "eslint src/ test/ --ext .ts",
|
|
49
|
+
"lint:fix": "eslint src/ test/ --ext .ts --fix",
|
|
50
|
+
"docs": "typedoc src/index.ts --out docs/",
|
|
51
|
+
"install": "node scripts/install.js",
|
|
52
|
+
"postinstall": "node scripts/postinstall.js || echo 'Postinstall script failed, using fallback mode'",
|
|
53
|
+
"publish": "yarn build:native:docker all && ./scripts/build-prebuilt.sh package && ls -la prebuilt/ && npm publish"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"out/",
|
|
57
|
+
"prebuilt/",
|
|
58
|
+
"scripts/install.js",
|
|
59
|
+
"scripts/postinstall.js",
|
|
60
|
+
"README.md",
|
|
61
|
+
"LICENSE"
|
|
62
|
+
],
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"node-addon-api": "^7.0.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@types/jest": "^29.5.0",
|
|
68
|
+
"@types/node": "^20.0.0",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
70
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
71
|
+
"esbuild": "^0.19.0",
|
|
72
|
+
"eslint": "^8.0.0",
|
|
73
|
+
"fast-check": "^3.15.0",
|
|
74
|
+
"jest": "^29.5.0",
|
|
75
|
+
"node-gyp": "^10.0.0",
|
|
76
|
+
"ts-jest": "^29.1.0",
|
|
77
|
+
"typedoc": "^0.25.0",
|
|
78
|
+
"typescript": "^5.0.0"
|
|
79
|
+
},
|
|
80
|
+
"peerDependencies": {
|
|
81
|
+
"aws-cdk-lib": "^2.0.0",
|
|
82
|
+
"constructs": "^10.0.0"
|
|
83
|
+
},
|
|
84
|
+
"peerDependenciesMeta": {
|
|
85
|
+
"aws-cdk-lib": {
|
|
86
|
+
"optional": true
|
|
12
87
|
},
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"licensing",
|
|
16
|
-
"native",
|
|
17
|
-
"node-api",
|
|
18
|
-
"security",
|
|
19
|
-
"aws-lambda"
|
|
20
|
-
],
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=18.0.0"
|
|
23
|
-
},
|
|
24
|
-
"os": [
|
|
25
|
-
"linux",
|
|
26
|
-
"darwin"
|
|
27
|
-
],
|
|
28
|
-
"cpu": [
|
|
29
|
-
"x64",
|
|
30
|
-
"arm64"
|
|
31
|
-
],
|
|
32
|
-
"scripts": {
|
|
33
|
-
"build": "yarn build:clean && yarn build:native && yarn build:ts && yarn build:types",
|
|
34
|
-
"build:clean": "rm -rf out/ build/ prebuilt/",
|
|
35
|
-
"build:native": "node-gyp rebuild || echo 'Native build failed - addon will be unavailable'",
|
|
36
|
-
"build:native:docker": "./scripts/build-docker.sh",
|
|
37
|
-
"build:ts": "esbuild src/index.ts --bundle --platform=node --target=node18 --format=cjs --outfile=out/dist/index.js --tree-shaking=true --minify --external:*.node",
|
|
38
|
-
"build:types": "tsc --emitDeclarationOnly --outDir out/tsc",
|
|
39
|
-
"build:all": "./scripts/build-all.sh",
|
|
40
|
-
"build:prebuilt": "./scripts/build-prebuilt.sh",
|
|
41
|
-
"test": "npx jest --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
42
|
-
"test:watch": "npx jest --watch --testTimeout=15000 --runInBand --no-cache",
|
|
43
|
-
"test:coverage": "npx jest --coverage --runInBand --colors --verbose --testTimeout=15000 --forceExit --detectOpenHandles --no-cache",
|
|
44
|
-
"test:safe": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
45
|
-
"test:unit": "npx jest --runInBand --colors --verbose --testTimeout=10000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.test\\.ts' --testPathIgnorePatterns='.*\\.property\\.test\\.ts'",
|
|
46
|
-
"test:property": "npx jest --runInBand --colors --verbose --testTimeout=20000 --forceExit --detectOpenHandles --no-cache --testPathPattern='.*\\.property\\.test\\.ts'",
|
|
47
|
-
"test:deployment": "./scripts/test-deployment.sh",
|
|
48
|
-
"lint": "eslint src/ test/ --ext .ts",
|
|
49
|
-
"lint:fix": "eslint src/ test/ --ext .ts --fix",
|
|
50
|
-
"docs": "typedoc src/index.ts --out docs/",
|
|
51
|
-
"install": "node scripts/install.js",
|
|
52
|
-
"postinstall": "node scripts/postinstall.js || echo 'Postinstall script failed, using fallback mode'"
|
|
53
|
-
},
|
|
54
|
-
"files": [
|
|
55
|
-
"out/",
|
|
56
|
-
"prebuilt/",
|
|
57
|
-
"scripts/install.js",
|
|
58
|
-
"scripts/postinstall.js",
|
|
59
|
-
"README.md",
|
|
60
|
-
"LICENSE"
|
|
61
|
-
],
|
|
62
|
-
"dependencies": {
|
|
63
|
-
"node-addon-api": "^7.0.0"
|
|
64
|
-
},
|
|
65
|
-
"devDependencies": {
|
|
66
|
-
"@types/jest": "^29.5.0",
|
|
67
|
-
"@types/node": "^20.0.0",
|
|
68
|
-
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
69
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
70
|
-
"esbuild": "^0.19.0",
|
|
71
|
-
"eslint": "^8.0.0",
|
|
72
|
-
"fast-check": "^3.15.0",
|
|
73
|
-
"jest": "^29.5.0",
|
|
74
|
-
"node-gyp": "^10.0.0",
|
|
75
|
-
"ts-jest": "^29.1.0",
|
|
76
|
-
"typedoc": "^0.25.0",
|
|
77
|
-
"typescript": "^5.0.0"
|
|
78
|
-
},
|
|
79
|
-
"peerDependencies": {
|
|
80
|
-
"aws-cdk-lib": "^2.0.0",
|
|
81
|
-
"constructs": "^10.0.0"
|
|
82
|
-
},
|
|
83
|
-
"peerDependenciesMeta": {
|
|
84
|
-
"aws-cdk-lib": {
|
|
85
|
-
"optional": true
|
|
86
|
-
},
|
|
87
|
-
"constructs": {
|
|
88
|
-
"optional": true
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"gypfile": true,
|
|
92
|
-
"binary": {
|
|
93
|
-
"napi_versions": [
|
|
94
|
-
8,
|
|
95
|
-
9
|
|
96
|
-
]
|
|
88
|
+
"constructs": {
|
|
89
|
+
"optional": true
|
|
97
90
|
}
|
|
91
|
+
},
|
|
92
|
+
"gypfile": true,
|
|
93
|
+
"binary": {
|
|
94
|
+
"napi_versions": [
|
|
95
|
+
8,
|
|
96
|
+
9
|
|
97
|
+
]
|
|
98
|
+
}
|
|
98
99
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|