forked from apitable/apitable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 5.93 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "root",
"version": "0.20.0",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"sc": "yarn start:core",
"sd": "yarn start:datasheet",
"sd:private": "REACT_APP_DEPLOYMENT_MODELS=PRIVATE yarn dev:datasheet",
"sr": "yarn start:room-server",
"sss": "yarn start:components",
"start:core": "yarn workspace @apitable/core start",
"start:i18n": "yarn workspace @apitable/i18n-lang start",
"start:datasheet": "yarn workspace @apitable/datasheet dev",
"start:widget-sdk": "yarn workspace @apitable/widget-sdk start",
"start:room-server": "yarn workspace @apitable/room-server start:dev",
"start:room-server:perf:flame": "yarn workspace @apitable/room-server start:room:perf:flame",
"start:socket-server": "yarn workspace @apitable/room-server start:socket:dev",
"start:components": "yarn workspace @apitable/components start",
"build:core": "yarn workspace @apitable/core build",
"build:i18n": "yarn workspace @apitable/i18n-lang build",
"build:room-native-api": "yarn workspace @apitable/room-native-api build",
"build:room-native-api:arm64": "yarn workspace @apitable/room-native-api build:arm64",
"build:datasheet": "yarn workspace @apitable/datasheet build",
"build:widget-sdk": "yarn workspace @apitable/widget-sdk build",
"build:room-server": "yarn workspace @apitable/room-server build",
"build:sr": "yarn workspaces foreach --include '?(@apitable/i18n-lang|@apitable/core|@apitable/room-native-api|@apitable/room-server)' -pt -j 8 run build",
"build:icons": "yarn workspace @apitable/icons build",
"build:components": "yarn workspace @apitable/components build",
"build:components:doc": "yarn workspace @apitable/components build-storybook",
"build:components:sg": "yarn workspace @apitable/components build:sg",
"build:pre": "yarn workspaces foreach --include '?(@apitable/i18n-lang|@apitable/core|@apitable/icons|@apitable/components|@apitable/widget-sdk|@apitable/room-native-api)' -pt -j 8 run build",
"build:dst:pre": "yarn workspaces foreach --include '?(@apitable/i18n-lang|@apitable/core|@apitable/icons|@apitable/components|@apitable/widget-sdk)' -pt -j 8 run build",
"build:dst": "yarn workspaces foreach --include '?(@apitable/i18n-lang|@apitable/core|@apitable/icons|@apitable/components|@apitable/widget-sdk|@apitable/datasheet)' -pt -j 8 run build",
"build:dst:private": "REACT_APP_DEPLOYMENT_MODELS=PRIVATE PUBLIC_URL=/build yarn build:dst && rm packages/datasheet/build/static/**/*.map",
"start:prod:room-server": "yarn workspace @apitable/room-server start:prod",
"pm2:nest": "pm2-runtime start packages/room-server/ecosystem.config.js",
"test:core": "yarn workspace @apitable/core test",
"test:core:cov": "yarn workspace @apitable/core test:cov",
"test:widget-sdk": "yarn workspace @apitable/widget-sdk test",
"test:datasheet": "yarn workspace @apitable/datasheet test",
"test:nest": "yarn workspace @apitable/room-server test",
"test:ut:room": "yarn workspace @apitable/room-native-api test:ut && yarn workspace @apitable/room-server test:ut",
"test:ut:room:cov": "yarn workspace @apitable/room-native-api test:ut:cov && yarn workspace @apitable/room-server test:ut:cov",
"clear:cache": "rm -rf ./package/datasheet/node_modules/.cache/hard-source",
"link:widget": "yarn workspace @apitable/core link && yarn workspace @apitable/widget-sdk link && yarn workspace @apitable/components link && yarn workspace @apitable/icons",
"postinstall": "cd .. && husky install apitable/.husky",
"stylelint:datasheet": "yarn workspace @apitable/datasheet stylelint",
"lint": "eslint --config .eslintrc --ext packages/*/src/**/*.{js,ts,tsx} --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif",
"cy:open": "yarn workspace @apitable/cypress cy:open",
"cy:run": "yarn workspace @apitable/cypress cy:run",
"lint:fix": "eslint --config .eslintrc --fix --ext packages/*/src/**/*.{js,ts,tsx} --format @microsoft/eslint-formatter-sarif",
"lint:check": "eslint --config .eslintrc --ext packages/*/src/**/*.{js,ts,tsx}"
},
"lint-staged": {
"packages/datasheet/src/**/*.{css,less,scss}": "yarn stylelint:datasheet",
"packages/*/(src|pages)/**/!(*system_config.interface|strings.interface).{ts,tsx}": "eslint --fix --no-cache"
},
"eslintConfig": {
"extends": "react-app"
},
"engines": {
"node": "16.15.0"
},
"devDependencies": {
"@babel/core": "7.11.6",
"@commitlint/cli": "8.1.0",
"@commitlint/config-conventional": "8.1.0",
"@microsoft/eslint-formatter-sarif": "^3.0.0",
"@types/dot-object": "^2.1.2",
"@types/lru-cache": "^5.1.0",
"@types/node": "12.7.3",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"apitable": "latest",
"babel-eslint": "10.1.0",
"chalk": "^4.0.0",
"concurrently": "^7.2.2",
"dot-object": "^2.1.2",
"dotenv": "6.2.0",
"dotenv-expand": "4.2.0",
"eslint": "^7.21.0",
"eslint-config-react-app": "5.2.1",
"eslint-loader": "4.0.2",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-vika": "0.0.1",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"lodash": "^4.17.21",
"pretty-quick": "^3.1.3",
"quicktype": "^15.0.212",
"svgo": "^2.3.0",
"ts-node": "^8.6.2",
"ts-pnp": "1.1.2",
"typescript": "^4.8.2"
},
"resolutions": {
"webpack": "4.44.2"
},
"bin": "packages/room-server/dist/main.js",
"pkg": {
"scripts": [
"packages/room-server/dist/**/*.js"
],
"assets": [
"node_modules/bull/lib/commands/**/*",
"node_modules/@nestjs",
"node_modules/lodash",
"packages/room-server/**/*.proto",
"packages/room-server/**/*.lua",
"packages/room-server/**/*.yaml"
]
},
"packageManager": "[email protected]"
}