forked from opensumi/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
152 lines (152 loc) · 6.19 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@opensumi/core",
"private": true,
"license": "MIT",
"scripts": {
"preinstall": "node scripts/preinstall.js && husky install",
"clean": "rimraf \"./packages/*/lib\"",
"check:dep": "ts-node ./scripts/depcheck",
"init": "yarn run clean && yarn run build:all",
"start": "yarn run rebuild:node && cross-env HOST=127.0.0.1 WS_PATH=ws://127.0.0.1:8000 NODE_ENV=development ts-node ./scripts/start",
"start:remote": "yarn run rebuild:node && cross-env NODE_ENV=development ts-node ./scripts/start",
"start:electron": "cross-env NODE_ENV=development ts-node ./scripts/start-electron",
"build:components": "cd packages/components && yarn run build:dist",
"start:lite": "cross-env NODE_ENV=development ts-node ./scripts/start --script=start:lite",
"bundle:lite": "ts-node ./scripts/start --script=bundle:lite",
"start:pty-service": "KTLOG_SHOW_DEBUG=1 npx ts-node packages/terminal-next/src/node/pty.proxy.remote.exec.ts",
"create": "ts-node ./scripts/create",
"add:node": "ts-node ./scripts/add-node",
"add:browser": "ts-node ./scripts/add-browser",
"build": "yarn run compile && echo 'use `compile` instead'",
"build:all": "yarn run build && yarn run build:worker-host && yarn run build:ext-host && yarn run build:components",
"compile": "cross-env NODE_ENV=production ts-node ./scripts/build",
"build:worker-host": "cd packages/extension && yarn run compile:worker",
"build:ext-host": "cd packages/extension && yarn run build:ext-host",
"build:cli-engine": "cd tools/cli-engine && yarn run build",
"watch:ext-host": "cd packages/extension && yarn run watch:ext-host",
"watch:worker-host": "cd packages/extension && yarn run watch:worker",
"watch": "yarn run rebuild:node && cross-env NODE_ENV=production ts-node ./scripts/watch",
"publish": "yarn run build:all && ts-node ./scripts/publish",
"publish:snapshot": "yarn run publish --rollback --type=snapshot",
"publish:next": "yarn run publish --rollback --type=next",
"update-version": "ts-node ./scripts/publish --versionOnly",
"update-disttag": "ts-node ./scripts/dist-tag",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "yarn run lint --fix",
"format": "yarn run lint:fix && prettier \"**/*.{js,jsx,ts,tsx,html,css,less}\" --write",
"rebuild:node": "sumi rebuild",
"test:module": "cross-env NODE_OPTIONS=--max_old_space_size=5120 node -r ts-node/register ./scripts/module-jest",
"test:ui": "node -r ts-node/register ./scripts/run-ui-tests",
"test:ui-ci": "node -r ts-node/register ./scripts/run-ui-tests --ci=true",
"test:ui-headful": "node -r ts-node/register ./scripts/run-ui-tests --headful=true",
"test:ui-report": "node -r ts-node/register ./scripts/run-ui-tests --report=true",
"test": "jest --forceExit --detectOpenHandles",
"prepare:test": "yarn && yarn run compile && yarn run build:worker-host",
"test:cov": "cross-env NODE_OPTIONS=--max_old_space_size=32768 yarn run test --coverage",
"ci": "yarn run init && yarn run lint --quiet && yarn run check:dep && yarn run test:cov",
"download-extension": "cross-env DEBUG=InstallExtension node scripts/download.js",
"update:iconfont": "ts-node ./scripts/download-iconfont.ts",
"changelog-old": "node scripts/changelog/index.js",
"changelog": "ts-node -P scripts/tsconfig.scripts.json scripts/changelog/index.ts",
"iteration": "ts-node -P scripts/tsconfig.scripts.json scripts/iteration-plan.ts",
"manifest": "ts-node ./scripts/generate-manifest-json"
},
"dependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^7.1.2",
"commitizen": "^4.2.4",
"commitlint": "^15.0.0",
"cz-conventional-changelog": "^2.1.0",
"execa": "^5.0.0",
"fs-extra": "^10.1.0",
"glob": "^8.0.1",
"husky": "^7.0.4",
"lerna": "^8.0.2",
"lint-staged": "^12.1.2",
"lodash": "^4.17.21",
"mri": "^1.2.0",
"node-gyp": "^9.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,html,css,less,json,yml}": "prettier --write",
"*.{js,jsx,ts,tsx}": "eslint --fix --quiet"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "[email protected]:opensumi/core.git"
},
"devDependencies": {
"@opensumi/ide-dev-tool": "workspace:*",
"@types/debug": "^4.1.5",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.1.1",
"@types/jest": "^29.5.6",
"@types/jsdom": "^16.2.14",
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.8",
"@types/node-fetch": "^2.6.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-is": "^16.7.1",
"@types/socket.io-client": "^1.4.32",
"@types/temp": "^0.9.1",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"async-retry": "^1.3.1",
"await-event": "^2.1.0",
"chalk": "^4.1.2",
"compressing": "^1.10.0",
"cross-env": "^7.0.3",
"debug": "^4.3.2",
"depcheck": "^1.4.2",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-unused-imports": "^2.0.0",
"git-rev-sync": "^3.0.1",
"got": "^12.1.0",
"handlebars": "^4.7.3",
"is-git-clean": "^1.1.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "29.7.0",
"jest-fetch-mock": "^3.0.3",
"jest-jasmine2": "^28.0.3",
"jsdom": "^20.0.0",
"jsdom-worker": "^0.2.1",
"node-fetch": "^2.6.7",
"node-polyfill-webpack-plugin": "^3.0.0",
"offline-iconfont": "^1.2.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"semver": "^7.5.2",
"simple-git": "^3.3.0",
"temp": "^0.9.4",
"ts-jest": "^29.1.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "4.9.3",
"webpack": "^5.90.0"
},
"workspaces": [
"packages/*",
"tools/dev-tool",
"tools/playwright",
"tools/cli-engine"
],
"resolutions": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"classnames": "2.3.1",
"node-gyp": "9.3.1"
},
"packageManager": "[email protected]"
}