-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 2.03 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
{
"name": "events-api",
"version": "4.0.1",
"private": true,
"description": "Events API",
"main": "src/index.js",
"scripts": {
"dev": "micro-dev",
"start": "micro",
"lint": "npx xo",
"test": "npm run lint",
"build-docker": "docker build -t d2s/events-api:latest .",
"git-commit": "npx git-cz",
"update-changelog": "standard-changelog",
"release": "standard-version",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect",
"git-push-tags": "git push --follow-tags origin master",
"node-run": "node micro"
},
"env": {
"NODE_ENV": "production"
},
"xo": {
"extends": "prettier"
},
"keywords": [
"api"
],
"author": "Daniel Schildt <daniel.schildt@gmail.com>",
"license": "MIT",
"dependencies": {
"callbag-basics": "4.0.0",
"git-cz": "4.9.0",
"micro": "9.3.4",
"node-fetch": "2.6.7",
"snyk": "1.1064.0"
},
"devDependencies": {
"@commitlint/cli": "16.3.0",
"@commitlint/config-conventional": "16.2.4",
"commitizen": "4.3.0",
"cz-conventional-changelog": "3.3.0",
"eslint-config-prettier": "8.5.0",
"husky": "4.3.8",
"lint-staged": "11.2.6",
"micro-dev": "3.1.0",
"prettier": "2.8.3",
"standard-changelog": "2.0.27",
"standard-version": "9.3.2",
"xo": "0.39.1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{json,md}": [
"prettier --write",
"git add"
],
"*.css": [
"stylelint",
"prettier --write",
"git add"
],
"*.scss": [
"stylelint --syntax=scss",
"prettier --write",
"git add"
],
"*.{js}": [
"prettier --write",
"git add"
],
"*.{js,css,md}": "prettier --write"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"snyk": true
}