generated from 47ng/typescript-library-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
120 lines (120 loc) · 2.79 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
{
"name": "@chiffre/push",
"version": "0.0.0-semantically-released",
"description": "Shared types for push.chiffre.io",
"main": "dist/exports.js",
"types": "dist/exports.d.ts",
"license": "MIT",
"author": {
"name": "François Best",
"email": "francois.best@chiffre.io",
"url": "https://chiffre.io"
},
"repository": {
"type": "git",
"url": "https://github.com/chiffre-io/push"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "nodemon -e ts,.env -w .env -w ./src ./src/main.ts",
"clean": "rm -rf lib dist coverage",
"build:ts": "tsc",
"logs": "clever logs | cut -c 27- | pino-colada",
"build:exports": "cp -f ./lib/exports.js ./dist/exports.js",
"build": "run-s clean build:ts build:exports",
"ci": "run-s build e2e:test",
"e2e:setup": "./tests/docker-start.sh",
"e2e:teardown": "./tests/docker-stop.sh",
"e2e:run": "jest e2e --runInBand --coverage --colors",
"e2e:test": "run-s e2e:setup e2e:run e2e:teardown"
},
"engines": {
"node": ">=14.x"
},
"dependencies": {
"@47ng/check-env": "^2.0.1",
"@chiffre/analytics-core": "^2.0.0",
"@chiffre/crypto-box": "^1.0.1",
"dayjs": "^1.9.4",
"dotenv": "^8.2.0",
"env-alias": "^1.0.1",
"fastify-micro": "^2.0.0",
"fastify-rate-limit": "^5.0.1",
"fastify-static": "^3.3.0",
"ioredis": "^4.19.0",
"node-statsd": "^0.1.1"
},
"devDependencies": {
"@commitlint/config-conventional": "^11.0.0",
"@types/ioredis": "^4.17.6",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.2",
"@types/node-statsd": "^0.1.2",
"autocannon": "^7.0.0",
"axios": "^0.21.0",
"commitlint": "^11.0.0",
"husky": "4.x",
"jest": "^26.6.1",
"nodemon": "^2.0.6",
"npm-run-all": "^4.1.5",
"pino-colada": "^2.1.0",
"ts-jest": "^26.4.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testEnvironment": "node",
"verbose": true
},
"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
]
}
}
}