2023-09-25 18:11:29 +08:00
|
|
|
{
|
2023-09-29 11:17:46 +08:00
|
|
|
"name": "tiny-engine",
|
|
|
|
"private": true,
|
2023-09-25 18:11:29 +08:00
|
|
|
"scripts": {
|
2023-09-29 11:17:46 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2023-11-14 19:35:30 +08:00
|
|
|
"dev": "pnpm run setup && concurrently 'pnpm:serve:backend' 'pnpm:serve:frontend'",
|
2023-09-29 11:17:46 +08:00
|
|
|
"dev:mock": "pnpm --filter @opentiny/tiny-engine dev",
|
|
|
|
"serve:frontend": "pnpm --filter @opentiny/tiny-engine serve",
|
|
|
|
"serve:backend": "pnpm --filter @opentiny/tiny-engine-mock dev",
|
|
|
|
"build:plugin": "pnpm --filter @opentiny/tiny-engine-* build",
|
|
|
|
"build:alpha": "pnpm --filter @opentiny/tiny-engine build:alpha",
|
|
|
|
"build:prod": "pnpm --filter @opentiny/tiny-engine build:prod",
|
2023-09-25 18:11:29 +08:00
|
|
|
"buildComponentSchemas": "node scripts/buildComponentSchemas.js",
|
2023-09-29 11:17:46 +08:00
|
|
|
"preview": "pnpm --filter @opentiny/tiny-engine preview",
|
2023-09-25 18:11:29 +08:00
|
|
|
"lint": "eslint . --ext .js,.vue,.jsx --fix",
|
|
|
|
"format": "prettier --write **/*{.vue,.js,.ts,.html,.json}",
|
2023-09-29 11:17:46 +08:00
|
|
|
"prepare": "node -e \"if(require('fs').existsSync('.git')){process.exit(1)}\" || husky install",
|
|
|
|
"pub:premajor": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version premajor --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
|
|
|
"pub:preminor": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version preminor --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
|
|
|
"pub:prepatch": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version prepatch --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
2023-11-14 19:35:30 +08:00
|
|
|
"pub:prerelease": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version prerelease --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
2023-12-29 16:21:16 +08:00
|
|
|
"setup": "node ./scripts/setup.js",
|
|
|
|
"splitMaterials": "node ./scripts/splitMaterials.mjs",
|
|
|
|
"buildMaterials": "node ./scripts/buildMaterials.mjs"
|
2023-09-25 18:11:29 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/eslint-parser": "^7.21.3",
|
|
|
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
|
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
|
|
"@types/node": "^18.0.0",
|
|
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
2024-03-21 20:01:24 +08:00
|
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
2023-09-25 18:11:29 +08:00
|
|
|
"assert": "^2.0.0",
|
|
|
|
"buffer": "^6.0.3",
|
2023-12-29 16:21:16 +08:00
|
|
|
"chokidar": "^3.5.3",
|
|
|
|
"concurrently": "^8.2.0",
|
2023-09-25 18:11:29 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2023-12-29 16:21:16 +08:00
|
|
|
"dotenv": "^16.3.1",
|
2023-09-25 18:11:29 +08:00
|
|
|
"eslint": "^8.38.0",
|
|
|
|
"eslint-plugin-vue": "^8.0.0",
|
2023-12-29 16:21:16 +08:00
|
|
|
"fast-glob": "^3.3.2",
|
2023-09-25 18:11:29 +08:00
|
|
|
"fs-extra": "^10.1.0",
|
|
|
|
"husky": "^8.0.0",
|
2023-09-29 11:17:46 +08:00
|
|
|
"lerna": "^7.2.0",
|
2023-09-25 18:11:29 +08:00
|
|
|
"less": "^4.1.2",
|
|
|
|
"lint-staged": "^13.2.0",
|
2023-12-29 16:21:16 +08:00
|
|
|
"mysql": "^2.18.1",
|
2023-09-25 18:11:29 +08:00
|
|
|
"path": "^0.12.7",
|
2023-12-29 16:21:16 +08:00
|
|
|
"picocolors": "^1.0.0",
|
2023-09-25 18:11:29 +08:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
|
|
"rollup-plugin-visualizer": "^5.8.3",
|
|
|
|
"svg-sprite-loader": "^6.0.11",
|
|
|
|
"vite": "^4.3.7",
|
|
|
|
"vite-plugin-monaco-editor": "^1.0.10",
|
|
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
|
|
"vue-eslint-parser": "^8.0.1"
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"last 2 versions",
|
|
|
|
"not dead"
|
2023-09-29 11:17:46 +08:00
|
|
|
],
|
|
|
|
"engines": {
|
|
|
|
"node": ">=14",
|
|
|
|
"pnpm": ">=7"
|
2024-02-26 14:15:31 +08:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"patchedDependencies": {
|
|
|
|
"@vue/repl@2.9.0": "patches/@vue__repl@2.9.0.patch"
|
|
|
|
}
|
2023-09-29 11:17:46 +08:00
|
|
|
}
|
2023-09-25 18:11:29 +08:00
|
|
|
}
|