forked from opensumi/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 5.81 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
{
"name": "@opensumi/ide",
"version": "2.14.4",
"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": "cd tools/electron && rimraf ./node_modules && npm i && npm run link-local && npm run rebuild-native && npm run build && npm run start",
"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",
"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:slient",
"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": "./node_modules/.bin/jest --forceExit",
"test:module": "cross-env NODE_OPTIONS=--max_old_space_size=5120 node -r ts-node/register ./scripts/module-jest",
"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",
"coverage": "npm run init && npm run test:cov",
"ci": "npm run lint -- --quiet && npm run coverage && npm run check:dep",
"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"
},
"dependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^7.1.2",
"canvas": "2.6.1",
"commitizen": "^4.2.4",
"commitlint": "^15.0.0",
"cz-conventional-changelog": "^2.1.0",
"execa": "^1.0.0",
"fs-extra": "^7.0.1",
"glob": "^7.1.4",
"husky": "^7.0.4",
"iconv-lite": "^0.6.3",
"lerna": "^4.0.0",
"lint-staged": "^12.1.2",
"lodash": "^4.17.11",
"node-gyp": "^8.3.0",
"ts-node": "8.0.2",
"typescript": "^4.4.2",
"webpack": "4.39.3"
},
"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": "git@github.com:opensumi/core.git"
},
"resolutions": {
"canvas": "2.6.1",
"y18n": "4.0.0",
"shelljs": "0.8.4",
"webpack": "4.39.3"
},
"devDependencies": {
"@types/classnames": "2.2.6",
"@types/execa": "^0.9.0",
"@types/fs-extra": "^5.1.0",
"@types/glob": "^7.1.1",
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.126",
"@types/md5": "^2.1.33",
"@types/node": "^10.14.6",
"@types/node-fetch": "^2.5.12",
"@types/react": "^16.9.20",
"@types/react-dom": "^16.9.5",
"@types/react-is": "^16.7.1",
"@types/read-pkg": "^5.1.0",
"@types/socket.io-client": "^1.4.32",
"@types/temp": "^0.9.1",
"@types/write-pkg": "^4.0.0",
"@types/ws": "^6.0.1",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"async-retry": "^1.3.1",
"await-event": "^2.1.0",
"chalk": "^3.0.0",
"cross-env": "^6.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": "^11.8.3",
"handlebars": "^4.7.3",
"is-git-clean": "^1.1.0",
"jest": "^27.5.1",
"jest-jasmine2": "^27.5.1",
"jsdom": "^16.7.0",
"jsdom-worker": "^0.2.1",
"mkdirp": "^0.5.1",
"node-fetch": "^2.6.1",
"offline-iconfont": "^1.1.0",
"parse-github-url": "^1.0.2",
"prettier": "^2.5.1",
"read-pkg": "^5.2.0",
"regenerator-runtime": "^0.13.3",
"rimraf": "^3.0.2",
"runscript": "^1.4.0",
"semver": "^6.3.0",
"simple-git": "^3.3.0",
"strip-html-comments": "^1.0.0",
"temp": "^0.9.4",
"text-encoding": "^0.7.0",
"ts-jest": "^27.0.3",
"uuid": "^8.3.2",
"write-pkg": "^4.0.0",
"yauzl": "^2.10.0"
}
}