forked from erxes/erxes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.31 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
{
"name": "erxes",
"private": true,
"version": "1.6.0-rc.0",
"workspaces": [
"packages/*",
"scripts"
],
"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",
"release": "release-it",
"create-release-ci": "node scripts/create-release-ci"
},
"devDependencies": {
"@release-it/conventional-changelog": "1.1.0",
"@types/node": "18.17.1",
"husky": "^0.13.4",
"lint-staged": "^3.6.0",
"prettier": "^3.1.1",
"typescript": "4.9.5",
"//": "UI development dependencies, since sibling devDependencies are not being installed we moved them from packages/erxes-ui/package.json to here",
"@babel/core": "^7.15.8",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.10.4",
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-resolvers": "^4.0.1",
"@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
"@module-federation/fmr": "^0.0.7",
"@types/react": "^16.4.13",
"@types/react-dom": "^16.0.7",
"@types/react-router-dom": "^5.1.3",
"@types/styled-components": "^3.0.0",
"autoprefixer": "^10.1.0",
"babel-loader": "^8.2.2",
"css-loader": "^6.3.0",
"html-webpack-plugin": "^5.3.2",
"interpolate-html-plugin": "^4.0.0",
"json-loader": "^0.5.7",
"path-browserify": "^1.0.1",
"postcss": "^8.2.1",
"postcss-loader": "^4.1.0",
"style-loader": "^3.3.0",
"terser-webpack-plugin": "^5.3.1",
"timers-browserify": "^2.0.12",
"util": "^0.12.4",
"watch-sync": "^0.3.1",
"webpack": "^5.57.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.0",
"webpack-dev-server": "^4.3.1",
"process": "0.11.10"
},
"dependencies": {
"//": "Only put dependencies that are required by all packages here!!!"
}
}