generated from 47ng/typescript-library-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
121 lines (121 loc) · 2.66 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
117
118
119
120
121
{
"name": "@47ng/cloak",
"version": "0.0.0-semantically-released",
"description": "Serialized AES-GCM 256 encryption, decryption and key management in the browser & Node.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"cloak": "./dist/cli.js"
},
"license": "MIT",
"author": {
"name": "François Best",
"email": "contact@francoisbest.com",
"url": "https://francoisbest.com"
},
"repository": {
"type": "git",
"url": "https://github.com/47ng/cloak"
},
"keywords": [
"cryptography",
"aes-256-gcm"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "jest --coverage",
"test:watch": "jest --watch",
"test:browser": "parcel ./test/index.html",
"link:cli": "chmod +x ./dist/cli.js && ln -s $(pwd)/dist/cli.js ./node_modules/.bin/cloak",
"build:clean": "rm -rf ./dist && rm -f ./node_modules/.bin/cloak",
"build:ts": "tsc",
"build": "run-s build:clean build:ts",
"ci": "run-s build test",
"prepare": "husky install"
},
"dependencies": {
"@47ng/codec": "^1.0.1",
"@stablelib/base64": "^1.0.1",
"@stablelib/hex": "^1.0.1",
"@stablelib/utf8": "^1.0.1",
"chalk": "^4.1.2",
"commander": "^8.3.0",
"dotenv": "^10.0.0",
"s-ago": "^2.2.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^15.0.0",
"@types/jest": "^27.0.3",
"@types/node": "^16.11.10",
"commitlint": "^15.0.0",
"husky": "7.x",
"jest": "^27.3.1",
"jest-extended": "^1.1.0",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.5",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"jest": {
"verbose": true,
"preset": "ts-jest/presets/js-with-ts",
"roots": [
"<rootDir>/src"
],
"setupFilesAfterEnv": [
"jest-extended/all"
],
"testEnvironment": "node"
},
"prettier": {
"arrowParens": "avoid",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"clean",
"doc",
"feat",
"fix",
"perf",
"ref",
"revert",
"style",
"test"
]
],
"subject-case": [
0,
"always",
"sentence-case"
],
"body-leading-blank": [
2,
"always",
true
]
}
}
}