加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 5.93 KB
一键复制 编辑 原始数据 按行查看 历史
Troy(FengJun) 提交于 2023-04-10 15:59 . sync: hosted cloud (#689)
{
"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": "yarn@3.4.1"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化