-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 3.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
{
"name": "@ts-live/ts-previewer",
"version": "0.0.1",
"description": "基于 monaco-editor 的 typescript 编辑器,ui 层提供了 react 实现,可以实时编辑 react 代码并生成预览效果",
"main": "index.ts",
"keywords": [
"typescript",
"monaco-editor",
"typescript editor",
"react editor",
"live editor",
"dts-bundle"
],
"repository": {
"type": "git",
"url": "git+https://github.com/luyun210/ts-live.git"
},
"scripts": {
"build:clean": "rm -rf packages/*/dist",
"build": "npm run build:ts && npm run build-workers",
"build:ts": "gulp",
"publish:lerna": "lerna publish --exact --registry=https://registry.npmjs.org/",
"publish:all": "npm run build && npm run publish:lerna",
"workers:clean": "rm -rf ./packages/ts-editor/workers",
"build-workers": "npm run workers:clean && npm run build-json-worker && npm run build-css-worker && npm run build-html-worker && npm run build-ts-worker && npm run build-editor-worker",
"build-json-worker": "parcel build node_modules/monaco-editor/esm/vs/language/json/json.worker.js --no-source-maps --out-dir=./packages/ts-editor/workers",
"build-css-worker": "parcel build node_modules/monaco-editor/esm/vs/language/css/css.worker.js --no-source-maps --out-dir=./packages/ts-editor/workers",
"build-html-worker": "parcel build node_modules/monaco-editor/esm/vs/language/html/html.worker.js --no-source-maps --out-dir=./packages/ts-editor/workers",
"build-ts-worker": "parcel build node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js --no-source-maps --out-dir=./packages/ts-editor/workers",
"build-editor-worker": "parcel build node_modules/monaco-editor/esm/vs/editor/editor.worker.js --no-source-maps --out-dir=./packages/ts-editor/workers"
},
"author": "duanchuanxu",
"devDependencies": {
"@types/gulp-less": "0.0.31",
"@types/gulp-minify-css": "0.0.32",
"@types/gulp-rename": "0.0.33",
"gulp-less": "^4.0.1",
"gulp-minify-css": "^1.2.4",
"gulp-rename": "^2.0.0",
"lerna": "^3.16.4"
},
"dependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.1",
"@types/gulp": "^4.0.6",
"@types/gulp-babel": "^6.1.29",
"@types/gulp-typescript": "^2.13.0",
"@types/merge2": "^1.3.0",
"@types/minimist": "^1.2.0",
"@types/node": "^12.7.8",
"@types/react": "^16.9.25",
"@types/react-dom": "^16.9.5",
"css-loader": "^3.4.0",
"del": "^5.1.0",
"eslint": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"file-loader": "^5.0.2",
"gulp": "^4.0.0",
"gulp-babel": "^8.0.0",
"gulp-clean": "^0.4.0",
"gulp-cli": "^2.2.0",
"gulp-typescript": "^5.0.0-alpha.3",
"is-path-cwd": "^2.2.0",
"is-path-in-cwd": "^3.0.0",
"merge2": "^1.3.0",
"minimist": "^1.2.5",
"parcel": "^1.12.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"style-loader": "^1.1.1",
"ts-loader": "^6.2.1",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
},
"private": true,
"workspaces": [
"packages/*"
]
}