forked from erxes/erxes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.45 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
{
"name": "erxes",
"private": true,
"version": "1.0.1",
"workspaces": [
"packages/*"
],
"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": {
"@(widgets)/src/**/*.{ts,tsx,json,css}": [
"prettier --single-quote --write",
"git add"
],
"@(email-verifier)/src/**/*.ts": [
"prettier --single-quote --write",
"git add"
],
"packages/*/src/**/*.{ts,tsx,json,css}": [
"prettier --single-quote --write",
"git add"
]
},
"concurrent": false,
"subTaskConcurrency": 1
},
"scripts": {
"create-plugins-cis": "node scripts/create-plugins-cis",
"create-plugin": "node scripts/create-plugin",
"format": "prettier --single-quote --write '@(email-verifier)/src/**/*.ts' && prettier --single-quote --write '@(widgets)/src/**/*.@(ts|tsx|json|css)'",
"formatp": "func () { if [ -z \"$1\" ]; then prettier --single-quote --write '@(packages)/gateway/src/**/*.@(ts|tsx|json|css)'; else echo \"prettier --single-quote --write '@(packages)/${1}/src/**/*.@(ts|tsx|json|css)'\" && \"prettier --single-quote --write '@(packages)/${1}/src/**/*.@(ts|tsx|json|css)'\"; fi ;}; func",
"precommit": "lint-staged",
"lint": "func () { if [ -z \"$1\" ]; then tslint '@(email-verifier|widgets)/src/**/*.ts?(x)'; else echo \"${1}/src/**/*.ts?(x)\" && tslint ${1}'/src/**/*.ts?(x)'; fi ;}; func",
"lintp": "func () { if [ -z \"$1\" ]; then tslint 'packages/gateway/src/**/*.ts?(x)'; else echo \"packages/${1}/src/**/*.ts?(x)\" && tslint \"packages/${1}/src/**/*.ts?(x)\"; fi ;}; func",
"generateVersion": "node commands/generateVersion.js",
"release": "release-it",
"create-release-ci": "node scripts/create-release-ci"
},
"devDependencies": {
"@release-it/conventional-changelog": "1.1.0",
"@types/node": "^17.0.8",
"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": "^4.5.4"
},
"dependencies": {
"enquirer": "2.3.6",
"fs-extra": "^9.0.1",
"mongodb": "3.7.3"
}
}