-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.91 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"version": "0.0.1",
"license": "MIT",
"author": "Mittwald CM Service GmbH & Co. KG <[email protected]>",
"description": "Simple password validation and generation by simple and sharable rules.",
"name": "@mittwald/password-tools-js",
"bin": "./bin/cli.js",
"type": "module",
"files": [
"dist"
],
"exports": {
"./policy": {
"types": "./dist/Policy.d.ts",
"default": "./dist/Policy.js"
},
"./policy/loader": {
"types": "./dist/Loader.d.ts",
"default": "./dist/Loader.js"
},
"./rules": {
"types": "./dist/Rule.d.ts",
"default": "./dist/Rule.js"
},
"./generator": {
"types": "./dist/Generator.d.ts",
"default": "./dist/Generator.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"./policy": [
"./dist/Policy.d.ts"
],
"./policy/loader": [
"./dist/Loader.d.ts"
],
"./rules": [
"./dist/Rule.d.ts"
],
"./generator": [
"./dist/Generator.d.ts"
]
}
},
"scripts": {
"build": "run build:clean && yarn jsonSchema:generate && run build:compile",
"build:clean": "run rimraf dist",
"build:compile": "yarn build:compile:ci && yarn build:compile:lib",
"build:compile:ci": "yarn vite build --mode cli",
"build:compile:lib": "yarn vite build",
"format": "run prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx}'",
"license-check": "run license-checker-rseidelsohn $*",
"test": "run test:lint && run test:vitest && run test:licenses",
"test:vitest": "yarn vitest --run",
"test:licenses": "run license-check --unknown --failOn 'UNLICENSED;UNKNOWN'",
"test:lint": "run eslint 'src/**/*.{ts,tsx}' --cache",
"jsonSchema:generate": "typescript-json-schema tsconfig.json PolicyDeclaration --noExtraProps --required > src/policy/schema.json && prettier --write src/policy/schema.json"
},
"devDependencies": {
"@types/crypto-js": "^4.2.2",
"@types/debug": "^4.1.8",
"@types/js-sha1": "^0.6.0",
"@types/node": "^22.2.0",
"@types/verror": "^1.10.6",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitest/coverage-v8": "^1.6.0",
"crypto-js": "^4.2.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vitest": "^0.5.4",
"execa": "^9.2.0",
"glob": "^10.4.2",
"jsonpointer-cli": "^1.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"rollup-plugin-node-externals": "^7.1.2",
"typescript": "^5.5.2",
"vite": "^5.3.2",
"vite-plugin-chunk-split": "^0.5.0",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-node-polyfills": "^0.22.0",
"vitest": "^1.6.0"
},
"dependencies": {
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"@zxcvbn-ts/language-de": "^3.0.2",
"@zxcvbn-ts/language-en": "^3.0.2",
"ajv": "^8.12.0",
"axios": "^1.7.4",
"debug": "^4.3.5",
"fs-jetpack": "^5.1.0",
"js-sha1": "^0.7.0",
"json2yaml": "^1.1.0",
"license-checker-rseidelsohn": "^4.3.0",
"ora": "^5.4.1",
"pretty-error": "^4.0.0",
"typescript-json-schema": "^0.61.0",
"verror": "^1.10.1",
"yaml": "^2.3.2",
"yargs": "^17.7.2"
},
"packageManager": "[email protected]",
"resolutions": {
"ip": "2.0.1",
"tar": "6.2.1",
"semver": "7.5.2",
"jsonpointer": "5.0.0"
}
}