forked from opensumi/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 5.99 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
{
"name": "@opensumi/core",
"private": true,
"license": "MIT",
"scripts": {
"prepare": "husky install",
"clean": "rimraf ./packages/*/lib",
"check:dep": "ts-node ./scripts/depcheck",
"init:deps": "ts-node ./scripts/bootstrap",
"init": "npm run init:deps && npm run clean && npm run build:all",
"start": "node ./scripts/rebuild-native.js && cross-env HOST=127.0.0.1 WS_PATH=ws://127.0.0.1:8000 NODE_ENV=development ts-node ./scripts/start",
"start:remote": "node ./scripts/rebuild-native.js && 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 && npm 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": "npm run compile && echo 'use `compile` instead'",
"build:all": "npm run build && npm run build:worker-host && npm run build:ext-host && npm run build:components",
"compile": "cross-env NODE_ENV=production ts-node ./scripts/build",
"build:worker-host": "cd packages/extension && npm run compile:worker",
"build:ext-host": "cd packages/extension && npm run build:ext-host",
"watch:ext-host": "cd packages/extension && npm run watch:ext-host",
"watch:worker-host": "cd packages/extension && npm run watch:worker",
"watch": "npm run rebuild:node && cross-env NODE_ENV=production ts-node ./scripts/watch",
"publish": "npm run build:all && ts-node ./scripts/publish",
"publish:snapshot": "npm run publish -- --rollback --type=snapshot",
"publish:next": "npm run publish -- --rollback --type=next",
"publish:engine": "sh ./scripts/release-cli-engine.sh",
"update-version": "ts-node ./scripts/publish --versionOnly",
"update-disttag": "ts-node ./scripts/dist-tag",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"format": "npm run lint:fix && prettier \"**/*.{js,jsx,ts,tsx,html,css,less}\" --write",
"rebuild:node": "node ./scripts/rebuild-native.js",
"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",
"prepare:test": "npm run init:deps && npm run compile && npm run build:worker-host",
"test:cov": "cross-env NODE_OPTIONS=--max_old_space_size=32768 npm run test -- --coverage",
"ci": "npm run init && npm run lint -- --quiet && npm run check:dep && npm 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"
},
"engines": {
"node": ">=12 <=14"
},
"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",
"iconv-lite": "^0.6.3",
"lerna": "^4.0.0",
"lint-staged": "^12.1.2",
"lodash": "^4.17.15",
"node-gyp": "^9.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,html,css,less,json}": "prettier --write",
"*.{js,jsx,ts,tsx}": "eslint --fix --quiet"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"repository": {
"type": "git",
"url": "[email protected]:opensumi/core.git"
},
"devDependencies": {
"@types/classnames": "2.2.6",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.1.1",
"@types/jest": "^27.4.0",
"@types/jsdom": "^16.2.14",
"@types/lodash": "^4.14.182",
"@types/node": "^10.14.6",
"@types/node-fetch": "^2.6.1",
"@types/react": "^16.9.33",
"@types/react-dom": "^16.9.5",
"@types/react-is": "^16.7.1",
"@types/socket.io-client": "^1.4.32",
"@types/temp": "^0.9.1",
"@types/ws": "^6.0.1",
"@types/yargs": "^17.0.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",
"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",
"git-rev-sync": "^3.0.1",
"got": "^12.1.0",
"handlebars": "^4.7.3",
"is-git-clean": "^1.1.0",
"jest": "^28.0.3",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^28.0.2",
"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",
"offline-iconfont": "^1.1.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"semver": "^6.3.0",
"simple-git": "^3.3.0",
"temp": "^0.9.4",
"ts-jest": "^28.0.0",
"ts-node": "^10.0.0",
"tslib": "^2.4.0",
"typescript": "4.6.4",
"webpack": "^4.39.3",
"yargs": "^17.5.0",
"compressing": "^1.6.2"
}
}