forked from erxes/erxes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.57 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
{
"name": "erxes",
"version": "0.20.8",
"description": "Free and open fair-code licensed all-in-one growth marketing & management software",
"homepage": "https://erxes.io",
"repository": "https://github.com/erxes/erxes",
"bugs": "https://github.com/erxes/erxes/issues",
"keywords": [
"node",
"graphql",
"apollo",
"react"
],
"license": "GNU General Public License v3.0 with Commons Clause",
"lint-staged": {
"linters": {
"@(ui|widgets)/src/**/*.{ts,tsx,json,css}": [
"prettier --single-quote --write",
"git add"
],
"@(api|integrations|email-verifier|engages-email-sender|logger)/src/**/*.ts": [
"prettier --single-quote --write",
"git add"
]
}
},
"scripts": {
"format": "prettier --single-quote --write '@(api|integrations|email-verifier|engages-email-sender|logger)/src/**/*.ts' && prettier --single-quote --write '@(ui|widgets)/src/**/*.@(ts|tsx|json|css)'",
"precommit": "lint-staged",
"lint": "func () { if [ -z \"$1\" ]; then tslint '@(api|integrations|email-verifier|engages-email-sender|logger|ui|widgets)/src/**/*.ts?(x)'; else echo \"${1}/src/**/*.ts?(x)\" && tslint ${1}'/src/**/*.ts?(x)'; fi ;}; func",
"generateVersion": "node commands/generateVersion.js",
"release": "release-it"
},
"devDependencies": {
"@release-it/conventional-changelog": "^1.1.0",
"husky": "^0.13.4",
"lint-staged": "^3.6.0",
"prettier": "^1.14.2",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "^3.0.3"
}
}