-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
45 lines (45 loc) · 1.36 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
{
"name": "string-entropy",
"version": "0.0.4",
"description": "Calculate the information entropy of a string",
"main": "./dist/cjs/index.cjs",
"type": "module",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"scripts": {
"fix": "prettier -w src",
"test": "npm run test:style && npm run test:unit",
"test:unit": "node dist/esm/index.test.js",
"test:style": "prettier -c src",
"prepare": "npm run build && npm run prepare:demo",
"prepare:demo": "cp -r dist demo/",
"demo": "serve demo",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc && cp dist/cjs/index.js dist/cjs/index.cjs"
},
"repository": {
"type": "git",
"url": "git://github.com/mvhenten/string-entropy.git"
},
"keywords": [
"string",
"entropy",
"password",
"encryption"
],
"author": "Matthijs van Henten",
"license": "MIT",
"bugs": {
"url": "https://github.com/mvhenten/string-entropy/issues"
},
"homepage": "https://github.com/mvhenten/string-entropy",
"devDependencies": {
"@types/node": "^20.12.11",
"prettier": "^3.2.5",
"serve": "^14.2.3",
"typescript": "^5.4.5"
}
}