1 Star 0 Fork 43

用户6560642193 / tmagic-editor

forked from Tencent / tmagic-editor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.60 KB
一键复制 编辑 原始数据 按行查看 历史
roymondchen 提交于 2022-04-26 21:00 . build: npm script 兼容windows
{
"version": "1.0.0-beta.1",
"name": "tmagic",
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap && npm run prepare",
"clean:lock": "rimraf package-lock.json **/package-lock.json **/**/package-lock.json",
"clean:top": "rimraf */**/dist */dist coverage dwt*",
"clean:modules": "rimraf node_modules **/node_modules **/**/node_modules",
"clean:all": "npm run clean:top && npm run clean:modules",
"lint": "eslint . --ext .js,.vue,.ts,.tsx",
"lint-fix": "eslint . --fix --ext .vue,.js,.ts,.tsx",
"playground": "lerna run dev --scope tmagic-playground --scope runtime-vue3 --parallel",
"build": "lerna run build --scope tmagic-playground --scope runtime-vue3 --scope runtime-vue2 --scope runtime-react --scope @tmagic/* --parallel",
"postbuild": "shx mkdir playground/dist/runtime && shx cp -r runtime/vue2/dist ./playground/dist/runtime/vue2 && shx cp -r runtime/vue3/dist ./playground/dist/runtime/vue3 && cp -r runtime/react/dist ./playground/dist/runtime/react",
"docs": "cd docs && npm run doc:dev",
"page": "cd page && vite",
"page-vue2": "cd page-vue2 && vite",
"page-react": "cd page-react && vite",
"reinstall": "npm run clean:all && npm run bootstrap",
"test": "lerna run test --scope @tmagic/* --parallel",
"test:coverage": "lerna run test:coverage --scope @tmagic/* --parallel",
"prepare": "husky install",
"commit": "git-cz"
},
"engines": {
"node": ">=14"
},
"workspaces": [
"packages/code-editor",
"packages/editor",
"packages/form",
"packages/stage",
"packages/utils"
],
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"devDependencies": {
"@babel/preset-env": "^7.14.2",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@vue/cli-plugin-babel": "^5.0.4",
"babel-eslint": "^10.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.29.0",
"eslint-config-tencent": "^1.0.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-vue": "^7.11.1",
"husky": "^7.0.0",
"lerna": "^4.0.0",
"lint-staged": "^11.0.1",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"shx": "^0.3.4",
"typescript": "^4.3.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --fix",
"*.scss": "prettier --write"
}
}
1
https://gitee.com/flynosky/tmagic-editor.git
git@gitee.com:flynosky/tmagic-editor.git
flynosky
tmagic-editor
tmagic-editor
master

搜索帮助