-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
84 lines (84 loc) · 2.16 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
{
"name": "serverless-jwt",
"private": true,
"version": "0.1.0",
"description": "JWT validation for Serverless environments",
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna run clean",
"build": "lerna run build",
"lerna:publish": "lerna publish",
"lerna:version": "lerna version from-git",
"lerna:npm": "lerna exec -- \"npm publish || exit 0\"",
"release": "npm run build && npm run lerna:version && npm run lerna:publish",
"test": "npm run lint && npm run jest",
"test:watch": "npm run lint && npm run jest:watch",
"lint": "lint-staged",
"jest": "jest --runInBand --coverage",
"jest:watch": "jest --runInBand --coverage --watch"
},
"author": "Sandrino Di Mattia",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@types/jest": "26.0.5",
"@types/node": "14.0.24",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"eslint": "^7.5.0",
"eslint-config-airbnb-typescript": "9.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-import-resolver-typescript": "2.0.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jest": "23.18.0",
"eslint-plugin-prettier": "3.1.4",
"husky": "4.2.5",
"jest": "26.1.0",
"lerna": "^3.22.1",
"lint-staged": "10.2.11",
"prettier": "2.0.5",
"ts-jest": "26.1.3",
"typescript": "^3.9.7"
},
"husky": {
"skipCI": false,
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"collectCoverage": true,
"collectCoverageFrom": [
"packages/*/src/*.ts"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testEnvironment": "node"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{js,jsx,json,yml,md}": [
"prettier --write"
]
},
"workspaces": [
"packages/*",
"example"
]
}